Learn R Programming

SeuratObject (version 4.1.4)

PackageCheck: Check the existence of a package

Description

Check the existence of a package

Usage

PackageCheck(..., error = TRUE)

Value

Invisibly returns boolean denoting if the package is installed

Arguments

...

Package names

error

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

Examples

Run this code
PackageCheck("SeuratObject", error = FALSE)

Run the code above in your browser using DataLab