Skip to content

Commit

Permalink
Try out another approach
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsievert committed Sep 7, 2023
1 parent 105b553 commit 1527466
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions R/data-shinyverse.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ shinyverse_remotes <- c(
"rstudio/htmltools",
"rstudio/httpuv",
"rstudio/leaflet",
# Temporary fix for install issues with terra on old versions of R
"rspatial/terra",
"rstudio/pool",
"rstudio/promises",
"rstudio/reactlog",
Expand Down
4 changes: 4 additions & 0 deletions inst/gha/gha-adjust-packages-to-install.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ adjust_pkgs <- function(pkgs_to_install = "rstudio/shiny,rstudio/bslib", r_versi
}
}

if (as.package_version(r_version) < as.package_version("4.1")) {
replace_or_add("any::terra", "rspatial/terra")
}

if (is_linux) {
switch(short_r_version,
"4.2" = {
Expand Down

0 comments on commit 1527466

Please sign in to comment.