diff --git a/tests/testthat/test-icc.R b/tests/testthat/test-icc.R index 7b467ac51..ad4e4b033 100644 --- a/tests/testthat/test-icc.R +++ b/tests/testthat/test-icc.R @@ -38,6 +38,7 @@ test_that("icc, CI", { test_that("icc", { skip_on_cran() + skip_if_not_installed("curl") skip_if_offline() skip_if_not_installed("httr") m2 <- insight::download_model("stanreg_lmerMod_1") @@ -54,6 +55,7 @@ test_that("icc", { test_that("icc", { skip_on_cran() + skip_if_not_installed("curl") skip_if_offline() skip_if_not_installed("httr") m3 <- insight::download_model("brms_mixed_1") @@ -67,6 +69,7 @@ test_that("icc", { test_that("icc", { skip_on_cran() + skip_if_not_installed("curl") skip_if_offline() skip_if_not_installed("httr") m3 <- insight::download_model("brms_mixed_1") diff --git a/tests/testthat/test-model_performance.bayesian.R b/tests/testthat/test-model_performance.bayesian.R index 2f933e76c..57ef8e0eb 100644 --- a/tests/testthat/test-model_performance.bayesian.R +++ b/tests/testthat/test-model_performance.bayesian.R @@ -1,5 +1,6 @@ test_that("model_performance.stanreg", { skip_on_cran() + skip_if_not_installed("curl") skip_if_offline() skip_if_not_installed("httr") set.seed(333) @@ -31,6 +32,7 @@ test_that("model_performance.stanreg", { test_that("model_performance.brmsfit", { skip_on_cran() + skip_if_not_installed("curl") skip_if_offline() skip_if_not_installed("httr") set.seed(333) diff --git a/tests/testthat/test-model_performance.merMod.R b/tests/testthat/test-model_performance.merMod.R index 12ed44ede..0c70da3c3 100644 --- a/tests/testthat/test-model_performance.merMod.R +++ b/tests/testthat/test-model_performance.merMod.R @@ -1,5 +1,6 @@ test_that("model_performance.merMod", { skip_on_cran() + skip_if_not_installed("curl") skip_if_offline() skip_if_not_installed("httr")