mlr3proba
mlr3proba is shedding weight as its survival work moves into sibling packages
A side-by-side editorial comparison of comtradr and tidypredict — release velocity, themes, recent moves, and the top alternatives to consider.
comtradr's 1.0 line is a long tail of patches against a brittle UN trade API.
comtradr wraps the UN Comtrade API for international trade data in R, handling authentication, reference tables, caching and bulk downloads. The entire visible window is the 1.0 patch series: six releases, most of them repairs. The substantive additions are a variable-metadata reference table and automatic request splitting.
tidypredict now translates the gradient-boosting libraries people actually deploy
tidypredict converts fitted R models into SQL and dplyr expressions so predictions can run inside a database instead of in R. The 1.1.0 release added rpart, CatBoost, and LightGBM, with full objective and tree-type coverage for the boosted models. That followed 1.0.0, which broke random-forest output into a single formula, added glmnet, and cut fit-translation time for xgboost, partykit, and ranger.
comtradr wraps the UN Comtrade API for international trade data in R, handling authentication, reference tables, caching and bulk downloads. The entire visible window is the 1.0 patch series: six releases, most of them repairs. The substantive additions are a variable-metadata reference table and automatic request splitting.
The work is defensive, shaped by the API's constraints rather than by a roadmap. The 1.0.6 fix is representative: Comtrade rejects URLs longer than about 2000 characters, so the package now detects that before the request and transparently splits and recombines it. Running alongside is steady dependency hygiene, most recently swapping poorman for dplyr ahead of a CRAN archival.
The release pattern points to more of the same, with error-message and edge-case repairs as users hit new API limits, rather than new endpoints.
tidypredict converts fitted R models into SQL and dplyr expressions so predictions can run inside a database instead of in R. The 1.1.0 release added rpart, CatBoost, and LightGBM, with full objective and tree-type coverage for the boosted models. That followed 1.0.0, which broke random-forest output into a single formula, added glmnet, and cut fit-translation time for xgboost, partykit, and ranger.
The package's value scales directly with how many model types it can translate, and the recent work has concentrated on the tree ensembles that dominate tabular modelling in practice. Coverage now extends past what parsnip wraps, since raw CatBoost models are supported alongside parsnip and bonsai ones with an explicit escape hatch for categorical features. Performance work on the translation step suggests the models being converted have grown large enough for that to matter.
With the major boosting libraries covered, the remaining gap is what happens to preprocessing, so tighter integration with recipes or orbital for translating whole workflows is the natural next step.
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 comtradr or tidypredict.
mlr3proba is shedding weight as its survival work moves into sibling packages
mlr3viz keeps the ecosystem's plots working while the plots themselves move out
mlr3tuning is rebuilding its async machinery under a stable public surface
timetk swallowed anomalize whole, then went quiet for two years
modelbased is turning marginal effects into a full contrast grammar
easystats' parameters package absorbs one more model class every few weeks
See all comtradr alternatives → · See all tidypredict alternatives →
Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.
They serve adjacent needs but don't currently overlap on shipped themes. comtradr is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. 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. comtradr is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.
Top comtradr alternatives in Analytics are ranked by recent ship velocity. Browse the "comtradr alternatives" section above for the current picks, or visit /alternatives/comtradr for the full list with editorial commentary on each.
Top tidypredict alternatives in Analytics are ranked by recent ship velocity. Browse the "tidypredict alternatives" section above for the current picks, or visit /alternatives/tidypredict for the full list with editorial commentary on each.