To cite package ‘chatgpt’ in publications use:

Rodriguez J (2024). chatgpt: Interface to 'ChatGPT' from R. R package version 0.2.4, https://github.com/jcrodriguez1989/chatgpt.

Corresponding BibTeX entry:

  @Manual{,
    title = {chatgpt: Interface to 'ChatGPT' from R},
    author = {Juan Cruz Rodriguez},
    year = {2024},
    note = {R package version 0.2.4},
    url = {https://github.com/jcrodriguez1989/chatgpt},
  }