powered by
Check the existence of a package
PackageCheck(..., error = TRUE)
Invisibly returns boolean denoting if the package is installed
Package names
If true, throw an error if the package doesn't exist
lifecycle::badge("deprecated")
PackageCheck was deprecated in version 5.0.0; please use rlang::check_installed() instead
PackageCheck
rlang::check_installed()
PackageCheck("SeuratObject", error = FALSE)
Run the code above in your browser using DataLab