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            Datetime Version   User    Size   Status
#> 1          A3 2015-08-16 21:05:54   1.0.0 hornik   42810 archived
#> 2    AATtools 2024-08-16 09:10:08   0.0.3 ligges  252641  current
#> 3      ABACUS 2019-09-20 07:40:07   1.0.0 ligges   84194  current
#> 4     ABC.RAP 2016-10-20 08:52:18   0.9.0 hornik 4769661  current
#> 5 ABCExtremes 2013-05-15 08:45:56     1.0 hornik    5784 archived
#> 6 ABCanalysis 2017-03-13 13:31:39   1.2.1 ligges   23436  current