To cite package ‘mockthat’ in publications use:

Bennett N (2022). mockthat: Function Mocking for Unit Testing. R package version 0.2.8, https://github.com/nbenn/mockthat.

Corresponding BibTeX entry:

  @Manual{,
    title = {mockthat: Function Mocking for Unit Testing},
    author = {Nicolas Bennett},
    year = {2022},
    note = {R package version 0.2.8},
    url = {https://github.com/nbenn/mockthat},
  }