We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e1ba7d commit 1100ad3Copy full SHA for 1100ad3
R/engines.R
@@ -42,10 +42,12 @@ check_installs <- function(x) {
42
if (length(x$method$libs) > 0) {
43
is_inst <- map_lgl(x$method$libs, is_installed)
44
if (any(!is_inst)) {
45
+ missing_pkg <- x$method$libs[!is_inst]
46
+ missing_pkg <- paste0(missing_pkg, collapse = ", ")
47
rlang::abort(
48
glue::glue(
49
"This engine requires some package installs: ",
- glue::glue_collapse(glue::glue("'{x}'"), sep = ", ")
50
+ glue::glue_collapse(glue::glue("'{missing_pkg}'"), sep = ", ")
51
)
52
53
}
0 commit comments