To cite PupillometryR in publications use:

Forbes SH (2020). “PupillometryR: An R package for preparing and analysing pupillometry data.” Journal of Open Source Software, 5(50), 2285. doi: 10.21105/joss.02285.

Corresponding BibTeX entry:

  @Article{,
    title = {PupillometryR: An R package for preparing and analysing
      pupillometry data},
    author = {Samuel H. Forbes},
    journal = {Journal of Open Source Software},
    year = {2020},
    volume = {5},
    number = {50},
    pages = {2285},
    doi = {10.21105/joss.02285},
  }