This function is used to politely ask the user to install requiring packages. It is intended to be used in interactive sessions only.

install_pkg_set(set = pkg_all, dependencies = TRUE)

Arguments

set

(chr) packages' names

dependencies

do you want to install the dependencies?

Value

invisible character vector of the subset of `interested` which was not already present, and installed.

Details

You can pass arbitrarily sets of packages; on the other hands, you can use some sets already prepared and included into `depigner` (see `?pkg_sets`).

Note

By default this function install all the packages listed in `pkg_all`, which is the union of all the sets of packages listed in `?pkg_sets`.

See also

please_install, pkg_sets

Examples

if (FALSE) {
  install_pkg_set() # to install all the `?pkg_all`
}