Re: [R] Number of Cores limited to two in CRAN

2023-07-02 Thread Henrik Bengtsson
Short answer: You don't want to override that limit in your R package. Don't do it. Long answer: You'll find the reason for this in the 'CRAN Repository Policy' (https://cran.r-project.org/web/packages/policies.html). Specifically, the following passage: "Checking the package should take as

Re: [R] Number of Cores limited to two in CRAN

2023-07-02 Thread Ravi Varadhan via R-help
This is the specific error messsage from R CMD check --as-cran Error in .check_ncores(length(names)) : 16 simultaneous processes spawned Calls: prepost -> makeCluster -> makePSOCKcluster -> .check_ncores Execution halted Thanks, Ravi From: Ravi Varadhan

[R] Number of Cores limited to two in CRAN

2023-07-02 Thread Ravi Varadhan via R-help
Hi, I am developing a package where I would like to utilize multiple cores for parallel computing. However, I get an error message when I run R CMD check --as-cran. I read that CRAN limits the number of cores to 2. Is this correct? Is there any way to overcome this limitation? Thank you,