|
23 | 23 | `styler.ignore_stop` omit the `#` (#849).
|
24 | 24 |
|
25 | 25 |
|
26 |
| -**Other changes** |
| 26 | +**Features** |
27 | 27 |
|
28 | 28 | * {styler} can be ran via GitHub Actions using
|
29 | 29 | `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** |
30 | 41 |
|
31 |
| -* `.onLoad()` method no longer broken with {cli} >= 3.1 (#893). |
32 | 42 | * Piped function without brackets `substitute(x %>% y)` don't get `()` added
|
33 | 43 | anymore for one level deep (not more yet, see #889), as this can change
|
34 | 44 | 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). |
36 | 46 | * Function calls containing `+` should no longer give any error on styling when
|
37 | 47 | 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). |
39 | 49 | * Alignment detection respects stylerignore (#850).
|
40 | 50 | * `Warning: Unknown or uninitialised column:` was fixed (#885).
|
41 | 51 | * Unaligned expressions with quoted key (e.g. `c("x" = 2)`) are now correctly
|
42 | 52 | detected (#881).
|
43 | 53 | * function calls with unequal number of token on different lines are no longer
|
44 | 54 | deemed aligned if there are arbitrary spaces around the tokens on the lines
|
45 | 55 | with most tokens (#902).
|
| 56 | +* if a line starts with `EQ_SUB` (`=`), the corresponding key is moved to that |
| 57 | + line too (#923). |
46 | 58 | * ensure a trailing blank line also if the input is cached (#867).
|
47 | 59 | * Preserve trailing blank line in roxygen examples to simplify concatenation of
|
48 | 60 | examples (#880).
|
49 |
| -* added guarantee that styled code is parsable (#892). |
50 | 61 | * `indenty_by` is now also respected when curly braces are added to an if
|
51 | 62 | statement by {styler} (#915).
|
52 | 63 | * An error is now thrown on styling if input unicode characters can't be
|
53 | 64 | correctly parsed for Windows and R < 4.2 (#883).
|
54 |
| -* Developers can now create style guides with indention characters other than |
55 |
| - spaces (#916). |
56 | 65 | * styling of text does not error anymore when the R option `OutDec` is set to
|
57 | 66 | a non-default value (#912).
|
58 |
| -* Fix argument name `filetype` in Example for `style_dir()` (#855). |
59 | 67 |
|
60 | 68 |
|
61 | 69 | **Infrastructure**
|
|
0 commit comments