Re: [R-pkg-devel] Can I put my small data-sets into one .rda file in my CRAN package?

2018-12-05 Thread Joris Meys
Hi Michael, in the data() function you have to use the name of the rda file, not the name of the dataset you need. So say you have the datasets validity and data2 in a file called alldata.rda, you need to do: data(alldata) and that will make both validity and data2 available to the user. imho

[R-pkg-devel] Can I put my small data-sets into one .rda file in my CRAN package?

2018-12-05 Thread Michael Dewey
At the moment my package (metap) has a number of small data-sets each as a separate .rda file. It works fine. I thought it would be neater to put them all into one file which I called data.rda (original choice of name there). Now when I do R CMD build metap it fails when trying to build the