Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2874591

Browse files
committedJan 28, 2025·
skips, waiting for dev hardhat
1 parent c68874c commit 2874591

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎tests/testthat/test-validation.R

+2
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ test_that('bad values', {
6565
# ------------------------------------------------------------------------------
6666

6767
test_that('wrong y for C5', {
68+
skip_if_not_installed("hardhat", minimum_version = "1.4.0.9002")
6869
expect_snapshot(
6970
bagger(Sepal.Length ~ ., data = iris, times = 2L, base_model = "C5.0"),
7071
error = TRUE
@@ -99,6 +100,7 @@ test_that('validate imps', {
99100
test_that('bad inputs', {
100101
skip_if_not_installed("earth")
101102
skip_if_not_installed("modeldata")
103+
skip_if_not_installed("hardhat", minimum_version = "1.4.0.9002")
102104

103105
expect_snapshot(
104106
bagger(mpg ~ ., data = mtcars, base_model = letters[1:2]),

0 commit comments

Comments
 (0)
Please sign in to comment.