To cite package ‘gptr’ in publications use:

Gu W (2025). gptr: A Convenient R Interface with the OpenAI 'ChatGPT' API. R package version 0.7.0, https://github.com/broccolito/gptr.

Corresponding BibTeX entry:

  @Manual{,
    title = {gptr: A Convenient R Interface with the OpenAI 'ChatGPT'
      API},
    author = {Wanjun Gu},
    year = {2025},
    note = {R package version 0.7.0},
    url = {https://github.com/broccolito/gptr},
  }