Skip to content
Prev 10582 / 12125 Next

[R-pkg-devel] CRAN packages dependency on bioconductor packages

Hi Junhui,

There is a separate log for checking if your package works without
suggested packages: in the StepReg results
The noSuggests title leads to:
https://www.stats.ox.ac.uk/pub/bdr/noSuggests/StepReg.out
Where you can see that it fails if a user don't have BiocStyle installed.
I don't know if it is possible to use a vignette output conditionally with
knitr: In any case it seems that it would be a requirement (Imports, or
Depends).

However, it is best to not use the Bioconductor style for a package in
CRAN.
You could use the *_vignette or *_document format directly (from rmarkdown
if I recall correctly).
You will remove a dependency and avoid this problem entirely.

Best,

Llu?s
On Tue, 14 May 2024 at 22:48, Li, Junhui <Junhui.Li11 at umassmed.edu> wrote:

            

  
  
Message-ID: <CAN+W6_unUqSKnyLbGjznx0MCJy52rjjBJEdj8ubDDeN7TRwkdw@mail.gmail.com>
In-Reply-To: <PH0PR10MB5612E8CF3DAE5ADB26034B799BE32@PH0PR10MB5612.namprd10.prod.outlook.com>