mockr (version 0.2.1)

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

Arguments

Author

Maintainer: Kirill Müller kirill@cynkra.com

See Also