Skip to content

Commit 093470b

Browse files
refer to outcome entry as value rather than level
Co-authored-by: Julia Silge <[email protected]>
1 parent 02c6350 commit 093470b

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
@@ -54,7 +54,7 @@ check_spec_levels <- function(spec) {
5454
rlang::abort(
5555
glue::glue(
5656
"The outcome variable `{spec$preproc$y_var}` has a level called 'class'. ",
57-
"This level is reserved for parsnip's classification internals; please ",
57+
"This value is reserved for parsnip's classification internals; please ",
5858
"change the levels, perhaps with `forcats::fct_relevel()`."
5959
),
6060
call = NULL

0 commit comments

Comments
 (0)