mockr-package {mockr}R Documentation

mockr: Mocking in R

Description

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

Author(s)

Maintainer: Kirill Müller kirill@cynkra.com

See Also

Useful links:


[Package mockr version 0.2.2 Index]