Skip to content

Commit 08382a8

Browse files
add news bullet and spell check.
1 parent 5438a3e commit 08382a8

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

NEWS.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,32 @@
1616
[definition for aligned function calls](https://styler.r-lib.org/articles/detect-alignment.html)
1717
(#537).
1818

19-
* curlyl-curly (`{{`) syntactic sugar introduced with rlang 0.4.0 is now
19+
* curly-curly (`{{`) syntactic sugar introduced with rlang 0.4.0 is now
2020
explicitly handled, as opposed previously where it was just treated as two
21-
consequtive curly braces (#528).
21+
consecutive curly braces (#528).
2222

2323
* `style_pkg()`, `style_dir()` and the Addins can now style `.Rprofile`, and
2424
hidden files are now also styled (#530).
2525

2626
## Minor improvements and fixes
2727

28-
* brace expressions in function calls are formatted in a less compact way. This
29-
improves the formatting of `tryCatch()` in many cases (#543).
30-
31-
* escape characters in roxygen code examples are now correctly escaped (#512).
28+
* Brace expressions in function calls are formatted in a less compact way to
29+
improve readability. Typical use case: `tryCatch()` (#543).
3230

33-
* style selection Addin now preserves line break when the last line selected is
31+
* Arguments in function declarations in a context which is indented multiple
32+
times should now be correct. This typically affects `R6::R6Class()` (#546).
33+
34+
* Escape characters in roxygen code examples are now correctly escaped (#512).
35+
36+
* Style selection Addin now preserves line break when the last line selected is
3437
an entire line (#520).
3538

36-
* style file Addin can now properly handle cancelling (#511).
39+
* Style file Addin can now properly handle cancelling (#511).
3740

3841
* The body of a multi-line function declaration is now indented correctly for
3942
`strict = FALSE` and also wrapped in curly braces for `strict = TRUE` (#536).
4043

41-
* advice for contributors in `CONTRIBUTING.md` was updated (#508).
44+
* Advice for contributors in `CONTRIBUTING.md` was updated (#508).
4245

4346
## Adaption
4447

0 commit comments

Comments
 (0)