To cite redistmetrics in publications use:

Kenny CT, McCartan C, Fifield B, Imai K (2021). “redistmetrics: Redistricting Metrics.” Available at The Comprehensive R Archive Network (CRAN). https://github.com/alarm-redist/redistmetrics.

Corresponding BibTeX entry:

  @Misc{,
    title = {{redistmetrics}: Redistricting Metrics},
    author = {Christopher T. Kenny and Cory McCartan and Ben Fifield
      and Kosuke Imai},
    howpublished = {Available at The Comprehensive R Archive Network
      (CRAN)},
    year = {2021},
    url = {https://github.com/alarm-redist/redistmetrics},
  }