Skip to content

Commit

Permalink
bump hardhat sparse composition snap (closes #228)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Nov 14, 2024
1 parent 30e2d44 commit ef8ae1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/sparse-glmnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
Condition
Error in `recompose()`:
! `data` must only contain numeric columns.
i These columns aren't numeric: "international_plan".
i This column isn't numeric: "international_plan".

2 changes: 1 addition & 1 deletion tests/testthat/test-sparse-glmnet.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ matrix_bp <- default_recipe_blueprint(composition = "matrix")
## -----------------------------------------------------------------------------

test_that('sparse composition errors', {
skip_if_not_installed("hardhat", minimum_version = "1.2.0.9000")
skip_if_not_installed("hardhat", minimum_version = "1.4.0.9002")

expect_snapshot(error = TRUE, {
mold(rec, mlc_churn, blueprint = sparse_bp)
Expand Down

0 comments on commit ef8ae1c

Please sign in to comment.