Skip to content

Commit 95648d7

Browse files
Update NEWS.md
1 parent 3dcf923 commit 95648d7

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

NEWS.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,39 +23,47 @@
2323
`styler.ignore_stop` omit the `#` (#849).
2424

2525

26-
**Other changes**
26+
**Features**
2727

2828
* {styler} can be ran via GitHub Actions using
2929
`usethis::use_github_action("style")` (#914).
30+
* added guarantee that styled code is parsable (#892).
31+
* Developers can now create style guides with indention characters other than
32+
spaces (#916).
33+
34+
**Documentation**
35+
36+
* Add vignette on distributing style guide (#846, #861).
37+
* Fix argument name `filetype` in Example for `style_dir()` (#855).
38+
39+
40+
**Bug fixes**
3041

31-
* `.onLoad()` method no longer broken with {cli} >= 3.1 (#893).
3242
* Piped function without brackets `substitute(x %>% y)` don't get `()` added
3343
anymore for one level deep (not more yet, see #889), as this can change
3444
outcome of the code (#876).
35-
* rules that add tokens don't break stylerignore sequences anymore (#891).
45+
* `.onLoad()` method no longer broken with {cli} >= 3.1 (#893).
3646
* Function calls containing `+` should no longer give any error on styling when
3747
there are comments and line breaks under certain circumstances (#905).
38-
* Add vignette on distributing style guide (#846, #861).
48+
* rules that add tokens don't break stylerignore sequences anymore (#891).
3949
* Alignment detection respects stylerignore (#850).
4050
* `Warning: Unknown or uninitialised column:` was fixed (#885).
4151
* Unaligned expressions with quoted key (e.g. `c("x" = 2)`) are now correctly
4252
detected (#881).
4353
* function calls with unequal number of token on different lines are no longer
4454
deemed aligned if there are arbitrary spaces around the tokens on the lines
4555
with most tokens (#902).
56+
* if a line starts with `EQ_SUB` (`=`), the corresponding key is moved to that
57+
line too (#923).
4658
* ensure a trailing blank line also if the input is cached (#867).
4759
* Preserve trailing blank line in roxygen examples to simplify concatenation of
4860
examples (#880).
49-
* added guarantee that styled code is parsable (#892).
5061
* `indenty_by` is now also respected when curly braces are added to an if
5162
statement by {styler} (#915).
5263
* An error is now thrown on styling if input unicode characters can't be
5364
correctly parsed for Windows and R < 4.2 (#883).
54-
* Developers can now create style guides with indention characters other than
55-
spaces (#916).
5665
* styling of text does not error anymore when the R option `OutDec` is set to
5766
a non-default value (#912).
58-
* Fix argument name `filetype` in Example for `style_dir()` (#855).
5967

6068

6169
**Infrastructure**

0 commit comments

Comments
 (0)