Learn R Programming

SeuratObject (version 4.0.4)

PackageCheck: Check the existence of a package

Description

Check the existence of a package

Usage

PackageCheck(..., error = TRUE)

Arguments

...

Package names

error

If true, throw an error if the package doesn't exist

Value

Invisibly returns boolean denoting if the package is installed

Examples

Run this code
# NOT RUN {
PackageCheck("SeuratObject", error = FALSE)

# }

Run the code above in your browser using DataLab