Skip to content

Commit

Permalink
make sysreqs work on older versions that we dont check vignettes on a…
Browse files Browse the repository at this point in the history
…nyway
  • Loading branch information
mjskay committed Apr 24, 2024
1 parent a663298 commit f27499f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
RHUB_PLATFORM: linux-x86_64-ubuntu-gcc
run: |
Rscript -e "install.packages('pak')"
sysreqs=$(Rscript -e "cat(pak::pkg_sysreqs('.', dependencies = TRUE)[['install_scripts']])")
sysreqs=$(Rscript -e "cat(tryCatch(pak::pkg_sysreqs('.', dependencies = TRUE), error = function(e) pak::pkg_sysreqs('.'))[['install_scripts']])")
sudo -s eval "$sysreqs"
- name: Install dependencies
Expand Down

0 comments on commit f27499f

Please sign in to comment.