File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,5 +9,11 @@ revdepcheck::revdep_check(
99 timeout = as.difftime(
1010 as.integer(Sys.getenv(" TIMEOUT_MINUTES" )),
1111 units = " mins"
12+ ),
13+ quiet = FALSE ,
14+ env = c(
15+ revdepcheck :: revdep_env_vars(),
16+ R_LIBS_SITE = normalizePath(.libPaths()[1 ], mustWork = TRUE )
1217 )
1318)
19+
Original file line number Diff line number Diff line change @@ -45,13 +45,21 @@ jobs:
4545 - uses : r-lib/actions/setup-r@v2
4646 with :
4747 use-public-rspm : true
48+ extra-repositories : |
49+ https://stan-dev.r-universe.dev
50+
51+ - name : Install system libraries for hard revdeps
52+ run : |
53+ sudo apt-get update
54+ sudo apt-get install -y libmagick++-dev libopenmpi-dev openmpi-bin
4855
4956 - uses : r-lib/actions/setup-r-dependencies@v2
5057 with :
5158 extra-packages : |
5259 r-lib/revdepcheck
5360 any::callr
5461 any::rstantools
62+ any::cmdstanr
5563 any::systemfonts
5664 any::textshaping
5765 any::ragg
6876 any::Rmpi
6977 needs : check
7078
79+ - name : cmdstan env vars
80+ run : |
81+ echo "CMDSTAN_PATH=${HOME}/.cmdstan" >> "$GITHUB_ENV"
82+ shell : bash
83+
84+ - name : Install cmdstan
85+ run : |
86+ cmdstanr::check_cmdstan_toolchain()
87+ cmdstanr::install_cmdstan(cores = 2)
88+ shell : Rscript {0}
89+
7190 - name : Run revdepcheck
7291 id : revdep
7392 run : bash .github/revdepcheck/run.sh
You can’t perform that action at this time.
0 commit comments