powered by
Helper function to attach required packages. Detects if a package is already attached and if so, skips it. Should be called in .onAttach
.onAttach
AttachDeps(deps)
Invisibly returns NULL
NULL
A character vector of packages to attach
lifecycle::badge("superseded")
AttachDeps has been superseded as of SeuratObject v5.0.0; as an alternative, list dependencies in the Depends section of DESCRIPTION
AttachDeps
Depends
DESCRIPTION
# Use in your .onAttach hook if (FALSE) { .onAttach <- function(libname, pkgname) { AttachDeps(c("SeuratObject", "rlang")) } }
Run the code above in your browser using DataLab