This file is indexed.

/usr/lib/R/site-library/BiocParallel/unitTests/test_BatchJobsParam.R is in r-bioc-biocparallel 1.4.0-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
test_BatchJobsParam <- 
    function() 
{
    param <- BatchJobsParam(progressbar=FALSE, cleanup=TRUE)
    f <- function(x) if (x == 0) stop(x) else x
    checkEquals(bplapply(1:3, f, BPPARAM=param), as.list(1:3))

    param <- BatchJobsParam(progressbar=FALSE, catch.errors=TRUE)
    res <- bplapply(0:3, f, BPPARAM=param)
    checkTrue(inherits(res[[1]], "condition"))
    checkEquals(bplapply(0:3, identity, BPPARAM=param), as.list(0:3))
}