← Back to home
Comparison · Analytics

incase vs TidyDensity

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

Shared themes:tidyverser-package

incase vs TidyDensity: at a glance

FeatureincaseTidyDensity
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesdata-wrangling, recoding, tidyverse, api-deprecationstatistical-distributions, random-generation, parameter-estimation, tidyverse
Last editorial update48m ago1h ago
WebsiteVisit →Visit →

What is incase?

A safer case_when that keeps hardening its guarantees while realigning to tidyverse naming.

incase supplies in_case(), switch_case(), grep_case() and fn_case() as vectorised recoding functions in the dplyr::case_when idiom, with _fct and _list variants that return factors or lists instead of forcing atomic type conversion. The 0.4.0 release deprecates the undotted preserve, default and ordered arguments in favour of dotted forms, starting a removal clock, and adds .exhaustive to error on unmatched inputs.

Read the full incase trajectory →

What is TidyDensity?

A distribution catalogue that grows by one family at a time, and rarely breaks anything.

TidyDensity generates tidy-format random data from statistical distributions, with parameter estimation, AIC calculation, summary tables and automatic plotting for each one. Its releases follow a fixed template — breaking changes, new features, minor fixes — and the breaking section is usually empty. Growth comes distribution by distribution: Bernoulli, Burr, triangular, chi-square, zero-truncated negative binomial and others each arrive with a matching set of param_estimate, aic and stats_tbl helpers.

Read the full TidyDensity trajectory →

incase vs TidyDensity: editorial side-by-side

I
incase
ANALYTICS
0.0

A safer case_when that keeps hardening its guarantees while realigning to tidyverse naming.

◆ Current state

incase supplies in_case(), switch_case(), grep_case() and fn_case() as vectorised recoding functions in the dplyr::case_when idiom, with _fct and _list variants that return factors or lists instead of forcing atomic type conversion. The 0.4.0 release deprecates the undotted preserve, default and ordered arguments in favour of dotted forms, starting a removal clock, and adds .exhaustive to error on unmatched inputs.

◆ Where it's heading

The arc is consistently toward catching recoding mistakes at the call site rather than letting them pass silently. Early releases broadened how a match can be expressed — pattern matching, function application, factor and list returns. Recent work has shifted to guarantees about the result: correct factor level ordering relative to .default, and now an exhaustiveness check. Notably 0.4.0 reverses the 0.3.2 decision to accept arguments with or without dots, trading that flexibility for namespace safety against user-supplied case names.

◆ Prediction

The deprecation warnings introduced in 0.4.0 point to a follow-up release that removes the undotted arguments outright. Whether .exhaustive eventually becomes the default is unclear from these entries.

T
TidyDensity
ANALYTICS
0.0

A distribution catalogue that grows by one family at a time, and rarely breaks anything.

◆ Current state

TidyDensity generates tidy-format random data from statistical distributions, with parameter estimation, AIC calculation, summary tables and automatic plotting for each one. Its releases follow a fixed template — breaking changes, new features, minor fixes — and the breaking section is usually empty. Growth comes distribution by distribution: Bernoulli, Burr, triangular, chi-square, zero-truncated negative binomial and others each arrive with a matching set of param_estimate, aic and stats_tbl helpers.

◆ Where it's heading

The package is filling out a matrix rather than changing shape — every new distribution gets the same four or five companion functions, so the surface grows predictably and the design does not. What variation exists comes from utilities that work across distributions: MCMC sampling, bootstrap helpers, time series conversion, distribution comparison. The two genuine breaking changes in this window were both internal reworks, moving generation onto data.table and rewriting quantile normalization for speed.

◆ Prediction

The established pattern of adding a distribution with its full helper set is the most likely continuation. Recent releases have been small, suggesting the catalogue is approaching the distributions its author considers worth covering.

Alternatives to incase and TidyDensity

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 incase or TidyDensity.

See all incase alternatives → · See all TidyDensity alternatives →

Recent activity from incase and TidyDensity

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

  1. 11mo agoTidyDensityquantile_normalize rewritten, changing its output
  2. 11mo agoincaseDotted arguments and an .exhaustive matching check
  3. 1y agoTidyDensityDocumentation corrections for two distribution functions
  4. 2y agoTidyDensityZero-truncated distributions and AIC helpers added in bulk
  5. 2y agoTidyDensityMCMC sampling and quantile normalization join the utilities
  6. 2y agoTidyDensityGeneration moves to data.table; native pipe raises the R floor
  7. 2y agoTidyDensityDistributions convertible to time series objects
  8. 2y agoincaseDotted and undotted arguments both accepted
  9. 5y agoincaseFix NULL return when no condition matches
  10. 5y agoincaseFactor and list return families arrive
  11. 5y agoincaseDrop unused stats import to clear a check NOTE
  12. 5y agoincasePattern and function-based matching families added

Frequently asked questions

What is the difference between incase and TidyDensity?

Both compete on the same themes — tidyverse, r-package — within Analytics. incase and TidyDensity 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 incase better than TidyDensity?

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

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

What are the best alternatives to TidyDensity?

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