/usr/lib/R/site-library/rtracklayer/tests/test.R is in r-bioc-rtracklayer 1.38.0-1build1.
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 | library(rtracklayer)
files <- dir(system.file("tests", package = "rtracklayer"), pattern = "[^R~]$",
full.names=TRUE)
testExport <- function(file) {
track <- import(file)
export(track, format = "ucsc")
}
options(error=recover)
sapply(files, testExport)
## test GRanges imports
sapply(files[-8], import)
|