To cite package ‘darksky’ in publications use:

Rudis B (2021). darksky: Tools to Work with the 'Dark Sky' 'API'. R package version 1.3.0, https://github.com/hrbrmstr/darksky.

Corresponding BibTeX entry:

  @Manual{,
    title = {darksky: Tools to Work with the 'Dark Sky' 'API'},
    author = {Bob Rudis},
    year = {2021},
    note = {R package version 1.3.0},
    url = {https://github.com/hrbrmstr/darksky},
  }