To cite package 'PACKAGENAME' in publications use:

Thomas J. Leeper (2018). PACKAGENAME: An R Packge. R package version 0.1.2.

Corresponding BibTeX entry:

  @Manual{,
    title = {PACKAGENAME: An R Package},
    author = {Thomas J. Leeper},
    year = {2018},
    note = {R package version 0.1.2},
  }