View source: R/assert_is_installed.R
assert_is_installed | R Documentation |
Assert a package is installed.
assert_is_installed(pkg)
pkg |
Character vector giving the name of a package. |
An error if pkg
is not installed or invisible pkg
if it is.
assert_is_installed("base")
## Not run:
try(assert_is_installed("bad"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.