R/assert_is_installed.R
assert_is_installed.Rd
Assert a package is installed.
assert_is_installed(pkg)
Character vector giving the name of a package.
An error if pkg is not installed or invisible pkg if it is.
pkg
assert_is_installed("base") if (FALSE) { try(assert_is_installed("bad")) }