From 113eb77613b1654180304c3f81417961c671375b Mon Sep 17 00:00:00 2001 From: Sebastian Funk Date: Tue, 13 Feb 2024 08:07:24 +0000 Subject: [PATCH] Revert "use epinowcast action for installing cmdstan" This reverts commit e57ae76dab09f8a1949041f760ebbbfa2b4de998. --- .github/workflows/R-CMD-as-cran-check.yaml | 8 ++++---- .github/workflows/R-CMD-check.yaml | 8 ++++---- .github/workflows/test-coverage.yaml | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/R-CMD-as-cran-check.yaml b/.github/workflows/R-CMD-as-cran-check.yaml index 76b7ece93..6707fa6fd 100644 --- a/.github/workflows/R-CMD-as-cran-check.yaml +++ b/.github/workflows/R-CMD-as-cran-check.yaml @@ -43,10 +43,10 @@ jobs: testthat - name: Install cmdstan - uses: epinowcast/actions/install-cmdstan@v1 - with: - cmdstan-version: 'latest' - num-cores: 2 + run: | + cmdstanr::check_cmdstan_toolchain(fix = TRUE) + cmdstanr::install_cmdstan(cores = 2, quiet = TRUE) + shell: Rscript {0} - uses: r-lib/actions/check-r-package@v2 with: diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index e2af163cd..7f5bd6356 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -68,10 +68,10 @@ jobs: - name: Install cmdstan if: runner.os != 'Windows' - uses: epinowcast/actions/install-cmdstan@v1 - with: - cmdstan-version: 'latest' - num-cores: 2 + run: | + cmdstanr::check_cmdstan_toolchain(fix = TRUE) + cmdstanr::install_cmdstan(cores = 2, quiet = TRUE) + shell: Rscript {0} - uses: r-lib/actions/check-r-package@v2 with: diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index ae5a0a751..f352c2870 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -33,10 +33,10 @@ jobs: testthat - name: Install cmdstan - uses: epinowcast/actions/install-cmdstan@v1 - with: - cmdstan-version: 'latest' - num-cores: 2 + run: | + cmdstanr::check_cmdstan_toolchain(fix = TRUE) + cmdstanr::install_cmdstan(cores = 2, quiet = TRUE) + shell: Rscript {0} - name: Test coverage run: covr::codecov(quiet = FALSE)