tests/testthat/indention_operators/function-multiline-no-braces-strict-out.R

g <- function(k) {
  NULL
}


g <- function(k) {
  h(
    NULL
  )
}


g <- function(k) {
  h( # y
    NULL # x
  )
}

g <- function(k) {
  h( # y
    NULL
  )
}


g <- function(k) {
  h(
    NULL # 3jkö
  )
}

g <- function(k) {
  h(
    if (TRUE) {
      x
    }
  )
}

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.