Strips .R files of roxygen2 style comments (#')

rmOxygen(.file, showonexit = TRUE)

Arguments

.file

character, path to an .R file, character vector of length 1

showonexit

logical, show file on exit. Default: TRUE

Value

Nothing. Overwrites files as a side effect

Author

Anton Grishin

Examples

if (FALSE) {
rmOxygen("./myRfunctions/function1.R")
}