BiocManager (version 1.30.10)

repositories: Display current Bioconductor and CRAN repositories.

Description

repositories() reports the URLs from which to install Bioconductor and CRAN packages. It is used by BiocManager::install() and other functions.

Usage

repositories(site_repository = character(),
  version = BiocManager::version())

Arguments

site_repository

(Optional) character(1) representing an additional repository (e.g., a URL to an organization's internally maintained repository) in which to look for packages to install. This repository will be prepended to the default repositories returned by the function.

version

(Optional) character(1) or package_version indicating the Bioconductor version (e.g., "3.8") for which repositories are required.

Value

Named character() of repositories.

See Also

BiocManager::install() Installs or updates Bioconductor, CRAN, and GitHub packages.

chooseBioCmirror() choose an alternative Bioconductor mirror; not usually necessary.

chooseCRANmirror() choose an alternative CRAN mirror; not usually necessary.

setRepositories() Select additional repositories for searching.

Examples

Run this code
# NOT RUN {
BiocManager::repositories()
# }
# NOT RUN {
BiocManager::repositories(version="3.8")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab