art27 at cantab.net
2009-Aug-06 14:00 UTC
[Rd] Section 1.3.1 of R-Ext Documentation lists tests/Examples/pkg-Rex-Rout.save incorrectly (PR#13877)
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
Prof Brian Ripley
2009-Aug-06 16:57 UTC
[Rd] Section 1.3.1 of R-Ext Documentation lists tests/Examples/pkg-Rex-Rout.save incorrectly (PR#13877)
Same as 13876! On Thu, 6 Aug 2009, art27 at cantab.net wrote:> 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 > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >-- 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 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595