Skip to contents

Given the available information which packages were on CRAN on a given date?

Usage

cran_snapshot(date)

Arguments

date

The date you want to check.

Value

The data.frame with the packages and versions at a given date. NA if not able to collect the data from CRAN.

Note

Due to missing of CRAN comments some packages are not annotated when were they archived and more packages than present might be returned for any given date.

Examples

# \donttest{
cs <- cran_snapshot(Sys.Date() - 2)
#> Warning: There are 5 packages both archived and published
#> This indicate manual CRAN intervention.
head(cs)
#> [1] NA
# }