To cite package ‘suncalc’ in publications use:

Thieurmel B, Elmarhraoui A (2023). suncalc: Compute Sun Position, Sunlight Phases, Moon Position and Lunar Phase. R package version 0.5.2, https://github.com/datastorm-open/suncalc.

Corresponding BibTeX entry:

  @Manual{,
    title = {suncalc: Compute Sun Position, Sunlight Phases, Moon
      Position and Lunar Phase},
    author = {Benoit Thieurmel and Achraf Elmarhraoui},
    year = {2023},
    note = {R package version 0.5.2},
    url = {https://github.com/datastorm-open/suncalc},
  }