style_all | R Documentation |
Style all files in a project. Implemented as a wrapper for styler::style_dir()
that styles
.R
, .Rprofile
, .Rmd
, .Rmarkdown
, .Rnw
, and .Qmd
files by default.
style_all( path = ".", filetype = c("R", "Rprofile", "Rmd", "Rmarkdown", "Rnw", "Qmd"), ... )
path |
Path to a directory with files to transform. |
filetype |
Vector of file extensions indicating which file types should
be styled. Case is ignored, and the |
... |
Arguments passed on to
|
## Not run: style_all() style_all("analysis", filetype = "Rmd") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.