R/deps_timemachine.R
pac_deps_timemachine.RdPackage dependencies from DESCRIPTION files retrieved recursively for certain version or time point.
pac_deps_timemachine(
pac,
version = NULL,
at = NULL,
fields = c("Depends", "Imports", "LinkingTo"),
recursive = TRUE
)character a package name.
character version of a package. Default: NULL
Date from which to take the version. Default: NULL
character vector listing the types of dependencies, a subset of c("Depends", "Imports", "LinkingTo", "Suggests", "Enhances").
Character string "all" is shorthand for that vector, character string "most" for the same vector without "Enhances", character string "strong" (default) for the first three elements of that vector.
Default: c("Depends", "Imports", "LinkingTo")
logical if to assess the dependencies recursively. Default: TRUE
named vector package dependencies and their versions at the release date of main package plus one day.
Longer lived version is taken if 2 is available at the same date (switch time).