Re: [Rd] CRAN build/checks: Dependencies on non-CRAN packages?

From: Henrik Bengtsson <>
Date: Mon, 08 Jun 2009 00:23:48 -0700

On Sun, Jun 7, 2009 at 11:49 PM, Kurt Hornik<> wrote:
>>>>>> Henrik Bengtsson writes:
>> Hi,
>> how is the CRAN build/check system dealing with dependencies on
>> non-CRAN packages?  Are there external repositories that are dealt
>> with in special ways, e.g. Bioconductor and Omegahat?  Is this
>> documented somewhere?
>> The most recent note on this that I could locate is "[Rd] CRAN,
>> Bioconductor and ctv package dependency questions", Kurt Hornik, Sept
>> 8, 2005;
>> Does the comments in that thread still reflect how CRAN works?
> Not quite.  No more special casing of BioC or Ohat dependencies: they
> simply "work", and packages with such dependencies can fully be checked.

Hmm... so you're saying R CMD check pass ("work") although a package is missing? If so, what about example/test code where that external package is loaded? ...or even harder, where a function of that external package is called, e.g.

require("externalPkg") || stop(...);
res <- externalPkg::specialFcn(...);

This is not a constructed example; I do have some example():s].



> -k
>> Thanks
>> Henrik
>> ______________________________________________
>> mailing list
> mailing list Received on Mon 08 Jun 2009 - 07:35:56 GMT

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 Mon 08 Jun 2009 - 08:35:38 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive