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.

Tests Vignettes

Dependencies

Imports/Depends/LinkingTo/Enhances (1)
  • lazyeval
  • Suggests (2)
  • testthat
  • covr
  • Version History