Learn R Programming

pacman (version 0.5.1)

p_isinstalled: Checks if Package is Installed

Description

Check if package is installed locally.

Usage

p_isinstalled(package)

Arguments

package

Name of package you want to check. This can be quoted or unquoted.

Examples

Run this code
# NOT RUN {
p_installed(pacman)
p_installed(fakePackage)
# }

Run the code above in your browser using DataLab