Loads packages, installing them if necessary

Description

load_packages_robustly loads a character vector of packages installing any packages not currently installed

Usage

1
2
  load_packages_robustly(packages,
    repos = getOption("repos"))

Arguments

packages

Character vector of package names to be loaded

repos

Base URLs of repositories to use

Value

Returns invisible(NULL), as side effect loads and possibly installs packages


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.