← Back to home
Comparison · Infra & APIs

crandep vs states

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

crandep vs states: at a glance

Featurecrandepstates
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themescran, dependency-network, power-law, mcmcpolitical-science, panel-data, country-codes, datasets
Last editorial update35m ago2h ago
WebsiteVisit →Visit →

What is crandep?

Half CRAN dependency scraper, half extreme-value modelling kit — and the scraper half keeps finding bugs.

crandep does two jobs that rarely share a package: it harvests the CRAN dependency network, and it fits power-law and extreme-value mixture models to the resulting degree distributions. The 2024 releases were all model work — profile posteriors, wrappers, a constrained variant, a TZP-power-law mixture between the two- and three-component models. The 2025 releases are entirely the other half, fixing what the harvester was silently getting wrong.

Read the full crandep trajectory →

What is states?

State-panel tooling holding steady since its 2020 data and ergonomics release.

states supplies the Gleditsch & Ward and Correlates of War state lists and the tooling to turn them into country-year or country-month panels, with plot_missing() for coverage checks. The substantive work landed in 2020; the releases since are compatibility fixes against ggplot2, dplyr, readr and testthat. The most recent entry is a single test repair.

Read the full states trajectory →

crandep vs states: editorial side-by-side

C
crandep
INFRA · APIS
0.0

Half CRAN dependency scraper, half extreme-value modelling kit — and the scraper half keeps finding bugs.

◆ Current state

crandep does two jobs that rarely share a package: it harvests the CRAN dependency network, and it fits power-law and extreme-value mixture models to the resulting degree distributions. The 2024 releases were all model work — profile posteriors, wrappers, a constrained variant, a TZP-power-law mixture between the two- and three-component models. The 2025 releases are entirely the other half, fixing what the harvester was silently getting wrong.

◆ Where it's heading

The modelling side has settled into a family of mixtures with matching wrapper and profile-posterior functions, and has not gained a new component since mid-2024. Attention has shifted to data quality in the scraper, where two consecutive releases dealt with the same class of problem: rows that should not exist because of trailing commas in CRAN's own metadata, and rows that should exist but did not because orphan packages have no edges. For a package whose science is degree distributions, missing isolated nodes is a modelling error, not a formatting one.

◆ Prediction

Expect further hardening against CRAN metadata quirks in the harvesting functions; the mixture-model side looks feature-complete and is likely to stay quiet unless a new component model is published.

S
states
INFRA · APIS
0.0

State-panel tooling holding steady since its 2020 data and ergonomics release.

◆ Current state

states supplies the Gleditsch & Ward and Correlates of War state lists and the tooling to turn them into country-year or country-month panels, with plot_missing() for coverage checks. The substantive work landed in 2020; the releases since are compatibility fixes against ggplot2, dplyr, readr and testthat. The most recent entry is a single test repair.

◆ Where it's heading

The package has reached the point where its own data and API are settled and the release trigger is upstream churn in the tidyverse. What movement there is goes toward making the two state lists interchangeable, with the microstates coding carried from G&W onto the COW data as the clearest example, rather than toward new datasets.

◆ Prediction

The next release is most likely another compatibility pass; a data refresh would be the signal that the package is active again.

Alternatives to crandep and states

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 crandep or states.

See all crandep alternatives → · See all states alternatives →

Recent activity from crandep and states

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

  1. 0y agostatesplot_missing() test fixed for the next ggplot2
  2. 1y agocrandepDependency harvest split in two so orphan packages stop disappearing
  3. 1y agocrandepTrailing commas in CRAN metadata no longer produce empty-name rows
  4. 2y agocrandepConstrained two-component mixture with continuity at the threshold
  5. 2y agocrandepArgument names normalised to x_max; MCMC wrapper defaults set
  6. 2y agocrandepTZP-power-law mixture fills the gap between the 2- and 3-component models
  7. 2y agocrandepProfile posteriors and chained MCMC wrappers for the mixture models
  8. 2y agostatesggplot2 and dplyr deprecation cleanup
  9. 2y agostatesBundled state data stripped to plain data frames
  10. 5y agostatesMicrostate coding for COW data and state_panel() shortcuts
  11. 7y agostatesSimpler defaults for state_panel() and plot_missing()

Frequently asked questions

What is the difference between crandep and states?

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

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

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

What are the best alternatives to states?

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