pac_deps_timemachine {pacs} | R Documentation |
R CRAN package dependencies for a certain version or time point
Description
Package dependencies from DESCRIPTION files retrieved recursively for certain version or time point.
Usage
pac_deps_timemachine(
pac,
version = NULL,
at = NULL,
fields = c("Depends", "Imports", "LinkingTo"),
recursive = TRUE
)
Arguments
pac |
|
version |
|
at |
|
fields |
|
recursive |
|
Value
named vector
package dependencies and their versions at the release date of main package plus one day.
Note
Longer lived version is taken if 2 is available at the same date (switch time).
Examples
## Not run:
pacs::pac_deps_timemachine("memoise", "0.2.1")
pacs::pac_deps_timemachine("memoise", at = as.Date("2019-01-01"))
pacs::pac_deps_timemachine("dplyr", at = as.Date("2015-01-01"))
## End(Not run)