← Back to home
Comparison · Analytics

haven vs mlr3tuning

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

haven vs mlr3tuning: at a glance

Featurehavenmlr3tuning
SectorAnalyticsAnalytics
Velocity score0.02.5
Sparks · 30d00
Top themesr, data-import, spss-stata-sas, readstatmlr3, hyperparameter-tuning, async-optimization, callbacks
Last editorial update7h ago1h ago
WebsiteVisit →Visit →

What is haven?

haven's release cadence has narrowed to compiler and R-devel upkeep.

haven is the tidyverse's bridge to SPSS, Stata and SAS files, wrapping the C ReadStat library. The last several releases are almost entirely maintenance: syncing vendored ReadStat and patching ahead of R-devel changes. The most recent substantive user-facing work landed in 2.5.2 and earlier.

Read the full haven trajectory →

What is mlr3tuning?

mlr3tuning is rebuilding its async machinery under a stable public surface

mlr3tuning provides hyperparameter optimization for the mlr3 ecosystem, and its recent history is dominated by the asynchronous tuning path: archive freezing, callback stages around queue evaluation, and version-locked compatibility with the rush backend. Releases pair a small feature with several fixes and an explicit compatibility line naming the mlr3 or rush version they track. The most recent release drops all workarounds for older rush versions, which suggests that dependency has stabilized enough to require rather than accommodate.

Read the full mlr3tuning trajectory →

haven vs mlr3tuning: editorial side-by-side

H
haven
ANALYTICS
0.0

haven's release cadence has narrowed to compiler and R-devel upkeep.

◆ Current state

haven is the tidyverse's bridge to SPSS, Stata and SAS files, wrapping the C ReadStat library. The last several releases are almost entirely maintenance: syncing vendored ReadStat and patching ahead of R-devel changes. The most recent substantive user-facing work landed in 2.5.2 and earlier.

◆ Where it's heading

Development has shifted from extending the file-format surface to keeping a C dependency compiling against newer toolchains. The deprecation of write_sas() narrowed that surface deliberately, steering users to write_xpt() because the sas7bdat format is undocumented and unsupported upstream.

◆ Prediction

Expect further ReadStat sync releases triggered by compiler or R-devel breakage rather than new format support or writing features.

M
mlr3tuning
ANALYTICS
2.5

mlr3tuning is rebuilding its async machinery under a stable public surface

◆ Current state

mlr3tuning provides hyperparameter optimization for the mlr3 ecosystem, and its recent history is dominated by the asynchronous tuning path: archive freezing, callback stages around queue evaluation, and version-locked compatibility with the rush backend. Releases pair a small feature with several fixes and an explicit compatibility line naming the mlr3 or rush version they track. The most recent release drops all workarounds for older rush versions, which suggests that dependency has stabilized enough to require rather than accommodate.

◆ Where it's heading

Two things are being tidied at once. The async archive is converging on a consistent data.table representation across batch and async variants, so results are shaped the same regardless of how tuning ran. Separately, the package is becoming a better ecosystem citizen — unioning tuner properties on load instead of overwriting them, removing its callbacks on unload, and raising informative errors from AutoTuner accessors on an untrained model. Both are the marks of a package used as a dependency more than as a destination.

◆ Prediction

With rush pinned to 1.2.0 and the compatibility shims gone, the next release is likely to expose more of the async path through callbacks rather than change the tuning interface.

Alternatives to haven and mlr3tuning

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 haven or mlr3tuning.

See all haven alternatives → · See all mlr3tuning alternatives →

Recent activity from haven and mlr3tuning

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

  1. 18d agomlr3tuningmlr3tuning 1.6.1 stops clobbering other packages' tuner properties
  2. 4mo agomlr3tuningmlr3tuning 1.6.0 aligns archive column order across tuning classes
  3. 8mo agomlr3tuningmlr3tuning 1.5.1 tracks xgboost 3.1.2.1
  4. 8mo agomlr3tuningmlr3tuning 1.5.0 adds queue evaluation stages to async callbacks
  5. 1y agomlr3tuningmlr3tuning 1.4.0 unifies logging under a base mlr3 logger
  6. 1y agohavenhaven 2.5.5 syncs ReadStat for stricter gcc diagnostics
  7. 1y agomlr3tuningmlr3tuning 1.3.0 adds a frozen async archive and leaner worker storage
  8. 2y agohavenhaven 2.5.4 patches for an upcoming R-devel change
  9. 3y agohavenhaven 2.5.3 patches for an upcoming R-devel change
  10. 3y agohavenhaven 2.5.2 fixes SAS catalog reads and deprecates write_sas()
  11. 3y agohavenhaven 2.5.1 aligns labelled headers and fixes name repair
  12. 4y agohavenhaven 2.5.0 adds custom variable widths when writing files

Frequently asked questions

What is the difference between haven and mlr3tuning?

They serve adjacent needs but don't currently overlap on shipped themes. mlr3tuning 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.

Is haven better than mlr3tuning?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. mlr3tuning 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.

What are the best alternatives to haven?

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

What are the best alternatives to mlr3tuning?

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