File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -308,10 +308,11 @@ a <- function() # comments should remain EOL {
308308The easiest way of taking care of that is not applying the rule if there is a
309309comment before the token of interest, which can be checked for within your
310310transformer function. The transformer function from the tidyverse style that
311- removes line breaks before the curly opening bracket looks as follows:
311+ removes line breaks before the round closing bracket that comes after a curly
312+ brace looks as follows:
312313
313314``` {r}
314- styler:::remove_line_break_before_curly_opening
315+ styler:::remove_line_break_before_round_closing_after_curly
315316```
316317
317318With our example function ` set_line_break_before_curly_opening() ` we don't need
You can’t perform that action at this time.
0 commit comments