load_packages
checks if a vector of packages are installed, if not, installs them.
Then loads them ready for use. unload_packages
unloads packages, see detach
load_packages(...) unload_packages(...) reload_packages(...)
... | list of packages to be passed loaded or unloaded |
---|
load_packages(magrittr, purrr, stringi, lubridate) unload_packages(magrittr, purrr)#> Warning: ‘magrittr’ namespace cannot be unloaded: #> namespace ‘magrittr’ is imported by ‘purrr’, ‘mutils’, ‘dplyr’, ‘pkgdown’, ‘tibble’ so cannot be unloaded#> Warning: ‘purrr’ namespace cannot be unloaded: #> namespace ‘purrr’ is imported by ‘tidyselect’ so cannot be unloadedreload_packages(stringi, lubridate)