Learn R Programming

vvmover (version 1.6.0)

check_installed_package: check_installed_package

Description

Check if a package is installed. If not, throw an error message

Usage

check_installed_package(package_name, check = FALSE)

Value

Boolean value whether package is installed.

Arguments

package_name

the name of the package (quoted)

check

the function should work as a boolean operator

Examples

Run this code
check_installed_package("dplyr")

Run the code above in your browser using DataLab