-
Notifications
You must be signed in to change notification settings - Fork 95
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviornext release 🚀
Description
This code:
multi_predict.default <- function(object, ...)
rlang::abort(
glue::glue(
"No `multi_predict` method exists for objects with classes ",
glue::glue_collapse(glue::glue("'{class()}'"), sep = ", ")
)
)
gives a wrong error message of
Error in class(): 0 arguments passed to 'class' which requires 1"
It should probably use "'{class(object)}'"
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviornext release 🚀