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
Includes some refactoring to make it clear that there are three types of R6 tags: tags that belong to the class, tags that belong to a method, and tags that are handled elsewhere.
Also fixes a dev-only bug that caused method descriptions/details to get repeated in the class docs.
Fixes#1148
Copy file name to clipboardExpand all lines: NEWS.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
*`@examplesIf` now warns when there is no example code after the condition (#1695).
4
4
*`tag_words_line()` is deprecated in favour of `tag_words()`, which now checks for single-line content by default. Use `tag_words(x, multiline = TRUE)` or `tag_value(x, multiline = TRUE)` if your tag legitimately spans multiple lines.
5
5
* R6 improvements:
6
+
*`@returns` now works as a method-level tag in R6 classes, just like `@return` (#1148).
6
7
* The "Super classes" section now omits the `pkg::` prefix for parent classes from the same package, making the inheritance chain easier to read (#1567).
7
8
* R6 classes with only active bindings and `cloneable = FALSE` no longer error during documentation (#1610).
8
9
*`@example` (singular, with a file path) now works correctly in R6 class documentation (#1158).
0 commit comments