rmOxygen: Remove roxygen2 Comments From an .R File

View source: R/rmOxygen.R

rmOxygenR Documentation

Remove roxygen2 Comments From an .R File

Description

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

Usage

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(s)

Anton Grishin

Examples

## Not run: 
rmOxygen("./myRfunctions/function1.R")

## End(Not run)

sinew documentation built on March 31, 2022, 5:06 p.m.