diff --git a/.github/workflows/check-standard.yaml b/.github/workflows/check-standard.yaml index 5c7ae62..f8cac1f 100644 --- a/.github/workflows/check-standard.yaml +++ b/.github/workflows/check-standard.yaml @@ -49,6 +49,13 @@ jobs: cat("\noptions(repos=c(ropensci='https://ropensci.r-universe.dev',CRAN ='https://cloud.r-project.org', stan = 'https://stan-dev.r-universe.dev'))\n", file = "~/.Rprofile", append = TRUE) shell: Rscript {0} + - name: Install cmdstan + run: | + install.packages("cmdstanr") + cmdstanr::check_cmdstan_toolchain(fix = TRUE) + cmdstanr::install_cmdstan(cores = 2) + shell: Rscript {0} + - uses: r-lib/actions/setup-r-dependencies@v2 with: extra-packages: any::rcmdcheck, local::.