From 2ab63d8b32744b0fa1cbfd663c86af3fe132b736 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Wed, 22 May 2024 21:18:15 +0300 Subject: [PATCH] CI needs 2.35 RC for stock rtools --- .github/workflows/R-CMD-check.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 37000a84..e2fe66f5 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -69,6 +69,11 @@ jobs: - name: Install cmdstan run: | cmdstanr::check_cmdstan_toolchain(fix = TRUE) + if (Sys.getenv("CMDSTANR_USE_RTOOLS") == "TRUE") { + cmdstanr::install_cmdstan(cores = 2, version = "2.35.0-rc2") + } else { + cmdstanr::install_cmdstan(cores = 2) + } cmdstanr::install_cmdstan(cores = 2) shell: Rscript {0}