assert_is_installed {fgeo.tool} | 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)