pkgcache
Cache CRAN-like metadata and package files. Contribute to r-lib/pkgcache development by creating an account on GitHub.
The metadata cache under pak now speaks to authenticated and corporate repositories.
◆Recent moves
- 4mo ago
Parses comments in DESCRIPTION and PACKAGES files
Tracks an R-devel change permitting comments in metadata files, including comments inside values, which the cache must handle before those files start appearing in the wild. It also stops treating an unreachable Bioconductor as fatal and adds macOS binaries for R 4.6 and later.
View source ↗ - 1y ago
repo_auth() brings authenticated repositories to the cache
⚡ SPARKThe first release to let the metadata cache reach repositories that require credentials, which extends everything built on it — pak included — into private registry territory. The surrounding platform detection work for R Universe binaries serves the same widening of where packages are allowed to come from.
View source ↗ - 1y ago
Stops using source URLs for archived PPM packages
Drops alternative source URLs for archived packages on Posit Package Manager, where they could resolve to a different package than the metadata described. Unnecessary there because PPM keeps metadata and files consistent.
View source ↗ - 2y ago
Handles macOS binaries for R 4.5 development builds
Corrects macOS binary handling for the then-current R-devel and makes the platform detection more tolerant of macOS changes generally. One of several releases spent chasing binary availability per R version.
View source ↗ - 2y ago
Improves R to Bioconductor version matching
A refinement of the mapping between R versions and Bioconductor releases. This mapping needs updating on every Bioconductor cycle, which is why it recurs through the package's history.
View source ↗ - 3y ago
MRAN prefix deprecated in favour of PPM; platform override added
Redirects the MRAN prefix to Posit Package Manager ahead of MRAN's retirement, so snapshot-based reproducibility setups keep resolving. A new option and environment variable also allow overriding detected platform, useful for cross-platform resolution, and Bioconductor packages gain SystemRequirements metadata.
View source ↗