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

Re: [R-pkg-devel] CRAN-Policies

2020-04-23 Thread Duncan Murdoch
On 23/04/2020 2:34 p.m., Peter Meissner wrote: Hello Everyone, some weeks back I already wrote to CRAN but got no response. So, I post my question here seeking for advice. I am trying to publish a package to CRAN. I got rejected once with some minor change requests. I implemented them and

Re: [R-pkg-devel] Package fails on OSX on CRAN but not on rhub

2020-04-23 Thread Dirk Eddelbuettel
Stuart, As a follow-up, the errors are of the '*** caught illegal operation ***' variety which is frequently seen when different compiled components (and particularly C++ ones) are out of sync with respect to their toolchains. So I would suggest a clean rebuild, but given that it is at CRAN

[R-pkg-devel] CRAN-Policies

2020-04-23 Thread Peter Meissner
Hello Everyone, some weeks back I already wrote to CRAN but got no response. So, I post my question here seeking for advice. I am trying to publish a package to CRAN. I got rejected once with some minor change requests. I implemented them and submitted again. This time I got a whole array of

Re: [R-pkg-devel] Package fails on OSX on CRAN but not on rhub

2020-04-23 Thread Dirk Eddelbuettel
On 23 April 2020 at 19:06, Stuart Lacy via R-package-devel wrote: | I've been told to fix the problems that my package 'multistateutils' has on | OSX: | https://cran.r-project.org/web/checks/check_results_multistateutils.html | | This is seemingly something to do with my Rcpp code, but I can't

[R-pkg-devel] Package fails on OSX on CRAN but not on rhub

2020-04-23 Thread Stuart Lacy via R-package-devel
Hi, I've been told to fix the problems that my package 'multistateutils' has on OSX: https://cran.r-project.org/web/checks/check_results_multistateutils.html This is seemingly something to do with my Rcpp code, but I can't debug it on my local (Linux) machine, as when I check my code using Rhub

Re: [R-pkg-devel] WARNING Files in the 'vignettes' directory but no files in 'inst/doc':

2020-04-23 Thread Duncan Murdoch
On 23/04/2020 11:10 a.m., John Lawson wrote: My AQLSchemes package has a pdf vignette created with Rmarkdown. I tried to add a vignette to my daewr package in exactly the same way, by setting the Description file like the AQLSchemes package Description file with the statements Suggests: R.rsp

[R-pkg-devel] WARNING Files in the 'vignettes' directory but no files in 'inst/doc':

2020-04-23 Thread John Lawson
My AQLSchemes package has a pdf vignette created with Rmarkdown. I tried to add a vignette to my daewr package in exactly the same way, by setting the Description file like the AQLSchemes package Description file with the statements Suggests: R.rsp VignetteBuilder: R.rsp. In both packages I put

Re: [R-pkg-devel] Non-standard things in the check directory

2020-04-23 Thread Gábor Csárdi
Just realized that nobody replied to this. So this seems to be a bug in `R CMD check --as-cran`, it does not ignore the arch specific examples and tests directories and files. It happens as well if you run your check on a local windows, not just on R-hub. Should I open a bug for this? There is

Re: [R-pkg-devel] (SOLVED) Warning R-hub Windows Server 2008 : qpdf needed

2020-04-23 Thread Paul SAVARY
Hi, Here is the build log showing this warning message: https://builder.r-hub.io/status/graph4lg_0.5.0.tar.gz-31e8935d0c724c4b9d6986f31eeff357 I have just tried again and this warning message does not show up anymore. I thank you Gabor for your help. (new build log: