| has_pkg | R Documentation |
Emits an informative message() (not an error) if the package is
missing, so that the caller can skip optional functionality gracefully.
has_pkg(pkg, feature = NULL)
pkg |
Package name as a character string. |
feature |
Short description of what requires the package (for message). |
Logical TRUE if available, FALSE otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.