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()'.
Package details |
|
---|---|
Maintainer | |
License | GPL-3 |
Version | 0.2.1.9017 |
URL | https://krlmlr.github.io/mockr/ https://github.com/krlmlr/mockr |
Package repository | View on GitHub |
Installation |
Install the latest version of this package by entering the following in R:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.