Defines functions install_dependencies

Documented in install_dependencies

#' Install all dependencies for the DALEX package
#' By default 'heavy' dependencies are not installed along DALEX.
#' This function silently install all required packages.
#' @param packages which packages shall be installed?
#' @importFrom utils install.packages
#' @export
install_dependencies <- function(packages = c("ingredients", "iBreakDown", "ggpubr")) {
  sapply(packages, function(package) {
    cat("\nInstallation of the ", package, " initiated.\n")
    try(install.packages(package), silent = TRUE)

Try the DALEX package in your browser

Any scripts or data that you put into this service are public.

DALEX documentation built on July 28, 2021, 5:09 p.m.