To cite package ‘cld2’ in publications use:

Ooms J (2025). cld2: Google's Compact Language Detector 2. R package version 1.2.6, https://github.com/ropensci/cld2.

Corresponding BibTeX entry:

  @Manual{,
    title = {cld2: Google's Compact Language Detector 2},
    author = {Jeroen Ooms},
    year = {2025},
    note = {R package version 1.2.6},
    url = {https://github.com/ropensci/cld2},
  }