Skip to contents

Determines if the specified package is installed.

Usage

is_installed(pkgname)

Arguments

pkgname

Name of package

Value

Logical indicating if the packages is installed or not

Examples

# This package should exist
is_installed('digest')
#> [1] TRUE

# This package should not exist
is_installed('bad package name')
#> [1] FALSE