View source: R/transform-code.R
transform_code | 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, ..., dry)
path |
A vector with file paths to transform. |
fun |
A function that returns a character vector. |
... |
Further arguments passed to |
dry |
To indicate whether styler should run in dry mode, i.e. refrain
from writing back to files . |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.