[Experimental]

is_installed(pkg = NULL)

Arguments

pkg

Character indicating the package to search.

Value

Logical of length one (i.e., TRUE or FALSE).

Examples

is_installed("npm")
#> [1] TRUE
is_installed("brew")
#> [1] TRUE