R: Prettify R code in current working directory

prettify_any {styler} | R Documentation

## Prettify R code in current working directory

### Description

This is a helper function for style_dir.

### Usage

    prettify_any(transformers, filetype, recursive, exclude_files)

### Arguments

`transformers` | A set of transformer functions. This argument is most conveniently constructed via the `style` argument and `...`. See 'Examples'.
`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")`.
`recursive` | A logical value indicating whether or not files in subdirectories should be styled as well.
`exclude_files` | Character vector with paths to files that should be excluded from styling.

[Package styler version 1.0.2 Index]