An implementation of mockable functions in R. Mockable functions are based on R6 reference classes, allowing shared references to functions. A mockable fn g is defined by an underlying regular (immutable) function f. If we assign a second mockable function h <- g, then redefining the underlying function of g will also change the underlying function h (or vice versa).
|License||MIT + file LICENSE|
|Package repository||View on GitHub|
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.