To cite package ‘apaText’ in publications use:

Stanley D (2023). apaText: Create R Markdown Text for Results in the Style of the American Psychological Association (APA). R package version 0.1.7, https://github.com/dstanley4/apatext.

Corresponding BibTeX entry:

  @Manual{,
    title = {apaText: Create R Markdown Text for Results in the Style
      of the American Psychological Association (APA)},
    author = {David Stanley},
    year = {2023},
    note = {R package version 0.1.7},
    url = {https://github.com/dstanley4/apatext},
  }