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)
   }
r-lib/styler documentation built on April 30, 2024, 9 p.m.