R/MRAN.R

Defines functions CRAN MRAN

MRAN <- function(snapshot = NULL) {
  url <- getOption("minicran.mran")
  if (missing("snapshot") || is.null(snapshot)) {
    url
  } else {
    sprintf("%s/snapshot/%s", url, snapshot)
  }
}
CRAN <- function() getOption("repos")[1]

Try the miniCRAN package in your browser

Any scripts or data that you put into this service are public.

miniCRAN documentation built on Sept. 16, 2020, 1:07 a.m.