The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
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[@]metanet.ch.
With the deprecation of mocking capabilities shipped with 'testthat' as of 'edition 3' it is left to third-party packages to replace this functionality, which in some test-scenarios is essential in order to run unit tests in limited environments (such as no Internet connection). Mocking in this setting means temporarily substituting a function with a stub that acts in some sense like the original function (for example by serving a HTTP response that has been cached as a file). The only exported function 'with_mock()' is modeled after the eponymous 'testthat' function with the intention of providing a drop-in replacement.
Version: | 0.2.8 |
Depends: | R (≥ 3.3.0) |
Imports: | utils, rlang |
Suggests: | testthat, pkgload, curl, jsonlite, withr |
Published: | 2022-11-01 |
DOI: | 10.32614/CRAN.package.mockthat |
Author: | Nicolas Bennett [aut, cre] |
Maintainer: | Nicolas Bennett <nicolas.bennett at stat.math.ethz.ch> |
BugReports: | https://github.com/nbenn/mockthat/issues |
License: | MIT + file LICENSE |
URL: | https://nbenn.github.io/mockthat/ |
NeedsCompilation: | no |
Language: | en-US |
Materials: | README NEWS |
CRAN checks: | mockthat results |
Reference manual: | mockthat.pdf |
Package source: | mockthat_0.2.8.tar.gz |
Windows binaries: | r-devel: mockthat_0.2.8.zip, r-release: mockthat_0.2.8.zip, r-oldrel: mockthat_0.2.8.zip |
macOS binaries: | r-release (arm64): mockthat_0.2.8.tgz, r-oldrel (arm64): mockthat_0.2.8.tgz, r-release (x86_64): mockthat_0.2.8.tgz, r-oldrel (x86_64): mockthat_0.2.8.tgz |
Old sources: | mockthat archive |
Reverse suggests: | dynamite, fastcpd, ricu |
Please use the canonical form https://CRAN.R-project.org/package=mockthat 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.