A higher-level function, build from pacs::pacs_deps.
Package dependencies installed when e.g. R CMD check a package.
"Depends", "Imports", "LinkingTo", "Suggests" fields from the DESCRIPTION file and
their recursive dependencies taken from "Depends", "Imports", "LinkingTo" fields.
Dependencies are taken remotely for the newest version.
pac_deps_dev(
pac,
base = FALSE,
local = FALSE,
attr = TRUE,
repos = pacs::biocran_repos()
)character a package name.
logical if to add base packages too. If TRUE then pacs::pacs_base() are taken into account. Default: FALSE
logical if to use local repository (or newest remote packages). Default: FALSE
logical if a package and its version should be added as an attribute of data.frame or for FALSE as an additional record. Default: TRUE
character vector of repositories URLs to use. By default checking CRAN and newest Bioconductor per R version. Default pacs::biocran_repos()
data.frame with packages and their versions. Versions are taken from installed.packages or newest released.
if (FALSE) { # \dontrun{
pacs::pac_deps_dev("dplyr")
pacs::pac_deps_dev("pacs")
# with the main package in the list
pacs::pac_deps_dev("pacs", attr = FALSE)
} # }