tests/testthat/line_breaks_and_other/curly-brace-edge-in.R

function(y = {}) NULL

function(y =
           {}) NULL

function(yyy= {1}) {
  1
}

function(yyy= {1
  }) {
  1
}

f1 <- function(x = {1}, y = 0) {
    c(x, y)
   }
krlmlr/styler documentation built on April 24, 2024, 4:14 p.m.