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()

pkgcache documentation built on July 26, 2023, 5:44 p.m.