← Back to home
Comparison · Analytics

hardhat vs timetk

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

hardhat vs timetk: at a glance

Featurehardhattimetk
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themestidymodels, r-stats, machine-learning, infrastructuretime-series, anomaly-detection, visualization, feature-engineering
Last editorial update3h ago1h ago
WebsiteVisit →Visit →

What is hardhat?

hardhat keeps adding the contracts tidymodels needs next

hardhat is the infrastructure layer under tidymodels, defining the preprocessing and extraction contracts other packages implement. Its releases read as a list of new generics and vector classes: extract_postprocessor(), extract_fit_time(), extract_tailor(), and a quantile_pred() class for quantile-regression output. The newest release is narrow warning and missing-value handling in mold().

Read the full hardhat trajectory →

What is timetk?

timetk swallowed anomalize whole, then went quiet for two years

timetk handles time series wrangling, visualization, and feature engineering in a tidyverse idiom. Its defining recent move was absorbing the anomalize package outright in 2.9.0, bringing anomaly detection, cleaning, and the associated plots inside timetk rather than leaving them in a sibling package. Development then paused for nearly two years before 2.9.1, a robustness and documentation release.

Read the full timetk trajectory →

hardhat vs timetk: editorial side-by-side

H
hardhat
ANALYTICS
0.0

hardhat keeps adding the contracts tidymodels needs next

◆ Current state

hardhat is the infrastructure layer under tidymodels, defining the preprocessing and extraction contracts other packages implement. Its releases read as a list of new generics and vector classes: extract_postprocessor(), extract_fit_time(), extract_tailor(), and a quantile_pred() class for quantile-regression output. The newest release is narrow warning and missing-value handling in mold().

◆ Where it's heading

Each addition here lands ahead of a user-facing feature elsewhere in tidymodels — the postprocessor and tailor generics precede the postprocessing workflow, quantile_pred() precedes quantile prediction in parsnip. The package's own surface stays deliberately small and its cadence follows what the rest of the stack is about to need.

◆ Prediction

Expect further extraction generics and prediction-type classes as tidymodels builds out postprocessing, with hardhat's own API remaining thin.

T
timetk
ANALYTICS
0.0

timetk swallowed anomalize whole, then went quiet for two years

◆ Current state

timetk handles time series wrangling, visualization, and feature engineering in a tidyverse idiom. Its defining recent move was absorbing the anomalize package outright in 2.9.0, bringing anomaly detection, cleaning, and the associated plots inside timetk rather than leaving them in a sibling package. Development then paused for nearly two years before 2.9.1, a robustness and documentation release.

◆ Where it's heading

The trajectory before the pause was consolidation: fold in adjacent functionality, then make the visualization layer handle many series at once via trelliscopejs, then broaden feature generation with tk_tsfeatures(). The recent release works on the least glamorous layer — internal generics so date parsing and sequence generation behave consistently across Date, POSIXct, hms, yearmon, and yearqtr — which is the kind of foundation work a package does when it has accumulated too many special cases. The long gap and the CI-refresh content suggest maintenance attention rather than a new direction.

◆ Prediction

The stated gap is the unimplemented twitter method for anomalize(), which is the one concrete outstanding item the release notes name; beyond that the recent work points to consolidation rather than expansion.

Alternatives to hardhat and timetk

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 hardhat or timetk.

See all hardhat alternatives → · See all timetk alternatives →

Recent activity from hardhat and timetk

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

  1. 4mo agohardhatmold() warning and quantile missing-value fixes
  2. 11mo agotimetktimetk 2.9.1 makes date parsing consistent across time classes
  3. 11mo agohardhatextract_tailor() generic added
  4. 1y agohardhatquantile_pred() class for quantile regression output
  5. 2y agohardhatextract_postprocessor() and extract_fit_time() generics
  6. 2y agohardhatDocumentation topic renamed at CRAN's request
  7. 2y agotimetktimetk 2.9.0 absorbs the anomalize package
  8. 3y agohardhatMulti-outcome prediction helpers and one-hot factor encoding
  9. 4y agotimetktimetk 2.8.1 exposes trelliscope plotting parameters
  10. 4y agotimetktimetk 2.8.0 adds trelliscopejs support for many-series plots
  11. 4y agotimetktimetk 2.7.0 adds tk_tsfeatures() for grouped feature matrices
  12. 4y agotimetktimetk 2.6.2 adds .week_start and facet direction controls

Frequently asked questions

What is the difference between hardhat and timetk?

They serve adjacent needs but don't currently overlap on shipped themes. hardhat and timetk 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 hardhat better than timetk?

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

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

What are the best alternatives to timetk?

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