Skip to content

Commit

Permalink
First stab at fixing terra install issues
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsievert committed Sep 7, 2023
1 parent 05cb467 commit 8d0d555
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
1 change: 1 addition & 0 deletions inst/apps/001-hello/app.R
Original file line number Diff line number Diff line change
@@ -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 ----
Expand Down
12 changes: 0 additions & 12 deletions inst/gha/gha-adjust-packages-to-install.R
Original file line number Diff line number Diff line change
Expand Up @@ -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" = {
Expand Down

0 comments on commit 8d0d555

Please sign in to comment.