install packages if missing
Arguments
- to_be_installed
a character vector containing required packages names
- ...
Arguments to be passed to
utils::install.packages()
Examples
if (FALSE) {
# This will install packages on your system
install_if_missing(c("dplyr", "fcuk", "rusk"))
}