To cite package ‘ri2’ in publications use:

  Coppock A (2026). _ri2: Randomization Inference for Randomized
  Experiments_. R package version 0.5.1,
  <https://github.com/acoppock/ri2>.

A BibTeX entry for LaTeX users is

  @Manual{,
    title = {ri2: Randomization Inference for Randomized Experiments},
    author = {Alexander Coppock},
    year = {2026},
    note = {R package version 0.5.1},
    url = {https://github.com/acoppock/ri2},
  }
