Check that packages are installed and install them if not. Optionally, make sure that the most recent version of 'env' packages is installed.
check_packages(packages, update_env = FALSE)
Unique, sorted vector of package names
setup_packages(c("dplyr", "envFunc"))
#> Error in setup_packages(c("dplyr", "envFunc")): could not find function "setup_packages"