Skip to content

Commit

Permalink
try RSPM in GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bbolker committed Apr 9, 2024
1 parent 8f3b619 commit 25e9afe
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/R-CMD-check.yaml
Expand Up @@ -40,22 +40,17 @@ jobs:
- uses: r-lib/actions/setup-r@v2
with:
extra-repositories: http://bbolker.github.io/drat
use-public-rspm: true

- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r-dependencies@v2

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check
upgrade: 'TRUE'

- uses: r-lib/actions/setup-r@v2
with:
# not sure why this isn't picked up from DESCRIPTION?
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- name: Install texlive etc.
- name: Install texlive etc.
if: runner.os == 'Linux'
run: sudo apt-get install texlive texlive-science texlive-latex-extra texlive-bibtex-extra

Expand Down

0 comments on commit 25e9afe

Please sign in to comment.