transform_code {styler} | R Documentation |
A wrapper which initiates the styling of either R, Rmd or Rnw files by passing the relevant transformer function for each case.
transform_code(path, fun, ...)
path |
A vector with file paths to transform. |
fun |
A function that returns a character vector. |
... |
Further arguments passed to |