Package: redist Version: 4.3.2.9000 Date: 2026-02-28 Title: Simulation Methods for Legislative Redistricting Authors@R: c( person("Christopher T.", "Kenny", email = "ctkenny@proton.me", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-9386-6860")), person("Cory", "McCartan", email = "mccartan@psu.edu", role = "aut", comment = c(ORCID = "0000-0002-6251-669X")), person("Ben", "Fifield", email = "benfifield@gmail.com", role = "aut", comment = c(ORCID = "0000-0002-2247-0201")), person("Kosuke", "Imai", email = "imai@harvard.edu", role = "aut", comment = c(ORCID = "0000-0002-2748-1022")), person("Jun", "Kawahara", email = "jkawahara@i.kyoto-u.ac.jp", role = "ctb"), person("Alexander", "Tarr", email = "atarr@princeton.edu", role = "ctb"), person("Michael", "Higgins", email = "mikehiggins@k-state.edu", role = "ctb")) Description: Enables researchers to sample redistricting plans from a pre-specified target distribution using Sequential Monte Carlo and Markov Chain Monte Carlo algorithms. The package allows for the implementation of various constraints in the redistricting process such as geographic compactness and population parity requirements. Tools for analysis such as computation of various summary statistics and plotting functionality are also included. The package implements the SMC algorithm of McCartan and Imai (2023) , the enumeration algorithm of Fifield, Imai, Kawahara, and Kenny (2020) , the Flip MCMC algorithm of Fifield, Higgins, Imai and Tarr (2020) , the Merge-split/Recombination algorithms of Carter et al. (2019) and DeFord et al. (2021) , and the Short-burst optimization algorithm of Cannon et al. (2020) . Depends: R (>= 4.1.0), redistmetrics (>= 1.0.2) Imports: Rcpp (>= 0.11.0), rlang, cli (>= 3.1.0), vctrs, tidyselect, stringr, dplyr (>= 1.0.0), sf, doParallel, foreach, doRNG, sys, ggplot2, patchwork Suggests: coda, matrixStats, loo, Rmpi, withr, knitr, rmarkdown, rmapshaper, ggpattern, scales, units, RSpectra, testthat (>= 3.0.0), spelling, igraph, pkgload LinkingTo: Rcpp, RcppArmadillo, RcppThread, cli, redistmetrics Encoding: UTF-8 Language: en-US LazyData: true License: GPL (>= 2) SystemRequirements: C++17 NeedsCompilation: yes BugReports: https://github.com/alarm-redist/redist/issues URL: https://alarm-redist.org/redist/ VignetteBuilder: knitr Config/build/compilation-database: true Config/roxygen2/version: 8.0.0 Config/roxygen2/markdown: TRUE Config/testthat/edition: 3 Config/pak/sysreqs: libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev libicu-dev libssl-dev libproj-dev libsqlite3-dev libudunits2-dev Repository: https://alarm-redist.r-universe.dev Date/Publication: 2026-07-20 13:27:16 UTC RemoteUrl: https://github.com/alarm-redist/redist RemoteRef: dev RemoteSha: ce5f9bb9a0552ba139604f550e2112eab0b04ea2 Packaged: 2026-07-20 13:41:58 UTC; root Author: Christopher T. Kenny [aut, cre] (ORCID: ), Cory McCartan [aut] (ORCID: ), Ben Fifield [aut] (ORCID: ), Kosuke Imai [aut] (ORCID: ), Jun Kawahara [ctb], Alexander Tarr [ctb], Michael Higgins [ctb] Maintainer: Christopher T. Kenny