Skip to content

Commit

Permalink
cmdstanr
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Jul 25, 2023
1 parent 65e284d commit 2ffd9cc
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
matrix:
config:
- {os: macOS-latest, r: 'release'}
- {os: windows-latest, r: 'release', rtools: '43'}
- {os: windows-latest, r: 'release', rtools: '42'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}
Expand All @@ -33,7 +33,7 @@ jobs:
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
rtools-version: '43'
rtools-version: '42'
extra-repositories: 'https://mc-stan.org/r-packages/'
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true
Expand All @@ -42,6 +42,14 @@ jobs:
with:
extra-packages: any::rcmdcheck, local::.
needs: check

- name: Install CmdStan
shell: Rscript {0}
run: |
install.packages("cmdstanr", repos = c("https://mc-stan.org/r-packages/", getOption("repos")))
cmdstanr::check_cmdstan_toolchain(fix = TRUE)
cmdstanr::install_cmdstan()
writeLines("options(brms.backend = \"cmdstanr\")", "~/.Rprofile")
- uses: r-lib/actions/check-r-package@v2
with:
Expand Down

0 comments on commit 2ffd9cc

Please sign in to comment.