Description Usage Arguments Value Examples
Checks if a package is installed, launches an error if it is not.
1 | check_installed(pkg, fn = "this function")
|
pkg |
Name of the package. |
fn |
Function calling the check. |
The package is loaded into the namespace.
1 2 | martini:::check_installed("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.