To cite StanHeaders in publications use:

Stan Development Team (2019). “StanHeaders: Headers for the R interface to Stan.” R package version 2.19.0, http://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.19.0},
    year = {2019},
    url = {http://mc-stan.org/},
  }