From ross at biostat.ucsf.edu  Tue Jan 16 23:38:10 2007
From: ross at biostat.ucsf.edu (Ross Boylan)
Date: Tue, 16 Jan 2007 14:38:10 -0800
Subject: [Rd] Problems with checking documentation vs data,
	and a proposal
In-Reply-To: <1168984980.28142.42.camel@iron.psg.net>
References: <1168984980.28142.42.camel@iron.psg.net>
Message-ID: <1168987091.28142.45.camel@iron.psg.net>

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.



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