To cite package ‘rtern’ in publications use:

Davies G (2022). rtern: A Ternary Conditional Operator for R. R package version 0.1.2, https://github.com/grddavies/rtern.

Corresponding BibTeX entry:

  @Manual{,
    title = {rtern: A Ternary Conditional Operator for R},
    author = {Gethin Davies},
    year = {2022},
    note = {R package version 0.1.2},
    url = {https://github.com/grddavies/rtern},
  }