A higher-level function, build from pacs::pacs_deps.
Package dependencies installed when run installed.packages.
"Depends", "Imports", "LinkingTo" fields from the DESCRIPTION file and
their recursive dependencies taken from the same fields.
Dependencies are taken remotely for the newest version.
Usage
pac_deps_user(
pac,
base = FALSE,
local = FALSE,
attr = TRUE,
repos = pacs::biocran_repos()
)Arguments
- pac
charactera package name.- base
logicalif to add base packages too. IfTRUEthenpacs::pacs_base()are taken into account. Default:FALSE- local
logicalif to use local repository (or newest remote packages). Default:FALSE- attr
logicalif a package and its version should be added as an attribute of data.frame or for FALSE as an additional record. Default: TRUE- repos
charactervector of repositories URLs to use. By default checking CRAN and newest Bioconductor per R version. Defaultpacs::biocran_repos()