On Mon, Apr 11, 2011 at 1:34 PM, Geoff Jentry <geoffjen...@hexdump.org> wrote: > Hi ... > > I came across an old post on R-devel that describes a situation very similar > to one I find myself in: > https://stat.ethz.ch/pipermail/r-devel/2006-December/043917.html > > As you can see in Gregor's example, the situation is that if I am writing > Pkg A, I want to detect if Pkg B exists - if so use some functionality from > there, otherwise do something else. > > 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. Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/ ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel