remove_roxygen_header: Remove roxygen header

View source: R/roxygen-examples-add-remove.R

remove_roxygen_headerR Documentation

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)

Examples

#' @examples c(1, 2)

r-lib/styler documentation built on Dec. 13, 2024, 5:42 p.m.