From ripley@stats.ox.ac.uk  Tue Oct 29 18:23:12 2002
From: ripley@stats.ox.ac.uk (ripley@stats.ox.ac.uk)
Date: Tue, 29 Oct 2002 18:23:12 +0000 (GMT)
Subject: dependency in tests
In-Reply-To: <3DBEC8B8.C8CC47BE@bank-banque-canada.ca>
Message-ID: <Pine.LNX.4.31.0210291821330.24823-100000@gannet.stats>

On Tue, 29 Oct 2002, Paul Gilbert wrote:

> I have a package in which the code does not depend on another package,
> but tests do. Should the Depends line in the description indicate this
> dependency or is requires() in the tests sufficient?

I find it very helpful to have the Depends line there.  Anyone who wants
to run the tests needs the dependency, and builders of binary packages
meet this very frequently.

I think this is even more cogent for the examples.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


dependency in tests
ripley@stats.ox.ac.uk