Skip to content

redist

Simulation Methods for Legislative Redistricting

v4.3.2 · Feb 12, 2026 · GPL (>= 2)

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>.

Downloads

479

Last 30 days

8124th

1.5K

Last 90 days

6.6K

Last year

Trend: -29.1% (30d vs prior 30d)

CRAN Check Status

7 NOTE
7 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (9 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘redist/libs/redist.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-debian-gcc

compiled code

File ‘redist/libs/redist.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-windows-x86_64

compiled code

File 'redist/libs/x64/redist.dll':
  Found non-API call to R: 'R_UnboundValue'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 19.2Mb
  sub-directories of 1Mb or more:
    data   1.2Mb
    libs  15.1Mb
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘Rmpi’
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 19.5Mb
  sub-directories of 1Mb or more:
    data   2.1Mb
    libs  14.6Mb
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘Rmpi’
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  6.0Mb
  sub-directories of 1Mb or more:
    data   1.2Mb
    libs   2.0Mb
NOTE r-patched-linux-x86_64

compiled code

File ‘redist/libs/redist.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘Rmpi’
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘Rmpi’
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  6.0Mb
  sub-directories of 1Mb or more:
    data   1.2Mb
    libs   2.0Mb

Reverse Dependencies (5)

suggests

Dependency Network

Dependencies Reverse dependencies redistmetrics Rcpp rlang cli vctrs tidyselect stringr dplyr sf doParallel foreach doRNG servr sys ggplot2 +1 more dependencies alarmdata redistverse rict geomander ggredist redist

Version History

new 4.3.2 Mar 10, 2026
updated 4.3.2 ← 4.3.1 diff Feb 11, 2026
updated 4.3.1 ← 4.3.0 diff Sep 30, 2025
updated 4.3.0 ← 4.2.0 diff Jul 7, 2025
updated 4.2.0 ← 4.1.1 diff Jan 12, 2024
updated 4.1.1 ← 4.1.0 diff Apr 2, 2023
updated 4.1.0 ← 4.0.1 diff Mar 18, 2023
updated 4.0.1 ← 3.1.5 diff Jun 15, 2022
updated 3.1.5 ← 3.1.4 diff Oct 5, 2021
updated 3.1.4 ← 3.1.3 diff Sep 18, 2021
updated 3.1.3 ← 3.1.1 diff Sep 13, 2021
updated 3.1.1 ← 3.0.7 diff Sep 4, 2021
updated 3.0.7 ← 3.0.1 diff May 14, 2021
updated 3.0.1 ← 2.0.2 diff Apr 6, 2021
updated 2.0.2 ← 2.0.1 diff Oct 13, 2020
updated 2.0.1 ← 1.3-3 diff Sep 19, 2020
updated 1.3-3 ← 1.3-2 diff Dec 14, 2018
updated 1.3-2 ← 1.3-1 diff Oct 17, 2018
updated 1.3-1 ← 1.3 diff Mar 14, 2017
updated 1.3 ← 1.2 diff Dec 20, 2016