inst/unitTests/test_biocinstallRepos.R

repos <- biocinstallRepos()

test_biocinstallRepos_named_repositories <- function()
{

    allOS <- c("BioCsoft", "CRAN", "BioCann", "BioCexp")
    checkTrue(all(allOS %in% names(repos)))
   
}

test_biocinstallRepos_noNA_repositories <- function()
{
    checkTrue(!any(is.na(repos)))
}

test_biocinstallRepos_order <- function()
{
    checkIdentical("BioCsoft", names(repos)[[1]])
}
Bioconductor/BiocInstaller documentation built on May 31, 2019, 2:43 p.m.