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

Remko Duursma remkoduursma at gmail.com
Tue Mar 30 05:59:46 CEST 2010


It means that in your documentation file (the .Rd file), you have an
entry for 'mydata' that does not appear in the code.

So: your Rd file has:

\usage{
myfunction(mydata,otherarg)
}

and your function looks like this:
myfunction <- function(otherarg,...){etc}


good luck,
remko

-------------------------------------------------
Remko Duursma
Research Lecturer

Centre for Plants and the Environment
University of Western Sydney
Hawkesbury Campus
Richmond NSW 2753

Dept of Biological Science
Macquarie University
North Ryde NSW 2109
Australia

Mobile: +61 (0)422 096908
www.remkoduursma.com



On Tue, Mar 30, 2010 at 2:10 PM, shruti <shruti.mudra at yahoo.com> wrote:
>
> Hi ,
> I'm getting a warning "Data sets with usage in documentation object 'data'
> but not in the code"
>  I'm attaching the image for your reference
> http://n4.nabble.com/file/n1738289/dataset.jpg
> Thank you
> --
> View this message in context: http://n4.nabble.com/Data-sets-with-usage-in-documentation-object-data-but-not-in-the-code-tp1738289p1738289.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.
>



More information about the R-help mailing list