assert_is_installed {fgeo.tool} | R Documentation |
Assert a package is installed.
Description
Assert a package is installed.
Usage
assert_is_installed(pkg)
Arguments
pkg |
Character vector giving the name of a package. |
Value
An error if pkg
is not installed or invisible pkg
if it is.
Examples
assert_is_installed("base")
## Not run:
try(assert_is_installed("bad"))
## End(Not run)
[Package fgeo.tool version 1.2.10 Index]