The R6 package has been added to Suggests, as requested by CRAN.
stub()
now works if the function being stubbed contains assignment functions (@jimhester, #23).
.
don’t have things mocked out in them.Add support for stubbing depth greater than 1.
Add support for nested R6 classes.
This release addresses issues https://github.com/jfiksel/mockery/issues/17 and https://github.com/jfiksel/mockery/issues/13
In particular, it is now possible to mock functions out of R6 methods that contain other R6 objects. Additionally, it’s also possible to specify the depth of mocking.