Skip to content
Prev 11677 / 12125 Next

[R-pkg-devel] Problem passing noSuggests test

Am 31.07.25 um 11:09 schrieb Jon Olav Skoien:
To use *reference output* for optional tests, you could move these tests 
to a dedicated script with a corresponding .Rout.save file, put the 
files in a tests/ subdirectory, and use an .Rin file to include them 
only if the suggested package is available. I implemented a similar 
approach in the 'nlme' package to run extra tests with reference output 
conditionally on an environment variable, see 
<https://svn.r-project.org/R-packages/trunk/nlme/tests/extras.Rin> for 
inspiration.