formatRFolder: Format all R files in a folder

View source: R/CodeFormatting.R

formatRFolderR Documentation

Format all R files in a folder

Description

Format all R files in a folder

Usage

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.


OHDSI/OhdsiRTools documentation built on June 7, 2022, 12:20 p.m.