inst/unitTests/test_biocLite.R

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))
}

Try the BiocInstaller package in your browser

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

BiocInstaller documentation built on May 1, 2019, 11:36 p.m.