Package: redist
Version: 4.3.1
Date: 2025-09-30
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) <doi:10.1214/23-AOAS1763>, the enumeration 
    algorithm of Fifield, Imai, Kawahara, and Kenny (2020) <doi:10.1080/2330443X.2020.1791773>,
    the Flip MCMC algorithm of Fifield, Higgins, Imai and Tarr (2020) <doi:10.1080/10618600.2020.1739532>,
    the Merge-split/Recombination algorithms of Carter et al. (2019) <doi:10.48550/arXiv.1911.01503> 
    and DeFord et al. (2021) <doi:10.1162/99608f92.eb30390f>, and the Short-burst 
    optimization algorithm of Cannon et al. (2020) <doi:10.48550/arXiv.2011.02288>.
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/
RoxygenNote: 7.3.2
VignetteBuilder: knitr
Encoding: UTF-8
Config/testthat/edition: 3
Language: en-US
LazyData: true
Packaged: 2025-10-01 00:09:57 UTC; chris
Author: Christopher T. Kenny [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-9386-6860>),
  Cory McCartan [aut] (ORCID: <https://orcid.org/0000-0002-6251-669X>),
  Ben Fifield [aut] (ORCID: <https://orcid.org/0000-0002-2247-0201>),
  Kosuke Imai [aut] (ORCID: <https://orcid.org/0000-0002-2748-1022>),
  Jun Kawahara [ctb],
  Alexander Tarr [ctb],
  Michael Higgins [ctb]
Maintainer: Christopher T. Kenny <ctkenny@proton.me>
Repository: CRAN
Date/Publication: 2025-10-01 13:40:02 UTC
Built: R 4.4.3; x86_64-w64-mingw32; 2026-01-19 04:45:06 UTC; windows
Archs: x64
