From art27 at cantab.net  Thu Aug  6 16:00:11 2009
From: art27 at cantab.net (art27 at cantab.net)
Date: Thu,  6 Aug 2009 16:00:11 +0200 (CEST)
Subject: [Rd] Section 1.3.1 of R-Ext Documentation lists
	tests/Examples/pkg-Rex-Rout.save incorrectly (PR#13877)
Message-ID: <20090806140011.266432831FE0@mail.pubhealth.ku.dk>

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



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