transform_code: Transform code from R, Rmd or Rnw files
Description
A wrapper which initiates the styling of
either R, Rmd or Rnw files by passing the relevant transformer function for each
case.
Usage
transform_code(path, fun, ...)
Arguments
path
A vector with file paths to transform.
fun
A function that returns a character vector.