To cite package ‘when’ in publications use:

Samos J (2024). when: Definition of Date and Time Dimension Tables. R package version 1.0.0, https://CRAN.R-project.org/package=when.

Corresponding BibTeX entry:

  @Manual{,
    title = {when: Definition of Date and Time Dimension Tables},
    author = {Jose Samos},
    year = {2024},
    note = {R package version 1.0.0},
    url = {https://CRAN.R-project.org/package=when},
  }