pkg_require | R Documentation |
Load the package, making sure to load from the correct location. Sometimes people have different versions of packages installed, so if the package is currently loaded, make sure to load from the place it was already loaded from.
pkg_require(pkgs, do_not_ask = FALSE)
pkgs |
A character vector of packages to load. |
do_not_ask |
Prevent asking the user to install missing packages (they are skipped). |
quietly |
Prevent package startup messages. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.