assert_is_installed: Assert a package is installed.

Description Usage Arguments Value Examples

View source: R/assert_is_installed.R

Description

Assert a package is installed.

Usage

1

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

1
2
3
4
5
assert_is_installed("base")
## Not run: 
try(assert_is_installed("bad"))

## End(Not run)

fgeo.tool documentation built on March 23, 2020, 5:07 p.m.