``` r styler::style_text("list(\na = function() {\n NULL}\n)") #> list( #> a = function() { #> NULL #> } #> ) styler::style_text("list(\na = function() {\n NULL}\n)", strict = FALSE) #> list( #> a = function() { #> NULL #> }) ``` Why does `strict = FALSE` attach the paren to the closing brace? Quite invasive... ;-) Use case: Styling testthat with `strict = FALSE` first (#240).
Activity
lorenzwalthert commentedon Oct 23, 2017
We can add make
remove_line_break_before_round_closing()inactive forstrict = FALSE.