load_packages: Load packages (and install them, if need be)

Description Usage Arguments Value Examples

View source: R/load_packages.R

Description

Check if a package is installed. If not, install it before

Usage

1

Arguments

...

the names of packages as unquoted, comma-separated strings

require

If TRUE (the default), the packages are loaded. If FALSE, the function only checks whether they are installed and installs them if not.

Value

inherited from require.

Examples

1
2
3
4
## Not run: 
load_packages(package1, package2, package3)

## End(Not run)

hartmast/wizard documentation built on Oct. 7, 2020, 4:16 p.m.