☰
Debian Codegraph
@
1.47.0-1
/
/
inst
/
test-data
/
cgroups2
/
posit.cloud-free.R
☽
☼
inst/test-data/cgroups2/posit.cloud-free.R
code
plain
raw
LGPL-2.1
2016-2020 Henrik Bengtsson
debian/copyright
1
ncores <- parallelly::availableCores(which = "all")
2
print(ncores)
3
4
stopifnot(
5
"cgroups2.cpu.max" %in% names(ncores),
6
ncores[["cgroups2.cpu.max"]] == 1L
7
)