tests/testthat/stylerignore/braces-in.R

x<- function()
3 # styler: off

x<- function() # styler: off
  3


if (x) # styler: off
  3 else
  4

if (x) {
  3
} else  # styler: off
  4

if (x)
  3 else 4 # styler: off

while (x) # styler: off
  "x"


while (x)
  "x"# styler: off
krlmlr/styler documentation built on April 8, 2024, 7:53 p.m.