inst/test-data/cgroups2/pi-2021.R

ncores <- parallelly::availableCores(which = "all")
print(ncores)

stopifnot(
  ! "cgroups2.cpu.max" %in% names(ncores)
)

Try the parallelly package in your browser

Any scripts or data that you put into this service are public.

parallelly documentation built on April 4, 2025, 4:38 a.m.