Skip to content

Commit 02c6350

Browse files
committed
reword prompt
1 parent 981ed98 commit 02c6350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/predict_classprob.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ check_spec_levels <- function(spec) {
5555
glue::glue(
5656
"The outcome variable `{spec$preproc$y_var}` has a level called 'class'. ",
5757
"This level is reserved for parsnip's classification internals; please ",
58-
"adjust the levels to use a different value."
58+
"change the levels, perhaps with `forcats::fct_relevel()`."
5959
),
6060
call = NULL
6161
)

0 commit comments

Comments
 (0)