pkgcache
pkgcache copied to clipboard
Cache CRAN-like metadata and package files
``` r Sys.Date() #> [1] "2024-04-19" library(pkgcache) meta_cache_update() #> #> ℹ Updating metadata database #> ✔ Updating metadata database ... done #> max(meta_cache_list()$published, na.rm = T) # note the diff...
Working with JFROG Artifactory, one can occasionally encounter an empty PACKAGES file. I think it's nice to warn when this happens (which is the current behaviour, see below), although an...
The `pkgcache::meta_cache_list("SummarizedExperiment")$published` currently returns a NULL date for Bioc packages The date information is available under https://bioconductor.org/packages/3.17/bioc/VIEWS and can be parsed on the `Date/Publication` field. `bioc::BiocPkgTools` package may also be...
Even if it's not documented - many packages make use of `pkg.show_progress` option to enable/disable progress bars. This package is no exception and it is used e.g. here: https://github.com/r-lib/pkgcache/blob/42e824939482c87b6216dfe30b7542a6e2e06d0f/R/progress-bar.R#L7 But...
I don't think we need it in this version, but I think the next version should have some way to automatically prune the cache to keep it below a user...