[R-pkg-devel] How to declare Bioconductor Dependencies in the Description File of my R Package
Ruff, Sergej
Sergej@Ru|| @end|ng |rom t|ho-h@nnover@de
Thu Mar 16 18:01:55 CET 2023
thank you.
I see you added biocView: below your suggested Dependencies. Is it necessary for CRAN to identify Bioconductor Dependencies and if so, should I add it below or above the suggested packages? Do I also need BiocManager among my Suggests?
Last question: How does CRAN work with Bioconductor Dependencies? Will CRAN accept limma as a dependency or will my submission be rejected?
Best regards,
Sergej
________________________________
Von: Tiago Olivoto <tiagoolivoto using gmail.com>
Gesendet: Donnerstag, 16. M�rz 2023 17:36:47
An: Ruff, Sergej
Cc: r-package-devel using r-project.org
Betreff: Re: [R-pkg-devel] How to declare Bioconductor Dependencies in the Description File of my R Package
Hi,
My package pliman depends on EBImage which is in Bioconductor. I have created a function check_ebi() <https://github.com/TiagoOlivoto/pliman/blob/e6efc4b6a2396600939e308c235aeb9ab47af375/R/utilities.R#L534> that is called in .onAttach() <https://github.com/TiagoOlivoto/pliman/blob/master/R/zzz.R#L36> and checks if EBImage is installed. If not, the function asks the user to install it. Both EBImage and BiocManager are listed as suggests <https://github.com/TiagoOlivoto/pliman/blob/master/DESCRIPTION#L22>
I believe that this could be a possible solution
Best regards,
Olivoto
Em qui., 16 de mar. de 2023 �s 11:18, Ruff, Sergej <Sergej.Ruff using tiho-hannover.de<mailto:Sergej.Ruff using tiho-hannover.de>> escreveu:
I am currently building a package which uses the "limma"-package as a dependency.
I want to submit my package to CRAN.
Do I need to declare Bioconductor-dependencies such as Limma differently in the Description-File of my Package?
The Check-Function in R shows no Notes, Warnings or Errors, but I am not sure if that means that limma will install when installing my package from CRAN.
Currently I am declaring limma like this:
Suggests:
limma
Can CRAN identify that limma is a Bioconductor-Package and will it Limma install, when installing my package from CRAN?
[[alternative HTML version deleted]]
______________________________________________
R-package-devel using r-project.org<mailto:R-package-devel using r-project.org> mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list