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]>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

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.