Skip to content

Commit

Permalink
tweak CI setup order
Browse files Browse the repository at this point in the history
  • Loading branch information
t-kalinowski committed Jul 26, 2023
1 parent ad851d5 commit 4d47c30
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ jobs:
# if: steps.r-package-cache.outputs.cache-hit != 'true'
# run: install.packages("remotes")

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: rcmdcheck remotes local::.
cache-version: 4
upgrade: 'TRUE'

- name: Install system dependencies
if: runner.os == 'Linux'
shell: bash
Expand All @@ -96,11 +102,6 @@ jobs:
sudo $cmd
done < <(Rscript -e "writeLines(remotes::system_requirements('$ID-$VERSION_ID'))")
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: rcmdcheck remotes local::.
cache-version: 4
upgrade: 'TRUE'
# - name: Install Package + deps
# run: remotes::install_local(dependencies = TRUE, force = TRUE)
Expand Down

0 comments on commit 4d47c30

Please sign in to comment.