inst/test-data/mixed-cgroups/wsl2-invalid-mounts.R

mounts <- parallelly:::getCGroupsMounts()
print(mounts)

stopifnot(
  is.data.frame(mounts),
  nrow(mounts) > 0L,
  ncol(mounts) == 6L,
  "cgroup" %in% mounts[["type"]],
  "cgroup2" %in% mounts[["type"]]
)

Try the parallelly package in your browser

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

parallelly documentation built on June 8, 2025, 10:47 a.m.