mockthat icon indicating copy to clipboard operation
mockthat copied to clipboard

Documentation: Example error

Open mpettis opened this issue 4 years ago • 0 comments

From the main page at: https://nbenn.github.io/mockthat/

We have this example, which I suspect is broken because you need to reinstall mockr before running:

mockr::with_mock(
  foo = function(x) "bar",
  met(x)
)
#> Error in loadNamespace(x): there is no package called 'mockr'

mpettis avatar Apr 05 '22 15:04 mpettis