Skip to content

Commit

Permalink
more test skips
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Oct 23, 2024
1 parent b837024 commit 48f3fdd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-tailor.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
skip_if_not_installed("probably")

test_that("tailor printing", {
expect_snapshot(tailor())
expect_snapshot(tailor())
Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ test_that("tailor_fully_trained works", {


test_that("tailor_requires_fit works", {
skip_if_not_installed("probably")

expect_false(tailor_requires_fit(tailor()))
expect_false(
tailor_requires_fit(tailor() %>% adjust_probability_threshold(.5))
Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-validation-rules.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
skip_if_not_installed("probably")

test_that("validation of adjustments (regression)", {
expect_no_condition(
reg_tailor <-
Expand Down

0 comments on commit 48f3fdd

Please sign in to comment.