codegrip icon indicating copy to clipboard operation
codegrip copied to clipboard

Don't double indent function signature arguments

Open DavisVaughan opened this issue 6 months ago • 0 comments

See https://github.com/tidyverse/style/issues/215

it should be this:

mcmc_derive_fun <- function(
  object,
  new_data = data_set(object),
  new_expr = NULL,
  ...
) {
  body
}

not

mcmc_derive_fun <- function(
    object,
    new_data = data_set(object),
    new_expr = NULL,
    ...
) {
  body
}

DavisVaughan avatar Aug 21 '24 19:08 DavisVaughan