Re: [Rd] Problems with checking documentation vs data, and a proposal

From: Ross Boylan <>
Date: Tue 16 Jan 2007 - 22:38:10 GMT

On Tue, 2007-01-16 at 14:03 -0800, Ross Boylan wrote:
> I have a single data file inputs.RData that contains 3 objects. I
> generated an Rd page for each object using prompt().
> When I run R CMD check I get
> * checking for code/documentation mismatches ... WARNING
> Warning in utils::data(list = al, envir = data_env) :
> data set 'gold' not found
> (gold is one of the objects).
> What can I do in the short run, particularly since I would like to have
> the code pass R CMD check with versions of R that don't include this
> possible enhancement, what can I do? I see several options, none of
> them beautiful:
> 4) Create gold.RData and others as symlinks to inputs.RData. Fragile
> across operating systems, version control systems, and versions of tar.
> Might get errors about multiple data definitions.

Option 4 worked, though the symlinks were converted to regular files by R CMD check. mailing list Received on Wed Jan 17 09:45:34 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 17 Jan 2007 - 03:31:10 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.