n2kanalysis
n2kanalysis has spent eight years wiring INLA models to an S3 bucket.
A side-by-side editorial comparison of broadcast and treeshap — release velocity, themes, recent moves, and the top alternatives to consider.
broadcast is filling in NumPy-style array broadcasting for R, operator by operator.
broadcast brings dimension-broadcasting semantics to R arrays and lists — elementwise operations between arrays of mismatched shape, plus casting methods between hierarchical lists and dimensional structures. It reached CRAN in September 2025 and has released roughly monthly since, accumulating operators (nor, nand, longest common substring), casting methods (cast_shallow2atomic, cast_hier2dim, hiernames2dimnames), and helpers (vector2array, undim, mbroadcasters).
treeshap keeps widening its tree-model coverage while the SHAP math stays put.
treeshap computes exact SHAP values for tree ensembles in R, reaching each modelling framework through a per-framework unify() adapter. Since returning to CRAN in 2023 it has added GPBoost, ranger survival forests and multi-output models to that adapter layer. Four releases in three years, each dominated by adapter work contributed by users of one specific framework.
broadcast brings dimension-broadcasting semantics to R arrays and lists — elementwise operations between arrays of mismatched shape, plus casting methods between hierarchical lists and dimensional structures. It reached CRAN in September 2025 and has released roughly monthly since, accumulating operators (nor, nand, longest common substring), casting methods (cast_shallow2atomic, cast_hier2dim, hiernames2dimnames), and helpers (vector2array, undim, mbroadcasters).
The package is in its post-launch consolidation year, and the release notes read accordingly: roughly half of each entry is a consistency correction rather than an addition. Zero-length results now carry the right type, comparison operators accept integer and logical inputs, the comment attribute survives operations, and the nand operator was found to be wrongly defined against C++ short-circuit evaluation. That ratio is what a young package looks like while its edge cases are being found.
Expect more operators and casting methods on the same cadence, with continued type-consistency corrections as users exercise unusual input combinations. Nothing in the entries points at an architectural change.
treeshap computes exact SHAP values for tree ensembles in R, reaching each modelling framework through a per-framework unify() adapter. Since returning to CRAN in 2023 it has added GPBoost, ranger survival forests and multi-output models to that adapter layer. Four releases in three years, each dominated by adapter work contributed by users of one specific framework.
The direction is breadth of model support rather than new explanation methods: every release since the first CRAN submission adds or repairs a unify() backend. Maintenance is community-driven, with named contributors fixing the framework they personally use. Nothing in these entries points at work on the SHAP algorithms themselves.
Expect the next release to add or repair another unify() adapter as a contributor brings their own framework, rather than to change how explanations are computed.
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 broadcast or treeshap.
n2kanalysis has spent eight years wiring INLA models to an S3 bucket.
A Fortran-descended optimizer got thread-safe, then found two flags that never worked.
ggstatsplot reached 1.0 by adding tests, having outsourced its statistics years ago.
collapse got a JSS paper and a 7x fmean speedup in the same release.
gtsummary is quietly rebuilding itself around analysis results data, one table verb at a time.
climaemet added weather alerts and wildfire risk, then spent two years managing rate limits.
See all broadcast alternatives → · See all treeshap alternatives →
Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.
They serve adjacent needs but don't currently overlap on shipped themes. broadcast and treeshap 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.
Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. broadcast and treeshap 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.
Top broadcast alternatives in Analytics are ranked by recent ship velocity. Browse the "broadcast alternatives" section above for the current picks, or visit /alternatives/broadcast-r for the full list with editorial commentary on each.
Top treeshap alternatives in Analytics are ranked by recent ship velocity. Browse the "treeshap alternatives" section above for the current picks, or visit /alternatives/treeshap for the full list with editorial commentary on each.