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

Examples

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