Skip to content

Commit 9ab8532

Browse files
committed
don't let id variables come through
1 parent 339ad8f commit 9ab8532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/metric-aaa.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ extract_post_preprocessor <- function(object, new_data) {
234234
} else if (inherits(preprocessor, "recipe")) {
235235
new_data <- object %>%
236236
hardhat::extract_recipe() %>%
237-
recipes::bake(new_data)
237+
recipes::bake(new_data, recipes::all_predictors())
238238
}
239239
new_data
240240
}

0 commit comments

Comments
 (0)