From 8d0d55549bf9255b8f21e53b3d5cdcca172f7a1c Mon Sep 17 00:00:00 2001 From: Carson Date: Thu, 7 Sep 2023 16:18:32 -0500 Subject: [PATCH] First stab at fixing terra install issues --- inst/apps/001-hello/app.R | 1 + inst/gha/gha-adjust-packages-to-install.R | 12 ------------ 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/inst/apps/001-hello/app.R b/inst/apps/001-hello/app.R index 3a5988f2cb..6c8d56099d 100644 --- a/inst/apps/001-hello/app.R +++ b/inst/apps/001-hello/app.R @@ -1,5 +1,6 @@ ### Keep this line to manually test this shiny application. Do not edit this line; shinycoreci::::is_manual_app + library(shiny) # Define UI for app that draws a histogram ---- diff --git a/inst/gha/gha-adjust-packages-to-install.R b/inst/gha/gha-adjust-packages-to-install.R index a749462663..c655d6aa33 100644 --- a/inst/gha/gha-adjust-packages-to-install.R +++ b/inst/gha/gha-adjust-packages-to-install.R @@ -14,18 +14,6 @@ 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://cloud.r-project.org/bin/windows/contrib/4.0/terra_1.5-21.zip") - }, - "3.6" = { - replace_or_add("any::terra", "url::https://cloud.r-project.org/bin/windows/contrib/3.6/terra_1.2-5.zip") - } - ) - - } - if (is_linux) { switch(short_r_version, "4.2" = {