powered by
Documents are parse into an rmd_ast object.
rmd_ast
parse_rmd(rmd, allow_incomplete = FALSE, parse_yaml = TRUE)
Returns a rmd_ast object.
Either the path to an Rmd file or a character vector containing the contents of a R Markdown document.
Rmd
Allow incomplete parsing of the document.
Use the yaml package to parse the document's yaml.
parse_rmd(system.file("hw01.Rmd", package="parsermd"))
Run the code above in your browser using DataLab