pkgcache is an R package that caches package metadata and downloaded package files from CRAN-like repositories, including Bioconductor. It is a utility package designed to be used by other package management tools that want to avoid redundant downloads.
The metadata cache stores information about all available packages (including dependencies and reverse dependencies) and automatically refreshes after seven days. The package cache stores downloaded package files locally so they don’t need to be re-downloaded on subsequent installs. pkgcache also includes a fast DCF parser for reading PACKAGES and DESCRIPTION files, and it provides both a high-level functional API (meta_cache_*, pkg_cache_*) and lower-level R6 classes for finer control.