← Back to home
Comparison · Infra & APIs

pkgcache vs watcher

A side-by-side editorial comparison of pkgcache and watcher — release velocity, themes, recent moves, and the top alternatives to consider.

pkgcache vs watcher: at a glance

Featurepkgcachewatcher
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themespackage-management, r-lib, repositories, authenticationfilesystem-events, r6, build-portability, c-bindings
Last editorial update1h ago3h ago
WebsiteVisit →Visit →

What is pkgcache?

The metadata cache under pak now speaks to authenticated and corporate repositories.

pkgcache maintains the package metadata cache that pak and pkgdepends build on, so its releases are about knowing where packages live and what platform they were built for. Version 2.2.4 added support for authenticated repositories through repo_auth(), the first time the cache could reach private registries directly. The releases around it track a moving target: Posit Package Manager behaviour, R Universe binaries, macOS binary availability per R version, Bioconductor version mapping, and most recently comments in DESCRIPTION and PACKAGES files following a change in R-devel.

Read the full pkgcache trajectory →

What is watcher?

watcher is a thin filesystem-events binding whose releases are mostly build work.

The package wraps libfswatch in an R6 Watcher class for monitoring files and directories. Seven releases over sixteen months have added a vector path argument and two accessor methods, and spent the rest of their effort on build portability — non-standard system library locations, Windows bi-arch source builds on old rtools, and most recently removing the cmake requirement so the bundled source compiles with the R toolchain alone.

Read the full watcher trajectory →

pkgcache vs watcher: editorial side-by-side

P
pkgcache
INFRA · APIS
0.0

The metadata cache under pak now speaks to authenticated and corporate repositories.

◆ Current state

pkgcache maintains the package metadata cache that pak and pkgdepends build on, so its releases are about knowing where packages live and what platform they were built for. Version 2.2.4 added support for authenticated repositories through repo_auth(), the first time the cache could reach private registries directly. The releases around it track a moving target: Posit Package Manager behaviour, R Universe binaries, macOS binary availability per R version, Bioconductor version mapping, and most recently comments in DESCRIPTION and PACKAGES files following a change in R-devel.

◆ Where it's heading

The work has shifted from CRAN-shaped assumptions toward the mixed reality of how R packages are actually distributed now — PPM snapshots, R Universe, private and authenticated registries, Bioconductor, and per-platform binaries across several R versions. Resilience is a recurring theme too: 2.2.5 makes an unreachable Bioconductor a non-fatal condition rather than a failure. MRAN's retirement, handled in 2.2.0 by resolving its prefix to PPM, is a reminder of how much of this package's job is absorbing other people's infrastructure changes.

◆ Prediction

Expect continued tracking of R-devel metadata format changes and new binary platforms as R 4.6 lands, since both already appear in 2.2.5. Further work on authenticated repository handling is the plausible follow-on, given how recently that capability arrived.

W
watcher
INFRA · APIS
0.0

watcher is a thin filesystem-events binding whose releases are mostly build work.

◆ Current state

The package wraps libfswatch in an R6 Watcher class for monitoring files and directories. Seven releases over sixteen months have added a vector path argument and two accessor methods, and spent the rest of their effort on build portability — non-standard system library locations, Windows bi-arch source builds on old rtools, and most recently removing the cmake requirement so the bundled source compiles with the R toolchain alone.

◆ Where it's heading

The API is deliberately small and appears finished; the work that remains is making the C dependency install cleanly everywhere. Dropping cmake follows the same move nanonext made, which is not a coincidence — both come from the same author and both are aiming at environments where installing a build system is not an option.

◆ Prediction

With cmake gone and the bundled library current, further releases are most likely to track libfswatch upstream rather than extend the R interface.

Alternatives to pkgcache and watcher

Other Infra & APIs products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either pkgcache or watcher.

See all pkgcache alternatives → · See all watcher alternatives →

Recent activity from pkgcache and watcher

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 1mo agowatchercmake dropped from the bundled library build
  2. 3mo agowatcherBundled libfswatch updated to 1.20.1
  3. 4mo agopkgcacheParses comments in DESCRIPTION and PACKAGES files
  4. 8mo agowatcherWindows CPU usage fix for sub-second latency
  5. 1y agowatcherSystem libfswatch found in non-standard locations
  6. 1y agopkgcacherepo_auth() brings authenticated repositories to the cache
  7. 1y agowatcherMultiple paths per watcher, and older Windows builds fixed
  8. 1y agowatcherAccessor methods replace public Watcher fields
  9. 1y agopkgcacheStops using source URLs for archived PPM packages
  10. 2y agopkgcacheHandles macOS binaries for R 4.5 development builds
  11. 2y agopkgcacheImproves R to Bioconductor version matching
  12. 3y agopkgcacheMRAN prefix deprecated in favour of PPM; platform override added

Frequently asked questions

What is the difference between pkgcache and watcher?

They serve adjacent needs but don't currently overlap on shipped themes. pkgcache and watcher are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is pkgcache better than watcher?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. pkgcache and watcher are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Infra & APIs products to evaluate alongside.

What are the best alternatives to pkgcache?

Top pkgcache alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "pkgcache alternatives" section above for the current picks, or visit /alternatives/pkgcache for the full list with editorial commentary on each.

What are the best alternatives to watcher?

Top watcher alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "watcher alternatives" section above for the current picks, or visit /alternatives/watcher for the full list with editorial commentary on each.