Provides a means to mock a package function, i.e., temporarily substitute it for testing. Designed as a drop-in replacement for 'testthat::with_mock()', which may break in R 3.4.0 and later.
| Version: | 0.1 |
| Imports: | lazyeval |
| Suggests: | testthat, covr |
| Published: | 2017-04-29 |
| Author: | Kirill Müller [aut, cre] |
| Maintainer: | Kirill Müller <krlmlr+r at mailbox.org> |
| BugReports: | https://github.com/krlmlr/mockr/issues |
| License: | GPL-3 |
| URL: | https://github.com/krlmlr/mockr, http://krlmlr.github.io/mockr |
| NeedsCompilation: | no |
| Materials: | README NEWS |
| CRAN checks: | mockr results |
| Reference manual: | mockr.pdf |
| Package source: | mockr_0.1.tar.gz |
| Windows binaries: | r-devel: mockr_0.1.zip, r-release: mockr_0.1.zip, r-oldrel: mockr_0.1.zip |
| macOS binaries: | r-release: mockr_0.1.tgz, r-oldrel: mockr_0.1.tgz |
| Reverse suggests: | corehunter, knitrProgressBar, passport, rprojroot, storr, stubthat, tibble |
Please use the canonical form https://CRAN.R-project.org/package=mockr to link to this page.