From ligges at statistik.tu-dortmund.de  Tue Jan  3 13:42:39 2012
From: ligges at statistik.tu-dortmund.de (Uwe Ligges)
Date: Tue, 3 Jan 2012 13:42:39 +0100
Subject: [Rd] How to list package dependency on a Bioconductor package?
In-Reply-To: <CAMe5z5nqAOk7hWXZ8ePs8XsPv=cSk8zO1vrm3doDZA4k+buhFQ@mail.gmail.com>
References: <CAMe5z5nqAOk7hWXZ8ePs8XsPv=cSk8zO1vrm3doDZA4k+buhFQ@mail.gmail.com>
Message-ID: <4F02F7BF.4040606@statistik.tu-dortmund.de>



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



[Rd] How to list package dependency on a Bioconductor package?
Uwe Ligges