inst/Rprofile.d/repos.R

local({
  repos <- c(CRAN = "https://cloud.r-project.org")
  if (.Platform$OS.type == "windows") {
     repos["CRANextra"] <- "https://www.stats.ox.ac.uk/pub/RWin"
  }
  repos <- c(repos, getOption("repos"))
  options(repos = repos)
})
HenrikBengtsson/startup documentation built on April 22, 2024, 6:32 p.m.