← Back to home
Comparison · Analytics

bundle vs pkglite

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

Shared themes:r-packages

bundle vs pkglite: at a glance

Featurebundlepkglite
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesserialization, tidymodels, model-deployment, compatibilityr-packages, pharma-submissions, packaging, file-handling
Last editorial update48m ago1h ago
WebsiteVisit →Visit →

What is bundle?

Four releases in three years, each one teaching the serializer about a model type it couldn't carry

bundle solves a narrow, real problem: many R model objects hold pointers to external state — compiled boosters, Java handles, torch tensors — that do not survive being saved and reloaded in another session. It wraps them so they do. The package has shipped four releases since 2022, and the shape of each is the same: extend coverage to another model class, or repair coverage that an upstream release broke.

Read the full bundle trajectory →

What is pkglite?

pkglite's whole job is knowing which files in an R package are text — and it keeps getting better at guessing.

pkglite packs an R package into a single plain-text file and unpacks it again, the mechanism pharmaceutical submissions use to move source through systems that accept text but not archives. The API settled at 0.2.0 with file specification templates, `merge()` and `prune()`. Every release since has improved the same thing: the dictionary that decides whether a file is text or binary, most recently rebuilt from the file extensions found across 21,369 CRAN packages.

Read the full pkglite trajectory →

bundle vs pkglite: editorial side-by-side

B
bundle
ANALYTICS
0.0

Four releases in three years, each one teaching the serializer about a model type it couldn't carry

◆ Current state

bundle solves a narrow, real problem: many R model objects hold pointers to external state — compiled boosters, Java handles, torch tensors — that do not survive being saved and reloaded in another session. It wraps them so they do. The package has shipped four releases since 2022, and the shape of each is the same: extend coverage to another model class, or repair coverage that an upstream release broke.

◆ Where it's heading

Coverage is the product, so the release cadence is set by the ecosystem rather than by a roadmap. dbarts arrived in 0.1.2, along with extra work to preserve xgboost's nfeatures and feature_names through a round trip; 0.1.3 exists because xgboost changed its model format again. The 0.1.1 fix — recipes steps nested inside workflows — points at the same underlying issue one level up, where the object needing bundling is buried inside a tidymodels pipeline rather than passed directly.

◆ Prediction

Expect the next release to follow the same trigger: either a new parsnip engine that carries external pointers, or another upstream format change in one of the engines already covered. xgboost has now forced two of the four releases.

P
pkglite
ANALYTICS
0.0

pkglite's whole job is knowing which files in an R package are text — and it keeps getting better at guessing.

◆ Current state

pkglite packs an R package into a single plain-text file and unpacks it again, the mechanism pharmaceutical submissions use to move source through systems that accept text but not archives. The API settled at 0.2.0 with file specification templates, `merge()` and `prune()`. Every release since has improved the same thing: the dictionary that decides whether a file is text or binary, most recently rebuilt from the file extensions found across 21,369 CRAN packages.

◆ Where it's heading

The failure mode this package cares about is silent — misclassify a binary file as text and the round trip corrupts it, misclassify text as binary and it bloats or drops. So the work is empirical rather than architectural: mine real packages for what extensions actually appear, then widen coverage where specific ecosystems break the pattern. Stan interfaces via rstan brought `src/Makevars` and `src/Makefile` handling; machine learning frameworks brought their own binary formats. Dependencies have gone the other way, with cli removed and replaced by internal equivalents.

◆ Prediction

Expect the next substantive release to widen file specification coverage again for whatever package family the maintainers find breaking the default discovery, since that has been the content of every non-maintenance release for four years.

Alternatives to bundle and pkglite

Other Analytics 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 bundle or pkglite.

See all bundle alternatives → · See all pkglite alternatives →

Recent activity from bundle and pkglite

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

  1. 5mo agopkgliteMaintainer email and CI workflow updates
  2. 8mo agobundlexgboost bundling updated for newer model versions
  3. 1y agobundledbarts BART models become bundleable
  4. 1y agopkgliteHandles Stan-interfacing packages and ML binary formats
  5. 1y agopkgliteExtension dictionary rebuilt from 21,369 CRAN packages
  6. 2y agopkgliteTest helpers moved to helper.R
  7. 2y agobundleRecipes steps inside workflows now bundle correctly
  8. 3y agobundleFirst CRAN release
  9. 3y agopkgliteMore file types recognised; cli dependency dropped
  10. 5y agopkgliteFile collections gain merge, prune, and a tests template

Frequently asked questions

What is the difference between bundle and pkglite?

Both compete on the same themes — r-packages — within Analytics. bundle and pkglite 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 bundle better than pkglite?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. bundle and pkglite 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 Analytics products to evaluate alongside.

What are the best alternatives to bundle?

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

What are the best alternatives to pkglite?

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