default_cran_mirror: Query the default CRAN repository for this session

View source: R/platform.R

default_cran_mirrorR Documentation

Query the default CRAN repository for this session

Description

If options("repos") (see options()) contains an entry called "CRAN", then that is returned. If it is a list, it is converted to a character vector.

Usage

default_cran_mirror()

Details

Otherwise the RStudio CRAN mirror is used.

Value

A named character vector of length one, where the name is "CRAN".

Examples

default_cran_mirror()

r-lib/pkgcache documentation built on April 7, 2024, 5:57 a.m.