To cite package ‘roll’ in publications use:

Foster J (2026). roll: Rolling and Expanding Statistics. R package version 1.2.2, https://github.com/jasonjfoster/roll.

Corresponding BibTeX entry:

  @Manual{,
    title = {roll: Rolling and Expanding Statistics},
    author = {Jason Foster},
    year = {2026},
    note = {R package version 1.2.2},
    url = {https://github.com/jasonjfoster/roll},
  }