File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change 22
33* Package that explicitly depend on rlang in their description file
44 are now opting into a new snapshot display for errors, warnings, and
5- messages. This display will eventually become the default for all
6- packages.
5+ messages. Previously this only concerned packages that explicitly
6+ depended on rlang >= 1.0.0. This display will eventually become the
7+ default for all packages.
8+
9+ Changes include:
10+
11+ - Condition classes are no longer included in the snapshot by
12+ default. This is to avoid snapshot noise when upstream code adds
13+ or changes a class. For instance, r-devel has added classes to
14+ base errors.
15+
16+ - Warnings and errors are now printed with rlang, including the
17+ ` call ` field. This makes it easy to monitor the full appearance of
18+ warning and error messages as they are displayed to users.
19+
20+ This change is part of a push towards mentioning the useful
21+ context of an error as part of messages, see the release notes of
22+ rlang 1.0.0 for more about this.
23+
24+ * Test results show hyperlinks to failed expectation when supported (#1544 ).
725
826
927# testthat 3.1.2
5472 variant is active (#1540 ).
5573* JUnit reporter now includes skip messages/reasons (@rfineman , #1507 ).
5674
57- * Test results show hyperlinks to failed expectation when supported (#1544 ).
5875
5976# testthat 3.1.1
6077
You can’t perform that action at this time.
0 commit comments