gesistsa / rang

🐶 (Re)constructing R computational environments
https://gesistsa.github.io/rang/
GNU General Public License v3.0
77 stars 3 forks source link

Predict which `date` to use #167

Closed chainsawriot closed 10 months ago

chainsawriot commented 10 months ago

generate_installation_order(resolve("Hmisc", "2004-01-01")) does not work. It is because it depends on acepack. And the acepack query output is not great.

pkgsearch::cran_package_history("acepack")[, c("date", "crandb_file_date")]
#>                                      date    crandb_file_date
#> acepack.1.1     1998-03-25T09:00:28+00:00 2023-08-24 10:00:28
#> acepack.1.2-1   1999-08-19T09:00:28+00:00 2023-08-24 10:00:28
#> acepack.1.2-2   2000-12-19T09:00:29+00:00 2023-08-24 10:00:29
#> acepack.1.3-2.1 2004-04-14T08:03:33+00:00 2023-08-24 10:00:29
#> acepack.1.3-2.2 2005-08-12T07:42:45+00:00 2023-08-24 10:00:29
#> acepack.1.3-2.3 2010-01-19T15:35:08+00:00 2023-08-24 10:00:30
#> acepack.1.3-2   2002-05-21T09:00:30+00:00 2023-08-24 10:00:30
#> acepack.1.3-3.0 2010-07-05T10:20:40+00:00 2023-08-24 10:00:30
#> acepack.1.3-3.1 2012-04-06T04:45:08+00:00 2023-08-24 10:00:30
#> acepack.1.3-3.2 2012-10-30T20:05:45+00:00 2023-08-24 10:00:31
#> acepack.1.3-3.3 2014-11-24T11:48:55+00:00 2023-08-24 10:00:31
#> acepack.1.3     2001-05-15T09:00:31+00:00 2023-08-24 10:00:31
#> acepack.1.4.0   2016-10-20T20:59:35+00:00 2023-08-24 10:00:32
#> acepack.1.4.1   2016-10-28T23:11:52+00:00 2023-08-24 10:00:32
#> acepack.1.4.2   2023-08-22T08:10:02+00:00 2023-08-24 10:00:32

Created on 2023-11-07 with reprex v2.0.2

Current, rang is using "crandb_file_date". Maybe we should think about when to use which. ref 6bfeb31b5513308bcbe8e9eb4cd40b7c9fd765b3