R/utils.R

### =========================================================================
### Some low-level internal (i.e. non-exported) utilities
### -------------------------------------------------------------------------

getDataAnnotationContribUrl <- function(type=getOption("pkgType"))
{
    if (!suppressWarnings(suppressMessages(require(BiocInstaller,
                                                   quietly=TRUE)))) {
        ## Sourcing this file will install and load the BiocInstaller package.
        suppressWarnings(source("http://bioconductor.org/biocLite.R",
                                local=TRUE))
    }
    contrib.url(biocinstallRepos()["BioCann"], type=type)
}
Przemol/mirrors-bioc-BSgenome documentation built on May 8, 2019, 3:46 a.m.