transform_files
applies transformations to file contents and writes back
the result.
transform_files(files, transformers)
files | A character vector with paths to the file that should be transformed. |
---|---|
transformers | A list of transformer functions that operate on flat parse tables. |
A logical value that indicates whether or not any file was changed is returned invisibly. If files were changed, the user is informed to carefully inspect the changes via a message sent to the console.