tests/testthat/indention_operators/if-else-no-braces-not-strict-in.R

if (TRUE) c(
  2
) else c(
  1
)

if (TRUE) c(
  2
) else c( # nothing
  1
)

if (TRUE) c(
  2 # also nothing
) else c(
  1
)
krlmlr/styler documentation built on April 24, 2024, 4:14 p.m.