Steven Lund
2012-Jan-02 23:16 UTC
[Rd] How to list package dependency on a Bioconductor package?
I know others have asked similar questions to the R developers, but I could not find the solution to this question. Please forgive me if I have missed a crucial point in a previous post. I would like to submit a package to CRAN that depends on the bioconductor package "edgeR". Listing "edgeR" under the Depends or Imports lines in the DESCRIPTION file for my package causes an error when running the `R CMD check' command on my package's 'tar.gz' file: * checking package dependencies ... ERROR Package required but not available: ?edgeR? Is there documentation or an example anywhere of how to handle dependencies on Bioconductor packages when creating a package for CRAN? Thank you! -Steve
Uwe Ligges
2012-Jan-03 12:42 UTC
[Rd] How to list package dependency on a Bioconductor package?
On 03.01.2012 00:16, Steven Lund wrote:> I know others have asked similar questions to the R developers, but I > could not find the solution to this question. Please forgive me if I > have missed a crucial point in a previous post. > > I would like to submit a package to CRAN that depends on the > bioconductor package "edgeR". Listing "edgeR" under the Depends or > Imports lines in the DESCRIPTION file for my package causes an error > when running the `R CMD check' command on my package's 'tar.gz' file: > > * checking package dependencies ... ERROR > Package required but not available: ?edgeR? > > Is there documentation or an example anywhere of how to handle > dependencies on Bioconductor packages when creating a package for > CRAN?Same as for CRAN packages. The CRAN check farm will automatically install the dependency from BioConductor if available for the corresponding platform / R version. Uwe Ligges> > Thank you! > > -Steve > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel