mockr: Mocking in R

Provides a means to mock a package function, i.e., temporarily substitute it for testing. Designed as a drop-in replacement for 'testthat::with_mock()', which may break in R 3.4.0 and later.

Package details

AuthorKirill Müller [aut, cre]
MaintainerKirill Müller <[email protected]>
LicenseGPL-3
Version0.1
URL https://github.com/krlmlr/mockr http://krlmlr.github.io/mockr
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("mockr")

Try the mockr package in your browser

Any scripts or data that you put into this service are public.

mockr documentation built on May 30, 2017, 2:34 a.m.