styler (version 1.1.0)

remove_roxygen_header: Remove roxygen header

Description

Can't simply remove the element with the regex because it may happen that the roxygen tag is on the same line as its contents start.

Usage

remove_roxygen_header(text)

Arguments

Examples

Run this code
# NOT RUN {
#' @examples c(1, 2)
# }

Run the code above in your browser using DataLab