To cite package ‘gym’ in publications use:

Hendricks P (2017). gym: Provides Access to the OpenAI Gym API. R package version 0.1.0, https://github.com/paulhendricks/gym-r.

Corresponding BibTeX entry:

  @Manual{,
    title = {gym: Provides Access to the OpenAI Gym API},
    author = {Paul Hendricks},
    year = {2017},
    note = {R package version 0.1.0},
    url = {https://github.com/paulhendricks/gym-r},
  }