← Back to home
Comparison · Infra & APIs

dialr vs stochvol

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

dialr vs stochvol: at a glance

Featuredialrstochvol
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesphone-numbers, libphonenumber, rjava, r-packagebayesian-inference, stochastic-volatility, mcmc, rcpp
Last editorial update2h ago5h ago
WebsiteVisit →Visit →

What is dialr?

The R phone-number package stopped only parsing numbers and started asking them where they are.

dialr wraps Google's libphonenumber through rJava, giving R a phone vector class that parses, validates and formats international numbers. It has been quiet since August 2022, when the last release removed a pathology where Java would freeze after enough invalid inputs. The package covers parsing, validation, formatting, and the metadata lookups added in 0.3.0.

Read the full dialr trajectory →

What is stochvol?

A Bayesian volatility sampler in its maintenance decade, paying for its own speed

stochvol runs MCMC for stochastic volatility models, with a C++ sampler underneath an R interface. Five years of releases in this window contain no new models: the work is compiler and dependency compatibility, CRAN check notes, and a steady trickle of corrections to the sampler itself. Its methodological milestone, the Journal of Statistical Software paper, is recorded in a 2021 tag.

Read the full stochvol trajectory →

dialr vs stochvol: editorial side-by-side

D
dialr
INFRA · APIS
0.0

The R phone-number package stopped only parsing numbers and started asking them where they are.

◆ Current state

dialr wraps Google's libphonenumber through rJava, giving R a phone vector class that parses, validates and formats international numbers. It has been quiet since August 2022, when the last release removed a pathology where Java would freeze after enough invalid inputs. The package covers parsing, validation, formatting, and the metadata lookups added in 0.3.0.

◆ Where it's heading

Two forces shape the history. One is expansion into what libphonenumber knows beyond the number itself — carrier, geocode, timezone — which happened once, in 2019, and has not been extended since. The other is the ongoing cost of being a Java wrapper inside an R tidyverse: rJava initialisation moved so the :: form works, phone vectors reclassified when tibble 3.0.0 changed how it treats list-based classes, and repeated performance work to make crossing the Java boundary tolerable. The maintainer has floated moving the phone class onto vctrs but has not.

◆ Prediction

The vctrs migration is the one change the maintainer has explicitly signalled, and the hard-deprecated one-shot functions were slated for removal in the next major release; three years of silence make neither imminent.

S
stochvol
INFRA · APIS
0.0

A Bayesian volatility sampler in its maintenance decade, paying for its own speed

◆ Current state

stochvol runs MCMC for stochastic volatility models, with a C++ sampler underneath an R interface. Five years of releases in this window contain no new models: the work is compiler and dependency compatibility, CRAN check notes, and a steady trickle of corrections to the sampler itself. Its methodological milestone, the Journal of Statistical Software paper, is recorded in a 2021 tag.

◆ Where it's heading

This is what a finished computational package looks like. The formula interface arrived at 3.1.0 and nothing has been added since; what changes is the ground underneath — RcppArmadillo major versions, UBSan checks, error-handling conventions moving from Rf_error to Rcpp::stop for correct memory management. The recurring pattern worth watching is that several releases fix real errors in the sampler's proposal distributions, found by users and by CRAN's own instrumented checks rather than by the maintainer.

◆ Prediction

Nothing in these notes suggests new methodology. Expect the next release when RcppArmadillo or a CRAN check flavour forces one, and treat any bug report against the samplers as the more consequential event.

Alternatives to dialr and stochvol

Other Infra & APIs 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 dialr or stochvol.

See all dialr alternatives → · See all stochvol alternatives →

Recent activity from dialr and stochvol

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

  1. 5mo agostochvolSampler crash with constant parameters fixed, plus RcppArmadillo 15
  2. 1y agostochvolTwo CRAN check notes cleared
  3. 1y agostochvolProposal variance corrected in the centered parameterisation
  4. 2y agostochvolCRAN stochvol 3.2.4
  5. 2y agostochvolRolling-window indexing and inverse gamma prior validation fixed
  6. 3y agostochvolCore C++ sampler routines exported for reuse
  7. 3y agodialrInvalid values short-circuit the Java parser, fixing a freeze
  8. 5y agodialrJava initialises on load, so :: calls work without library()
  9. 6y agodialrR 4.0 bump and tests decoupled from libphonenumber data
  10. 6y agodialrPhone vectors work in tibbles again after the 3.0.0 change
  11. 7y agodialrCarrier, geocode, and timezone lookups added
  12. 7y agodialrTenfold rJava speedup and proper phone equality

Frequently asked questions

What is the difference between dialr and stochvol?

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

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. dialr and stochvol 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 Infra & APIs products to evaluate alongside.

What are the best alternatives to dialr?

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

What are the best alternatives to stochvol?

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