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)
(chr) packages' names
do you want to install the dependencies?
invisible character vector of the subset of `interested` which was not already present, and installed.
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`).
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`.
please_install, pkg_sets
if (FALSE) {
install_pkg_set() # to install all the `?pkg_all`
}