Limit number of cores to 2 when run devtools::check()

selectCores()

Source

https://stackoverflow.com/questions/50571325/r-cran-check-fail-when-using-parallel-functions

Value

Limit number of cores to 2 when run devtools::check()

Examples

if (FALSE) { selectCores() }