Package: redist Version: 4.3.2 Date: 2026-02-10 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, servr, sys, ggplot2, patchwork Suggests: coda, matrixStats, loo, Rmpi, withr, knitr, rmarkdown, rmapshaper, ggpattern, scales, units, RSpectra, testthat (>= 3.0.0), spelling LinkingTo: Rcpp, RcppArmadillo, RcppThread, cli, redistmetrics License: GPL (>= 2) SystemRequirements: C++17, python NeedsCompilation: yes BugReports: https://github.com/alarm-redist/redist/issues URL: https://alarm-redist.org/redist/ Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.3 VignetteBuilder: knitr Encoding: UTF-8 Config/testthat/edition: 3 Language: en-US LazyData: true Config/pak/sysreqs: libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev make libicu-dev libssl-dev libproj-dev python3 libsqlite3-dev libudunits2-dev zlib1g-dev Repository: https://christopherkenny.r-universe.dev Date/Publication: 2026-02-12 18:28:23 UTC RemoteUrl: https://github.com/alarm-redist/redist RemoteRef: HEAD RemoteSha: 2cc8b137cebbe15b8fc96295b7e2f1dd390c5577 Packaged: 2026-06-24 00:37:27 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