Skip to content

Commit 4cc51af

Browse files
committed
dont run install test that relies on latest release not being RC
1 parent 99528bf commit 4cc51af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/testthat/test-install.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ test_that("install_cmdstan() successfully installs cmdstan", {
3030
test_that("install_cmdstan() errors if installation already exists", {
3131
skip_if_offline()
3232
skip_on_cran()
33+
skip_if(grepl("rc.+$", cmdstanr::cmdstan_path()))
3334
if (not_on_cran()) {
3435
# want to test passing NULL to install_cmdstan but need a real dir to
3536
# check in dir.exists() below so also create dir_check

0 commit comments

Comments
 (0)