[R-pkg-devel] Whack-a-mole base::assign(".ptime", proc.time(), pos = "CheckExEnv")

2019-04-29 Thread Mark Hogue
(The subject title is in reference to the arcade game where fake mole heads pop up and the contestant is challenged to smash them down as more and more keep popping up.) I made some changes to a package and when I run the R CMD check, I get one error with this lead-in notification: Running

Re: [R-pkg-devel] check warning in examples

2019-04-29 Thread Duncan Murdoch
On 29/04/2019 6:12 p.m., Berry Boessenkool wrote: Hi, my package has a warning in check (locally + all rhub::check_for_cran platforms): * checking for unstated dependencies in examples ... WARNING Warning: parse error in file 'berryFunctions-Ex.R': 'match' requires vector arguments When I

[R-pkg-devel] parallel computing slower than sequential computing

2019-04-29 Thread Wang, Zhu
Hello, I have a package where parallel computing is slower than sequential computing with cross-validation. For instance, please see the following reproducible example with 10 cores and the relevant lines in the corresponding R function. The R package is also attached. I thought parallel

Re: [R-pkg-devel] data in R package

2019-04-29 Thread Duncan Murdoch
On 29/04/2019 5:03 a.m., Raffaele Argiento wrote: Dear all we are developing a R package and we would like to include as an example published data that we have taken from a paper. Is this allowed ? Where can I find the policy about distributing data through the R Package There are two

Re: [R-pkg-devel] data in R package

2019-04-29 Thread Ralf Stubner
On 29.04.19 11:03, Raffaele Argiento wrote: > we are developing a R package and we would like to include as an > example published data that we have taken from a paper. Is this > allowed ? Where can I find the policy about distributing data through > the R Package From the CRAN policies

[R-pkg-devel] data in R package

2019-04-29 Thread Raffaele Argiento
Dear all we are developing a R package and we would like to include as an example published data that we have taken from a paper. Is this allowed ? Where can I find the policy about distributing data through the R Package Thanks -- Dr. Raffaele Argiento University of Torino and Collegio