mockr: Mocking in R
Provides a means to mock a package function, i.e.,
temporarily substitute it for testing. Designed as a drop-in
replacement for the now deprecated 'testthat::with_mock()' and
'testthat::local_mock()'.
Version: |
0.2.2 |
Imports: |
rlang, withr |
Suggests: |
covr, fs, knitr, pkgload, rmarkdown, testthat, usethis |
Published: |
2025-05-01 |
DOI: |
10.32614/CRAN.package.mockr |
Author: |
Kirill Müller [aut, cre] |
Maintainer: |
Kirill Müller <kirill at cynkra.com> |
BugReports: |
https://github.com/krlmlr/mockr/issues |
License: |
MIT + file LICENSE |
URL: |
https://krlmlr.github.io/mockr/, https://github.com/krlmlr/mockr |
NeedsCompilation: |
no |
Materials: |
README, NEWS |
CRAN checks: |
mockr results |
Documentation:
Downloads:
Reverse dependencies:
Reverse suggests: |
amerifluxr, corehunter, coursekata, dosearch, gluedown, googledrive, gptstudio, knitrProgressBar, mctq, metro, miniCRAN, onetime, passport, pestr, ROCaggregator, shiny.benchmark, storr, tidyhte, tidyomics, tidysq, tidyverse |
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=mockr
to link to this page.