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

Ross Boylan ross at biostat.ucsf.edu
Tue Jan 16 23:38:10 CET 2007


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.



More information about the R-devel mailing list