tests/testthat/indention_curly_brackets/multi_line_curly_while_for_if_fun-out.R

a <- function(x, y, z) {
  while (2 + 2 > call(3, 1)) {
    if (isTRUE(x)) {
      b
    }
  }
  for (a in 1:19) {
    x[i] + 1
  }
}

Try the styler package in your browser

Any scripts or data that you put into this service are public.

styler documentation built on Aug. 29, 2023, 5:10 p.m.