Skip to content

Commit

Permalink
system deps
Browse files Browse the repository at this point in the history
  • Loading branch information
GuidoMaggio committed Aug 23, 2023
1 parent 037b15c commit d11fec4
Show file tree
Hide file tree
Showing 3 changed files with 296 additions and 296 deletions.
2 changes: 0 additions & 2 deletions .Rprofile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# renv::settings$ignored.packages(c("devtools", "Covid19Mirai"), persist = FALSE)
options("rgdal_show_exportToProj4_warnings"="none")
options("sp_evolution_status"=2)
source("renv/activate.R")

18 changes: 9 additions & 9 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ jobs:
# Enable RStudio Package Manager to speed up package installation
use-public-rspm: true

- name: Install system dependencies
# This is not taken care of (yet) by r-lib/actions/setup-renv
# Package distro used to get the distro for the used ubuntu-latest
run: |
Rscript -e "install.packages(c('remotes', 'distro'))"
while read -r cmd
do
eval sudo $cmd
done < <(Rscript -e 'writeLines(with(distro::distro(), remotes::system_requirements(id, short_version)))')
# - name: Install system dependencies
# # This is not taken care of (yet) by r-lib/actions/setup-renv
# # Package distro used to get the distro for the used ubuntu-latest
# run: |
# Rscript -e "install.packages(c('remotes', 'distro'))"
# while read -r cmd
# do
# eval sudo $cmd
# done < <(Rscript -e 'writeLines(with(distro::distro(), remotes::system_requirements(id, short_version)))')


- name: Activate renv and restore packages with cache
Expand Down
Loading

0 comments on commit d11fec4

Please sign in to comment.