Skip to content

Commit

Permalink
try install cmdstanr first
Browse files Browse the repository at this point in the history
  • Loading branch information
hillalex committed Jun 27, 2024
1 parent 240a5f3 commit a392aa0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/check-standard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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::.
Expand Down

0 comments on commit a392aa0

Please sign in to comment.