check if package is installed

check_pkg_installed(pkg, raise_error = TRUE)

Arguments

pkg

character, package name

raise_error

logical

Value

logical

Examples

check_pkg_installed("easyalluvial")
#> [1] TRUE