Learn R Programming

SeuratObject (version 5.0.2)

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

Lifecycle

lifecycle::badge("deprecated")

PackageCheck was deprecated in version 5.0.0; please use rlang::check_installed() instead

Examples

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

Run the code above in your browser using DataLab