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.

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

cs <- cran_snapshot(Sys.Date() -2 )
#> Warning: There are 5 packages both archived and published
#> This indicate manual CRAN intervention.
head(cs)
#>       Package Version            Datetime   Status
#> 1          A3   1.0.0 2015-08-16 21:05:54 archived
#> 2    AATtools   0.0.3 2024-08-16 09:10:08  current
#> 3      ABACUS   1.0.0 2019-09-20 07:40:07  current
#> 4     ABC.RAP   0.9.0 2016-10-20 08:52:18  current
#> 5 ABCExtremes     1.0 2013-05-15 08:45:56 archived
#> 6 ABCanalysis   1.2.1 2017-03-13 13:31:39  current