From 65a033467712f52d116c4fe777709b3b7af468ae Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Mon, 22 Apr 2024 23:35:51 +0300 Subject: [PATCH] Speedup cloning experimental rstan --- .github/workflows/check-standalone.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-standalone.yaml b/.github/workflows/check-standalone.yaml index 60afb95..861e200 100644 --- a/.github/workflows/check-standalone.yaml +++ b/.github/workflows/check-standalone.yaml @@ -73,11 +73,18 @@ jobs: rcmdcheck::rcmdcheck(path = "lgpr", args = c("--no-manual", "--as-cran"), build_args = "--no-manual") shell: Rscript {0} + - name: Checkout RStan Experimental branch + uses: actions/checkout@v3 + with: + repository: stan-dev/rstan + ref: experimental + path: ~/rstan + - name: Install Experimental StanHeaders and Experimental RStan run: | Sys.setenv(MAKEFLAGS=paste0("-j",parallel::detectCores())) - remotes::install_github("stan-dev/rstan@experimental", subdir="StanHeaders") - remotes::install_github("stan-dev/rstan@experimental", subdir="rstan/rstan") + install.packages("~/rstan/StanHeaders", type = "source", repos = NULL) + install.packages("~/rstan/rstan/rstan", type = "source", repos = NULL) shell: Rscript {0} - name: Check against Experimental StanHeaders and Experimental RStan