R/install_all_dependencies.R

Defines functions install_all_dependencies

Documented in install_all_dependencies

#' Install all dependencies for all functions
#'
#' Install all dependencies for all functions in Package 'kim'.
#'
#' @return there will be no output from this function. Rather,
#' dependencies of all functions in Package 'kim' will be installed.
#' @examples
#' \dontrun{
#' install_all_dependencies()
#' }
#' @export
install_all_dependencies <- function() {
  # packages and dependencies to install
  pkgs <- c(
    "boot", "car", "data.table", "effsize", "ggplot2",
    "ggridges", "gridExtra", "interactions", "lemon", "lm.beta",
    "mediation", "moments", "paran", "psych", "remotes", "svglite",
    "weights", "WRS2", "MASS",
    "lmtest", "sandwich")
  # prep the packages
  kim::prep(pkgs, pkg_names_as_object = TRUE)
}

Try the kim package in your browser

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

kim documentation built on Oct. 9, 2023, 5:08 p.m.