Message-ID: <1127224092.21824.20.camel@biol102145.oulu.fi>
Date: 2005-09-20T13:48:12Z
From: Jari Oksanen
Subject: Shy Suggestion?
In-Reply-To: <433011BE.8090007@jhsph.edu>
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