Dear Henrik,
Thank you! This is quite helpful, especially your longer blog post.
Best regards,
Ravi
From: Henrik Bengtsson
Sent: Sunday, July 2, 2023 4:33 AM
To: Ravi Varadhan
Cc: R-Help
Subject: Re: [R] Number of Cores limited to two in CRAN
External
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
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
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,
4 matches
Mail list logo