[R-pkg-devel] package 'corpus' not available?

2018-12-05 Thread Dalthorp, Daniel via R-package-devel
--- Begin Message --- Dear All, I am trying to submit a minor update of new package (GenEst) to CRAN, but got an error that has not appeared in releases earlier this year (the latest was two weeks ago): * checking package dependencies ... ERROR Package required but not available: ‘corpus’ I see t

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

2018-12-05 Thread Georgi Boshnakov
Further to Joris' email, the help page of data() is very informative. If the reason for wishing to combine the datasets together is so that they can be made available in a single command, an option might be to create an R source file which loads all datasets, thus giving this option without with

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 i

[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 vigne