From jarioksa at sun3.oulu.fi  Tue Sep 20 15:48:12 2005
From: jarioksa at sun3.oulu.fi (Jari Oksanen)
Date: Tue, 20 Sep 2005 16:48:12 +0300
Subject: [Rd] Shy Suggestion?
In-Reply-To: <433011BE.8090007@jhsph.edu>
References: <1127222728.21824.15.camel@biol102145.oulu.fi>
	<433011BE.8090007@jhsph.edu>
Message-ID: <1127224092.21824.20.camel@biol102145.oulu.fi>

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



[Rd] Shy Suggestion?
Jari Oksanen