From 8157a66f2f118387c30298e5a39c6f8fff6b9368 Mon Sep 17 00:00:00 2001 From: Barret Schloerke Date: Mon, 3 Jul 2023 12:33:02 -0400 Subject: [PATCH] Adjust terra installs --- R/install.R | 4 ++-- inst/gha/gha-adjust-packages-to-install.R | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/R/install.R b/R/install.R index 7107bd98c2..d2dc472e92 100644 --- a/R/install.R +++ b/R/install.R @@ -199,14 +199,14 @@ install_troublesome_pkgs <- function(libpath = .libPaths()[1]) { "4.0" = { install_missing_pkgs( packages = "terra", - packages_to_install = "url::https://packagemanager.posit.co/cran/latest/bin/windows/contrib/4.0/terra_1.7-29.zip", + packages_to_install = "url::https://cloud.r-project.org/bin/windows/contrib/4.0/terra_1.5-21.zip", libpath = libpath ) }, "3.6" = { install_missing_pkgs( packages = "terra", - packages_to_install = "url::https://packagemanager.posit.co/cran/latest/bin/windows/contrib/3.6/terra_1.7-29.zip", + packages_to_install = "url::https://cloud.r-project.org/bin/windows/contrib/3.6/terra_1.2-5.zip", libpath = libpath ) } diff --git a/inst/gha/gha-adjust-packages-to-install.R b/inst/gha/gha-adjust-packages-to-install.R index 839dd62419..a749462663 100644 --- a/inst/gha/gha-adjust-packages-to-install.R +++ b/inst/gha/gha-adjust-packages-to-install.R @@ -17,10 +17,10 @@ adjust_pkgs <- function(pkgs_to_install = "rstudio/shiny,rstudio/bslib", r_versi if (is_windows) { switch(short_r_version, "4.0" = { - replace_or_add("any::terra", "url::https://packagemanager.posit.co/cran/latest/bin/windows/contrib/4.0/terra_1.7-29.zip") + replace_or_add("any::terra", "url::https://cloud.r-project.org/bin/windows/contrib/4.0/terra_1.5-21.zip") }, "3.6" = { - replace_or_add("any::terra", "url::https://packagemanager.posit.co/cran/latest/bin/windows/contrib/3.6/terra_1.7-29.zip") + replace_or_add("any::terra", "url::https://cloud.r-project.org/bin/windows/contrib/3.6/terra_1.2-5.zip") } )