To cite package ‘xpectr’ in publications use:

Olsen L (2026). xpectr: Generates Expectations for 'testthat' Unit Testing. R package version 0.4.5, https://github.com/ludvigolsen/xpectr.

Corresponding BibTeX entry:

  @Manual{,
    title = {xpectr: Generates Expectations for 'testthat' Unit
      Testing},
    author = {Ludvig Renbo Olsen},
    year = {2026},
    note = {R package version 0.4.5},
    url = {https://github.com/ludvigolsen/xpectr},
  }