Skip to content
Prev 17244 / 63424 Next

Package tests: best practices

On Mon, 22 Aug 2005, hadley wickham wrote:

            
The working directory will be the tests directory as used, and all the 
tests subdirectory in the sources is copied there.

R does not have `document root', AFAIK.
You assume wrong: you should use the version installed for checking by 
library(xxx): R_LIBS is explicitly set to point to it first.

I've added some further comments to R-exts, but it seems that quite a few 
people have worked this out from the existing info and there are several 
examples in the R sources and recommended packages.