From ripley at stats.ox.ac.uk  Thu Aug  6 18:57:24 2009
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Thu, 6 Aug 2009 17:57:24 +0100 (BST)
Subject: [Rd] Section 1.3.1 of R-Ext Documentation lists
 tests/Examples/pkg-Rex-Rout.save incorrectly (PR#13877)
In-Reply-To: <20090806140011.266432831FE0@mail.pubhealth.ku.dk>
References: <20090806140011.266432831FE0@mail.pubhealth.ku.dk>
Message-ID: <alpine.LFD.2.00.0908061756580.18269@auk.stats.ox.ac.uk>

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



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