[R-pkg-devel] Documenting raw data

Cantin, Alan (NRCan/RNCan) @|@n@c@nt|n @end|ng |rom c@n@d@@c@
Thu Apr 23 22:53:30 CEST 2020


Hi Folks,

Looking for some help documenting my raw data (data in inst/extdata).

Is the correct doctype "data"?

The usage of loading this type of data is system.file("extdata", nameoffile, package="nameofpackage")

Is this the correct string to put in the \usage section?  I have tried this, but get errors such as:

Functions or methods with usage in documentation object 'nameoffile' but not in code:
    'system.file'


Has anyone done this recently and have an example to see where I'm going wrong?

This check seems to be new as in the past I simply had lazydata set to true and it passed tests.

Thanks for any help.

Cheers,

Alan Cantin



	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list