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 9a2401d commit f1773fcCopy full SHA for f1773fc
inst/add-in/gadget.R
@@ -3,7 +3,7 @@ parsnip_spec_add_in <- function() {
3
# check installs
4
5
libs <- c("shiny", "miniUI", "rstudioapi")
6
- is_inst <- purrr::map_lgl(libs, parsnip:::is_installed)
+ is_inst <- rlang::is_installed(libs)
7
if (any(!is_inst)) {
8
missing_pkg <- libs[!is_inst]
9
missing_pkg <- paste0(missing_pkg, collapse = ", ")
0 commit comments