style: Apply tidyverse_style, but use equal sign = for assignment

eq_assign_styleR Documentation

Apply tidyverse_style, but use equal sign = for assignment

Description

Apply tidyverse_style, but use equal sign = for assignment

Usage

eq_assign_style(...)

styler_style(
  path = ".",
  ...,
  style = eq_assign_style,
  filetype = "R",
  recursive = TRUE,
  exclude_files = NULL
)

Arguments

...

Arguments passed on to the style function, see tidyverse_style() for the default argument.

path

Path to a directory with files to transform.

style

A function that creates a style guide to use, by default tidyverse_style. Not used further except to construct the argument transformers. See style_guides() for details.

filetype

Vector of file extensions indicating which file types should be styled. Case is ignored, and the . is optional, e.g. c(".R",".Rmd"), or c("r", "rmd"). Supported values (after standardization) are: "qmd", "r", "rmd", "rmarkdown", "rnw", and "rprofile". Rmarkdown is treated as Rmd.

recursive

A logical value indicating whether or not files in sub directories of path should be styled as well.

exclude_files

Character vector with regular expressions to files that should be excluded from styling.


heavywatal/rwtl documentation built on July 14, 2024, 4:55 p.m.