parse_roxygen {styler} | R Documentation |
Used to parse roxygen code examples. Removes line break before
\dontrun{...}
and friends because it does not occurr for segments other
than \dont{...}
and friends.
parse_roxygen(roxygen)
roxygen |
Roxygen comments. |
styler:::parse_roxygen(c( "#' @examples", "#' 1+ 1" )) styler:::parse_roxygen(c( "#' @examples 33", "#'1+ 1" ))