The effect of strict = FALSE

This vignette shows how output from styler might differ when strict = FALSE. For brevity, we don’t show the output of strict = TRUE, but it should be pretty simple for the user to derive it from the bullet point(s) or simply paste the code in the console to see the output.

library(styler)
function()
  NULL
1  +    (1 + 3)
1 ~  more()   #   comment
test({
  1

}
)
call(
  this)
call(2,
  more
)
ggplot2::ggplot(data, aes(x, y)) + geom_line() + scale_x_continuous()

this %>% is() %>% a() %>% long() %>% pipe()
if (TRUE) 3  else
  5