A helper function to count the number of cores available on the current machine
Source:R/count_cores.R
count_cores.Rd
A helper function to count the number of cores available on the current machine
Value
A number of cores to use; if parallel
is installed, this will be parallel::detectCores()
. Otherwise, this returns a 1.