Closed
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)}'"