From 99f59f5a96d1e2a64be5cbcf4054b4283ab9f872 Mon Sep 17 00:00:00 2001 From: Emil Hvitfeldt Date: Wed, 21 Feb 2024 10:23:51 -0800 Subject: [PATCH] update snapshots --- tests/testthat/_snaps/adasyn.md | 3 ++- tests/testthat/_snaps/bsmote.md | 3 ++- tests/testthat/_snaps/nearmiss.md | 3 ++- tests/testthat/_snaps/smote.md | 3 ++- tests/testthat/_snaps/tomek.md | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/tests/testthat/_snaps/adasyn.md b/tests/testthat/_snaps/adasyn.md index 7611061..2dd1553 100644 --- a/tests/testthat/_snaps/adasyn.md +++ b/tests/testthat/_snaps/adasyn.md @@ -32,7 +32,8 @@ Condition Error in `step_adasyn()`: Caused by error in `prep()`: - ! All columns selected for the step should be double, or integer. + x All columns selected for the step should be double or integer. + * 1 factor variable found: `y` # NA in response diff --git a/tests/testthat/_snaps/bsmote.md b/tests/testthat/_snaps/bsmote.md index ec03855..51b7cf8 100644 --- a/tests/testthat/_snaps/bsmote.md +++ b/tests/testthat/_snaps/bsmote.md @@ -23,7 +23,8 @@ Condition Error in `step_bsmote()`: Caused by error in `prep()`: - ! All columns selected for the step should be double, or integer. + x All columns selected for the step should be double or integer. + * 1 factor variable found: `y` # NA in response diff --git a/tests/testthat/_snaps/nearmiss.md b/tests/testthat/_snaps/nearmiss.md index d810965..cd3fdd6 100644 --- a/tests/testthat/_snaps/nearmiss.md +++ b/tests/testthat/_snaps/nearmiss.md @@ -23,7 +23,8 @@ Condition Error in `step_nearmiss()`: Caused by error in `prep()`: - ! All columns selected for the step should be double, or integer. + x All columns selected for the step should be double or integer. + * 1 factor variable found: `y` # NA in response diff --git a/tests/testthat/_snaps/smote.md b/tests/testthat/_snaps/smote.md index 50caadc..bf27625 100644 --- a/tests/testthat/_snaps/smote.md +++ b/tests/testthat/_snaps/smote.md @@ -32,7 +32,8 @@ Condition Error in `step_smote()`: Caused by error in `prep()`: - ! All columns selected for the step should be double, or integer. + x All columns selected for the step should be double or integer. + * 1 factor variable found: `y` # NA in response diff --git a/tests/testthat/_snaps/tomek.md b/tests/testthat/_snaps/tomek.md index 5492355..975b1f6 100644 --- a/tests/testthat/_snaps/tomek.md +++ b/tests/testthat/_snaps/tomek.md @@ -23,7 +23,8 @@ Condition Error in `step_tomek()`: Caused by error in `prep()`: - ! All columns selected for the step should be double, or integer. + x All columns selected for the step should be double or integer. + * 1 factor variable found: `y` # NA in response