To cite StanHeaders in publications use:

Stan Development Team (2020). “StanHeaders: Headers for the R interface to Stan.” R package version 2.21.0-6, https://mc-stan.org/.

Corresponding BibTeX entry:

  @Misc{,
    title = {{StanHeaders}: Headers for the {R} interface to {Stan}},
    author = {{Stan Development Team}},
    note = {R package version 2.21.0-6},
    year = {2020},
    url = {https://mc-stan.org/},
  }