tests/testthat/unindention/mixed-double-in.R

# classical

function(x,
         y) {
  1
}


function(x,
         y,
         k) {
  1
}


function(x,
         y) {
  1
}

function(
         x,
         y) {
  1
}


function(x, y) {
  1
}

function(x,
         #
         y) {
  1
}


# double
function(x,
y) {
  1
}


function(x,
y,
         k) {
  1
}


function(

    x,
    y) {
  1
}


function(
  x, y) {
  1
}

function(x,
#
                         y) {
  1
}


# last brace
function(
    x, y) NULL

function(
    x, y
) NULL

function(
    x,
    y) NULL

function(
    x,
    y
) NULL
krlmlr/styler documentation built on April 24, 2024, 4:14 p.m.