Skip to content

Commit

Permalink
adds step for installing sys deps
Browse files Browse the repository at this point in the history
Geert van Geest committed Apr 30, 2024
1 parent db8bae2 commit 94d964d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -32,7 +32,14 @@ jobs:
uses: r-lib/actions/setup-r@v2
with:
r-version: '4.3.1'

- name: Install system dependencies
shell: bash {0}
run: |
Rscript -e "install.packages('remotes')" -e "remotes::install_github('mdneuzerling/getsysreqs')"
sysreqs=$(Rscript -e "cat(getsysreqs::apt_get_install('renv.lock', distribution = 'ubuntu', release = '20.04'))")
echo $sysreqs
apt-get update
eval "$sysreqs"
- name: Install R Dependencies
uses: r-lib/actions/setup-renv@v2
with:

0 comments on commit 94d964d

Please sign in to comment.