R: Check the existence of a package

PackageCheck {SeuratObject} | R Documentation

## 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

    PackageCheck("SeuratObject", error = FALSE)

[Package SeuratObject version 4.0.3 Index]