Skip to content

Commit

Permalink
Preinstall pak
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Nov 6, 2024
1 parent 86f435a commit 5afce51
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,16 @@ jobs:
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- name: pre-install pak
run: |
install.packages("pak", repos = "https://r-lib.r-universe.dev")
shell: Rscript {0}

- uses: r-lib/actions/setup-r-dependencies@feature/pak-from-repo
with:
extra-packages: any::rcmdcheck
needs: check
pak-version: repo
pak-version: none

- uses: r-lib/actions/check-r-package@v2
env:
Expand Down

0 comments on commit 5afce51

Please sign in to comment.