To cite package ‘kldtools’ in publications use:

Krykoniuk K (2021). kldtools: Kullback-Leibler Divergence and Other Tools to Analyze Frequencies. R package version 1.2, https://CRAN.R-project.org/package=kldtools.

Corresponding BibTeX entry:

  @Manual{,
    title = {kldtools: Kullback-Leibler Divergence and Other Tools to
      Analyze Frequencies},
    author = {Kateryna Krykoniuk},
    year = {2021},
    note = {R package version 1.2},
    url = {https://CRAN.R-project.org/package=kldtools},
  }