Skip to content

Commit

Permalink
gh actions system dependencies (Linux)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafapereirabr committed Sep 12, 2024
1 parent 4e28d9e commit dd048c2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,9 @@ jobs:
- name: Install system dependencies (Linux)
if: runner.os == 'Linux'
run: |
while read -r cmd
do
eval sudo $cmd
done < <(Rscript -e 'writeLines(remotes::system_requirements("ubuntu", "20.04"))')
working-directory: r-package
pak::local_system_requirements(execute = TRUE)
pak::pkg_system_requirements("rcmdcheck", execute = TRUE)
shell: Rscript {0}

- name: Install system dependencies (MacOS)
if: runner.os == 'macOS'
Expand Down

0 comments on commit dd048c2

Please sign in to comment.