Format all R files in a folder

formatRFolder(path = ".", recursive = TRUE, skipAutogenerated = TRUE, ...)

Arguments

path

Path to the folder containing the files to format. Only files with the .R extension will be formatted.

recursive

Include all subfolders?

skipAutogenerated

Skip auto-generated files such as RcppExports.R?

...

Parameters to be passed on the the formatRFile function

Details

DEPRECRATED. Please use styler::style_dir instead.