To cite package ‘mockr’ in publications use:

Müller K (2023). mockr: Mocking in R. R package version 0.2.0.9002, https://github.com/krlmlr/mockr.

Corresponding BibTeX entry:

  @Manual{,
    title = {mockr: Mocking in R},
    author = {Kirill Müller},
    year = {2023},
    note = {R package version 0.2.0.9002},
    url = {https://github.com/krlmlr/mockr},
  }