powered by
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.
\dontrun{...}
\dont{...}
parse_roxygen(roxygen)
Roxygen comments.
# NOT RUN { styler:::parse_roxygen(c( "#' @examples", "#' 1+ 1" )) styler:::parse_roxygen(c( "#' @examples 33", "#'1+ 1" )) # }
Run the code above in your browser using DataLab