[Rd] Section 1.3.1 of R-Ext Documentation lists tests/Examples/pkg-Rex-Rout.save incorrectly (PR#13877)

art27 at cantab.net art27 at cantab.net
Thu Aug 6 16:00:11 CEST 2009


Full_Name: Andrew Thornton
Version: Webpage
OS: Linux
Submission from: (NULL) (81.154.9.63)


The Writing R Extensions documentation at:

http://cran.r-project.org/doc/manuals/R-exts.html

lists two different filenames for making the example's Rout.save a test result.

Section 1.1.3 says:

"If tests has a subdirectory Examples containing a file pkg-Ex.Rout.save, this
is compared to the output file for running the examples when the latter are
checked."

I.e. tests/Example/pkg-Ex.Rout.save

Section 1.3.1 says:

"16. The examples provided by the package's documentation are run. (see Writing
R documentation files, for information on using \examples to create executable
example code.) If there is a file tests/Examples/pkg-Ex-Rout.save, the output of
running the examples is compared to that file. "

i.e. tests/Example/pkg-Ex-Rout.save

Section 1.3.1 is incorrect and will not work



More information about the R-devel mailing list