Prof Brian Ripley wrote:
> 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.
>
>   
You could also look at the output of

tools:::list_data_in_pkg("yourPkg") 

and see if it makes you any wiser. (AFAICS, this is the list that the
usage lines get compared to)

-- 
   O__  ---- Peter Dalgaard             Ă˜ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])                  FAX: (+45) 35327907

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to