Skip to content

Commit

Permalink
Tell check action about cmdstan(r)
Browse files Browse the repository at this point in the history
  • Loading branch information
chjackson committed Apr 3, 2024
1 parent 1841f75 commit 26c9273
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,20 @@ jobs:
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
extra-repositories: 'https://mc-stan.org/r-packages'
use-public-rspm: true

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

- name: Install CmdStan
run: |
cmdstanr::check_cmdstan_toolchain(fix = TRUE)
cmdstanr::install_cmdstan()
shell: Rscript {0}

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
Expand Down

0 comments on commit 26c9273

Please sign in to comment.