From 5481a4f5489c7e3c851860bbd31baacab3a39465 Mon Sep 17 00:00:00 2001 From: Colin Alworth Date: Thu, 30 May 2024 14:19:49 -0500 Subject: [PATCH 1/2] Temporary fix for broken US cran mirror for R packages --- R/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/build.gradle b/R/build.gradle index 6596fdd5631..54d63231d87 100644 --- a/R/build.gradle +++ b/R/build.gradle @@ -138,7 +138,7 @@ def rClientDoc = Docker.registerDockerTask(project, 'rClientDoc') { ''') runCommand('''echo "status = tryCatch(" \ " {" \ - " install.packages('roxygen2', repos='http://cran.us.r-project.org'); " \ + " install.packages('roxygen2', repos='https://cran.r-project.org'); " \ " 0" \ " }," \ " error=function(e) 1," \ From 585c8127195ee93b24d2adff9e8856c31bde05dd Mon Sep 17 00:00:00 2001 From: Colin Alworth Date: Thu, 30 May 2024 14:38:40 -0500 Subject: [PATCH 2/2] Fix second link --- R/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/build.gradle b/R/build.gradle index 54d63231d87..62d0072890e 100644 --- a/R/build.gradle +++ b/R/build.gradle @@ -179,7 +179,7 @@ def rClientSite = Docker.registerDockerTask(project, 'rClientSite') { runCommand("mkdir -p ${prefix}/src/rdeephaven/docs") runCommand('''echo "status = tryCatch(" \ " {" \ - " install.packages('pkgdown', repos='http://cran.us.r-project.org'); " \ + " install.packages('pkgdown', repos='https://cran.r-project.org'); " \ " 0" \ " }," \ " error=function(e) 1," \