Re: [Rd] Conditional "Suggests"

From: Friedrich Leisch <>
Date: Tue, 12 Apr 2011 10:48:55 +0200

>>>>> On Mon, 11 Apr 2011 13:30:24 -0700, >>>>> Geoff Jentry (GJ) wrote:

> On Mon, 11 Apr 2011, Hadley Wickham wrote:

  >>> To me this reads as being in the wheelhouse of what 'Suggests' is supposed
  >>> to imply, as per the R Extensions manual.  The problem here is that if PkgB
  >>> is put down as 'Suggests', it is required for R CMD check to pass which
  >>> seems to defeat the purpose of this exercise a bit.
  >> No, because R CMD check is only run by the developer, not the user.

> It's not only run by the developer, it's also run by CRAN. The situation
> might happen where for a particular platform (e.g. Windows) that PkgB
> doesn't exist. It'd be nice to be able to avoid a situation where PkgA
> can't exist for that platform simply because PkgB - which isn't even
> necessarily required for PkgA to be used - doesn't exist for it.

That is not the case, the checks will only get a NOTE that PkgB doesn't exist. E.g., my package flexclust suggests multicore, which is not available for windows. Still both live happily on CRAN, and of course there is a windows version of flexclust available from CRAN.

Fritz mailing list Received on Tue 12 Apr 2011 - 08:53:28 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 Tue 12 Apr 2011 - 15:15:44 GMT.

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

list of date sections of archive