Re: [Rd] How to list package dependency on a Bioconductor package?

From: Steven Lund <lunds_at_iastate.edu>
Date: Mon, 07 May 2012 13:24:28 -0400

I recently submit a package called QuasiSeq. The package source and Windows binary worked fine, but the MacOS X binary failed. The bottom of the CRAN page for QuasiSeq shows

Downloads:

  Package source:     QuasiSeq_1.0-1.tar.gz
  MacOS X binary:     not available, see check log.
  Windows binary:     QuasiSeq-1.0-1.zip
  Reference manual: QuasiSeq.pdf

The log for the MacOS X binary shows

           See the information on DESCRIPTION files in the chapter 'Creating R

           packages' of the 'Writing R Extensions' manual.

Is there a simple remedy to the problems caused by the dependency on edgeR, or would you advise that I put a work-around into my source code using 'require' so I can list edgeR under Suggests instead of Depends or Includes?

Thank you for your time!

-Steve

On Tue, Jan 3, 2012 at 7:42 AM, Uwe Ligges <ligges_at_statistik.tu-dortmund.de>wrote:

>
>
> 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<https://stat.ethz.ch/mailman/listinfo/r-devel>
>>
>

        [[alternative HTML version deleted]]



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 08 May 2012 - 11:14:27 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 08 May 2012 - 16:00:56 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive