From eac5e9824cf64e372a46a8d3eb17947329e9cb84 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Fri, 19 Jan 2024 22:58:42 +0100 Subject: [PATCH] bandaid for curl non-issue --- tests/testthat/test-icc.R | 3 +++ tests/testthat/test-model_performance.bayesian.R | 2 ++ tests/testthat/test-model_performance.merMod.R | 1 + 3 files changed, 6 insertions(+) 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")