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)

styler documentation built on Aug. 29, 2023, 5:10 p.m.