Learn R Programming

pak (version 0.3.1)

repo_get: Query the currently configured CRAN-like repositories

Description

pak uses the repos option, see options(). It also automatically adds a CRAN mirror if none is set up, and the correct version of the Bioconductor repositories. See the cran_mirror and bioc arguments.

Usage

repo_get(r_version = getRversion(), bioc = TRUE, cran_mirror = NULL)

Arguments

r_version

R version to use to determine the correct Bioconductor version, if bioc = TRUE.

bioc

Whether to automatically add the Bioconductor repositories to the result.

cran_mirror

CRAN mirror to use. Leave it at NULL to use the mirror in getOption("repos") or an automatically selected one.

Details

repo_get() returns the table of the currently configured repositories.

See Also

Other repository functions: repo_add(), repo_status()

Examples

Run this code
if (FALSE) {
repo_get()
}

Run the code above in your browser using DataLab