check_installed | R Documentation |
Checks if a package is installed, launches an error if it is not.
check_installed(pkgs, fn = "This function")
pkgs |
Character vector with the names of the packages. |
fn |
Function calling the check. |
The package is loaded into the namespace.
martini:::check_installed(c("martini"))
## Not run: martini:::check_installed("martinid")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.