Check if a package is available

is_package_available(pkg_name)

Arguments

pkg_name

A package name

Value

A logical value

Examples


misc::is_package_available("dplyr")
#> [1] TRUE