[R] Number of Cores limited to two in CRAN

Ravi Varadhan r@v|@v@r@dh@n @end|ng |rom jhu@edu
Sat Jul 1 19:46:43 CEST 2023


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
Sent: Saturday, July 1, 2023 1:15 PM
To: R-Help <r-help using r-project.org>
Subject: Number of Cores limited to two in CRAN

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

	[[alternative HTML version deleted]]



More information about the R-help mailing list