From 7f45ec7d36249b4acefd1c9d06593bea841acd4f Mon Sep 17 00:00:00 2001 From: Lukas Stadler <lukas.stadler@oracle.com> Date: Tue, 10 Oct 2017 12:05:24 +0200 Subject: [PATCH] change default CRAN mirror in package tests to cloud --- com.oracle.truffle.r.test.packages/r/install.packages.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/com.oracle.truffle.r.test.packages/r/install.packages.R b/com.oracle.truffle.r.test.packages/r/install.packages.R index 95736d4761..799db01552 100644 --- a/com.oracle.truffle.r.test.packages/r/install.packages.R +++ b/com.oracle.truffle.r.test.packages/r/install.packages.R @@ -45,7 +45,7 @@ # A list of repos can be provided with the --repos argument, which ia comma separated string of name=value pairs. # The names "CRAN", "BIOC" and "FASTR" are understood and have default values. # By default, we use the CRAN mirror specified in the --repos argument or env var CRAN_MIRROR. -# The default value for --repos is "CRAN=http://cran.cnr.berkeley.edu" +# The default value for --repos is "CRAN=http://cloud.r-project.org/" # Packages are installed into the directory specified by the --lib arg (or R_LIBS_USER env var) @@ -279,7 +279,7 @@ set.repos <- function() { } else if (name == "CRAN") { if (is.na(uri)) { # not set on command line - cran.mirror <<- Sys.getenv("CRAN_MIRROR", unset = "http://cran.cnr.berkeley.edu/") + cran.mirror <<- Sys.getenv("CRAN_MIRROR", unset = "http://cloud.r-project.org/") } else { cran.mirror <- uri } -- GitLab