On Tue, 2005-09-20 at 09:42 -0400, Roger D. Peng wrote: > I think this needs to fail because packages listed in 'Suggests:' may, for > example, be needed in the examples. How can 'R CMD check' run the examples > and > verify that they are executable if those packages are not available? I > suppose > you could put the examples in a \dontrun{}. > Yes, that's what I do, and exactly for that reason: if something is not necessarily needed (= 'suggestion' in this culture), it should not be required in tests. However, if I don't use \dontrun{} for a non-recommended package, the check would fail and I would get the needed information: so why should the check fail already when checking DESCRIPTION?
cheers, jari oksanen ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel