You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, when I load an R package with loadfast, I cannot use testthat::with_mocked_bindings(). It will tell me that there are no packages loaded with pkgload.
I would like to use testthat::with_mocked_bindings() so that I can mock functions for a certain block of code.
We need to figure out a way to do this. The first step should be reproducing the issue. The next step is thinking about solutions: Can we extend loadfast so that this works or should we provide a separate with_mock()-like function. In this case, this function should at best be compatible with devtools::load_all() as well as loadfast.
Activity