The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
The two main functionalities of this package are creating mock objects (functions) and selectively intercepting calls to a given function that originate in some other function. It can be used with any testing framework available for R. Mock objects can be injected with either this package's own stub() function or a similar with_mock() facility present in the 'testthat' package.
Version: | 0.4.4 |
Imports: | testthat |
Suggests: | knitr, R6, rmarkdown (≥ 1.0) |
Published: | 2023-09-26 |
DOI: | 10.32614/CRAN.package.mockery |
Author: | Noam Finkelstein [aut], Lukasz Bartnik [aut], Jim Hester [aut], Hadley Wickham [aut, cre] |
Maintainer: | Hadley Wickham <hadley at rstudio.com> |
BugReports: | https://github.com/r-lib/mockery/issues |
License: | MIT + file LICENSE |
URL: | https://github.com/r-lib/mockery |
NeedsCompilation: | no |
Materials: | README NEWS |
CRAN checks: | mockery results |
Reference manual: | mockery.pdf |
Vignettes: |
Mocks: Integrating with testthat |
Package source: | mockery_0.4.4.tar.gz |
Windows binaries: | r-devel: mockery_0.4.4.zip, r-release: mockery_0.4.4.zip, r-oldrel: mockery_0.4.4.zip |
macOS binaries: | r-release (arm64): mockery_0.4.4.tgz, r-oldrel (arm64): mockery_0.4.4.tgz, r-release (x86_64): mockery_0.4.4.tgz, r-oldrel (x86_64): mockery_0.4.4.tgz |
Old sources: | mockery archive |
Please use the canonical form https://CRAN.R-project.org/package=mockery to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.