fix_rscript {jss} | R Documentation |
The function fix_rscript
is just a simple convenience
interface to tidy_source
, using certain
argument settings. The code_lines
function is a small
utility for counting lines after removing comments and empty lines.
fix_rscript(file = NULL) code_lines(path = ".", comment = "#")
file |
character. The .R script that should be fixed,
by default |
path |
character specifying a directory with .R files. |
comment |
character for beginning comments. |