EntirelyDS/mockable: Mockable Functions For R

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).

Getting started

Package details

Maintainer
LicenseMIT + file LICENSE
Version0.1.0
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("EntirelyDS/mockable")
EntirelyDS/mockable documentation built on May 6, 2019, 3:48 p.m.