[R] Data sets with usage in documentation object but not in code

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Nov 29 18:10:26 CET 2007


On Thu, 29 Nov 2007, Jonathan Weeks wrote:

> All,
>
> I recently made some changes to my package and ran R CMD check, but I
> am getting a warning regarding my data sets.
>
> I am running R 2.6.1 I have an image (.RData) file containing five
> data sets in the data subdirectory and an .Rd file for each of the
> data sets in the man subdirectory. When I run the check I get the
> warning
> "Data sets with usage in documentation object <dataset name> but not
> in code" for each dataset. I did not get this warning with R 2.5
>
> Does anyone have a suggestion for how to handle this?

Show us a small reproducible example, or (failing that) make the package 
available for test?  It's hard to guess at the cause, and hundreds of 
packages do similar things.

-- 
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



More information about the R-help mailing list