[R-pkg-devel] Doubt about adding files to a R package

Duncan Murdoch murdoch.duncan at gmail.com
Wed Jun 28 12:35:25 CEST 2017

On 26/06/2017 2:20 PM, Darío Torres Sánchez wrote:
> Good day,
> I have a problem I will like to ask for some help,
> My package needs some .csv files to run, but when i attached them to the
> .tar file to submit to the CRAN and after the test it marks an error so my
> doubt is how can I attached this files and when i submit it they not mark
> error?.
> Thanks a lot for your help, I hope hear from you soon

In general, you can put files into your own directories below the "inst" 
directory.  ("inst/doc" is special; only put things there if you want 
them displayed to users.)

You can also use the "data" directory if you want to make them available 
to users using the data() function.

Duncan Murdoch

More information about the R-package-devel mailing list