Skip to content

Commit

Permalink
do not install system deps
Browse files Browse the repository at this point in the history
  • Loading branch information
GuidoMaggio committed Aug 23, 2023
1 parent 3773bd5 commit aec3e80
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@ 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
uses: r-lib/actions/setup-renv@v2
Expand Down

0 comments on commit aec3e80

Please sign in to comment.