tests/testthat/fun_dec/line_break_fun_dec-out.R

a <- function(x, #
              y) {
  x - 1
}


a <- function(x, #
              y) #
{
  x
}

a <- function(x, #
              y #
) {
  y
}


a <- function(x,
              y) {
  x - 1
}

a <- function(x,
              #
              y) {
  x - 1
}

a <- function(x,
              y) {
  x - 1
}


a <- function(x,
              y) {
  x - 1
}

a <- function(
    #
    x,
    y) {
  x - 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.