To cite fontcm in publications use:

Chang W, Kryukov A, Murrell P, Bertrand F (2025). Computer Modern Font for Use with Extrafont Package. R package version 1.2, https://github.com/fbertran/fontcm.

Corresponding BibTeX entry:

  @Manual{,
    title = {Computer Modern Font for Use with Extrafont Package},
    author = {Winston Chang and Alexej Kryukov and Paul Murrell and
      Frederic Bertrand},
    publisher = {manual},
    year = {2025},
    note = {R package version 1.2},
    url = {https://github.com/fbertran/fontcm},
  }