/usr/lib/R/site-library/BiocInstaller/unitTests/test_biocLite.R is in r-bioc-biocinstaller 1.28.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 13 | test_reposType <- function()
{
.rRepos <- BiocInstaller:::.rRepos
.githubRepos <- BiocInstaller:::.githubRepos
r <- "foo"
http <- c("http://foo.bar/baz", "https://foo.bar/baz")
github <- c("foo/bar", "foo/bar@baz")
all <- c(r, http, github)
checkIdentical(c(r, http), .rRepos(all))
checkIdentical(github, .githubRepos(all))
}
|