Skip to content

Commit

Permalink
bandaid for curl non-issue
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Jan 19, 2024
1 parent a0b1275 commit eac5e98
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testthat/test-icc.R
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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")
Expand All @@ -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")
Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-model_performance.bayesian.R
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-model_performance.merMod.R
Original file line number Diff line number Diff line change
@@ -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")

Expand Down

0 comments on commit eac5e98

Please sign in to comment.