File: NEWS.md

package info (click to toggle)
r-cran-mockery 0.4.2+dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 172 kB
  • sloc: sh: 13; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 708 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## mockery 0.4.2

* 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).

## mockery 0.4.1

* Fix bug whereby functions that begin with `.` don't have things mocked out in
them.

## mockery 0.4.0

* Add support for stubbing depth greater than 1.

* Add support for nested R6 classes.

## mockery 0.3.2

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.