To cite package ‘openai’ in publications use:

Rudnytskyi I (2024). openai: R Wrapper for OpenAI API. R package version 0.4.1, https://github.com/irudnyts/openai.

Corresponding BibTeX entry:

  @Manual{,
    title = {openai: R Wrapper for OpenAI API},
    author = {Iegor Rudnytskyi},
    year = {2024},
    note = {R package version 0.4.1},
    url = {https://github.com/irudnyts/openai},
  }