Skip to content

Commit

Permalink
Merge pull request #35 from csoneson/update-actions-sysreqs
Browse files Browse the repository at this point in the history
Try setup-r-dependencies action
  • Loading branch information
csoneson authored May 16, 2024
2 parents 130d586 + c7cfacb commit b1b1a85
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,14 @@ jobs:
if: runner.os == 'Linux'
env:
RHUB_PLATFORM: linux-x86_64-ubuntu-gcc
run: |
Rscript -e "remotes::install_github('r-hub/sysreqs')"
sysreqs=$(Rscript -e "cat(sysreqs::sysreq_commands('DESCRIPTION'))")
sudo -s eval "$sysreqs"
sudo apt-get update && sudo apt-get -y install libcurl4-openssl-dev libharfbuzz-dev libfribidi-dev
uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
#run: |
# Rscript -e "remotes::install_github('r-hub/sysreqs')"
# sysreqs=$(Rscript -e "cat(sysreqs::sysreq_commands('DESCRIPTION'))")
# sudo -s eval "$sysreqs"
# sudo apt-get update && sudo apt-get -y install libcurl4-openssl-dev libharfbuzz-dev libfribidi-dev

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

0 comments on commit b1b1a85

Please sign in to comment.