[R] Simple example of automating testing
Prof Brian D Ripley
ripley at stats.ox.ac.uk
Tue May 29 18:27:58 CEST 2001
On Tue, 29 May 2001, David Kane <David Kane wrote:
> Can anyone suggest a simple example of automated testing in R that I might look
> at and learn from? I can think of a variety of ways to do testing in R, but am
> hopeful that there is a standard recommended way. I saw references to testing
> in the "Writing R Extensions" manual, but nothing clear enough (to me!) for me to
> make my own.
How about the examples in the packages such as foreign and rpart on CRAN?
They are running automatically by R CMD check. Alternatively, R's own
tests directory in the sources will provide lots of examples.
Brian D. Ripley, ripley at 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-help 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-help-request at stat.math.ethz.ch
More information about the R-help