Merge branch '21321-cran-mirror'
authorBrett Smith <brett.smith@curii.com>
Fri, 16 Feb 2024 16:42:51 +0000 (11:42 -0500)
committerPeter Amstutz <peter.amstutz@curii.com>
Tue, 19 Mar 2024 17:13:07 +0000 (13:13 -0400)
Refs #21321.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

sdk/R/install_deps.R

index 6c33f97913f83aaeaebf392fec740ba9f9d0d98a..4e6c5c88f4af70c290b0663ad343c0d75bfd30fd 100644 (file)
@@ -2,7 +2,7 @@
 #
 # SPDX-License-Identifier: Apache-2.0
 
-options(repos=structure(c(CRAN="http://cran.wustl.edu/")))
+options(repos=structure(c(CRAN="https://cloud.r-project.org/")))
 if (!requireNamespace("devtools")) {
   install.packages("devtools")
 }
@@ -16,10 +16,7 @@ if (!requireNamespace("markdown")) {
   install.packages("markdown")
 }
 if (!requireNamespace("XML")) {
-  # XML 3.99-0.4 depends on R >= 4.0.0, but we run tests on debian
-  # stable (10) with R 3.5.2 so we install an older version from
-  # source.
-  install.packages("https://cran.r-project.org/src/contrib/Archive/XML/XML_3.99-0.3.tar.gz", repos=NULL, type="source")
+  install.packages("XML")
 }
 
 devtools::install_dev_deps()