/usr/lib/R/site-library/BiocParallel/unitTests/test_refclass.R is in r-bioc-biocparallel 0.6.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | test_SnowParam_refclass <- function()
{
p <- SnowParam(2)
p2 <- p
checkTrue(!bpisup(p))
checkTrue(!bpisup(p2))
bpstart(p)
checkTrue(bpisup(p))
checkTrue(bpisup(p2))
bpstop(p)
checkTrue(!bpisup(p))
checkTrue(!bpisup(p2))
}
|