[R-pkg-devel] Number of cores in examples

Uwe Ligges ||gge@ @end|ng |rom @t@t|@t|k@tu-dortmund@de
Sat Sep 14 07:51:53 CEST 2019



On 14.09.2019 03:33, John Harrold wrote:
> Hello,
> 
> I recently submitted a package for consideration in CRAN. One of the
> comments was:
> 
> Please ensure that you do not use more than 2 cores in your examples.
> 
> I do not believe my package does this. Is this a general comment for a
> package that requires doParallel or was this triggered because one of my
> examples actually used more than 2 cores?

The latter. In examples, vignettes and tests you must not start more 
than 2 workers as resources for CRAN checks are limited.

Best,
Uwe Ligges


> 
> Thanks
> John
>



More information about the R-package-devel mailing list