Re: [R-pkg-devel] Documenting raw data

2020-05-12 Thread Cantin, Alan (NRCan/RNCan)
) To: r-package-devel@r-project.org, "Cantin, Alan (NRCan/RNCan)" Subject: Re: [R-pkg-devel] Documenting raw data Hello, I don't think you have to (and shouldn't?) document raw data. However, you can use it in examples/tests/etc. using the system.file() command you mention. But mayb

Re: [R-pkg-devel] Documenting raw data

2020-05-12 Thread Maƫlle SALMON via R-package-devel
Hello, I don't think you have to (and shouldn't?) document raw data. However, you can use it in examples/tests/etc. using the system.file() command you mention. But maybe you want to export the data? In that case it should be under data/. This chapter of the R packages book might be useful

[R-pkg-devel] Documenting raw data

2020-04-23 Thread Cantin, Alan (NRCan/RNCan)
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,