Skip to content

Commit fc0d2cf

Browse files
committed
Skip one install test if using a custom tarball URL (e.g. release candidate)
1 parent 9e9d513 commit fc0d2cf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/testthat/test-install.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ test_that("install_cmdstan() errors if installation already exists", {
3939
})
4040

4141
test_that("install_cmdstan() errors if it times out", {
42+
skip_if(!is.null(cmdstan_test_tarball_url))
43+
4244
if (getRversion() < '3.5.0') {
4345
dir <- tempdir()
4446
} else {

0 commit comments

Comments
 (0)