Closed ssh352 closed 10 months ago
There is no command this package exports (I don't know if R has this ability in general to easily package CLI programs), but you can do Rscript -e "styler::style_file(commandArgs(trailingOnly = TRUE))" path/to/file path/to/file
.
similar to clang-format? to format a R script to a formatted R script?
Thanks