### In this example, we use the small file zcrandb.rda made of 94 packages
## extracted from CRAN on 2024-09-27. In real life, use crandb_down().
# crandb_down(dir = tempdir(), repos = "https://cloud.r-project.org")
crandb_load(system.file("data", "zcrandb.rda", package = "RWsearch"))
crandb_pkgs()
dim(crandb)
colnames(crandb)
crandb$Published
crandb_fromto(from = "2024-01-01", to = Sys.Date())
pkgs <- crandb_fromto(from = -60, to = max(crandb$Published)) ; pkgs
## Print the table in the console (better if full width)
p_table2(pkgs)
## Display in the browser
if (interactive()) {
p_display7(pkgs, dir = file.path(tempdir(), "crandbdown"))
}
# \donttest{
### In the real life, we use a fresh file downloaded from CRAN (6.4 Mo / 20").
## Here, we retrieve the packages uploaded during the last 2 days.
# }
Run the code above in your browser using DataLab