← Back to home
Comparison · Analytics

incase vs kde1d

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

Shared themes:r-package

incase vs kde1d: at a glance

Featureincasekde1d
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesdata-wrangling, recoding, tidyverse, api-deprecationdensity-estimation, kernel-methods, zero-inflation, cpp-library
Last editorial update1h 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 kde1d?

A univariate density estimator that added zero-inflated data and reopened its C++ API to do it.

kde1d estimates univariate densities with local polynomial kernel methods, handling bounded, discrete and now zero-inflated variables through a single type argument, with the numerical work in a header-only C++ library usable outside R. Version 1.1.0 added the zero-inflated discrete-continuous mixture case and shipped a new C++ API as an explicit breaking change; 1.1.1 followed in June with auto-generated notes and no description.

Read the full kde1d trajectory →

incase vs kde1d: 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.

K
kde1d
ANALYTICS
0.0

A univariate density estimator that added zero-inflated data and reopened its C++ API to do it.

◆ Current state

kde1d estimates univariate densities with local polynomial kernel methods, handling bounded, discrete and now zero-inflated variables through a single type argument, with the numerical work in a header-only C++ library usable outside R. Version 1.1.0 added the zero-inflated discrete-continuous mixture case and shipped a new C++ API as an explicit breaking change; 1.1.1 followed in June with auto-generated notes and no description.

◆ Where it's heading

The package has alternated between performance work and widening the class of data it accepts. The 1.0.0 release was the performance milestone — FFT-based estimation, a better integration algorithm for the p, q and r functions, deterministic jittering replacing randomness, and standalone C++ headers. The 1.1.0 release is the scope milestone, adding a third data type to the two it already handled. Releases come from the same maintainer as svines and cluster on shared dates, so changes in the underlying C++ surface across the vine and density stack tend to ship together.

◆ Prediction

With the C++ API deliberately reworked for standalone use at 1.1.0, further work most plausibly consolidates that interface rather than adding data types. What 1.1.1 actually changed is not readable from its body.

Alternatives to incase and kde1d

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 kde1d.

See all incase alternatives → · See all kde1d alternatives →

Recent activity from incase and kde1d

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

  1. 11mo agoincaseDotted arguments and an .exhaustive matching check
  2. 1y agokde1dkde1d 1.1.1
  3. 1y agokde1dZero-inflated mixtures and a new standalone C++ API
  4. 2y agoincaseDotted and undotted arguments both accepted
  5. 4y agokde1dBit-wise Boolean operations removed
  6. 5y agoincaseFix NULL return when no condition matches
  7. 5y agoincaseFactor and list return families arrive
  8. 5y agoincaseDrop unused stats import to clear a check NOTE
  9. 5y agoincasePattern and function-based matching families added
  10. 5y agokde1ddkde1d() invisible output fixed
  11. 5y agokde1dValgrind false positive silenced
  12. 6y agokde1dqrng dependency dropped; undefined behaviour fixed

Frequently asked questions

What is the difference between incase and kde1d?

Both compete on the same themes — r-package — within Analytics. incase and kde1d 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 kde1d?

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

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