Skip to content

Commit 50b9230

Browse files
committed
Install cmdstanr in Actions
1 parent 0e59053 commit 50b9230

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/R-CMD-check.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ jobs:
4747
extra-packages: any::rcmdcheck, any::BH, any::RcppEigen, any::vdiffr, any::cmdstanr
4848
needs: check
4949

50+
- name: Install CmdStan
51+
run: Rscript -e "cmdstanr::install_cmdstan()"
52+
5053
- uses: r-lib/actions/check-r-package@v2
5154
with:
5255
upload-snapshots: true

.github/workflows/test-coverage.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
extra-packages: any::covr, any::xml2, any::vdiffr, any::cmdstanr
2929
needs: coverage
3030

31+
- name: Install CmdStan
32+
run: Rscript -e "cmdstanr::install_cmdstan()"
33+
3134
- name: Test coverage
3235
run: |
3336
cov <- covr::package_coverage(

0 commit comments

Comments
 (0)