View source: R/roxygen-examples-parse.R
parse_roxygen | R Documentation |
Used to parse roxygen code examples. Removes line break before
\\dontrun{...}
and friends because it does not occur 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"
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.