Description Usage Arguments Value Examples
View source: R/load_packages.R
Check if a package is installed. If not, install it before
1 | load_packages(..., require = TRUE)
|
... |
the names of packages as unquoted, comma-separated strings |
require |
If TRUE (the default), the packages are loaded. If FALSE, the function only checks whether they are installed and installs them if not. |
inherited from require.
1 2 3 4 | ## Not run:
load_packages(package1, package2, package3)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.