Parse a collection of R Markdown or Quarto document
Source:R/parse_collection.R
parse_collection.RdRecursively searches a directory for R Markdown or Quarto documents and parses them into a collection of
rmd_ast objects
Usage
parse_qmd_collection(
dir = "./",
pattern = "*.qmd",
all = FALSE,
recurse = TRUE,
regex = FALSE
)
parse_rmd_collection(
dir = "./",
pattern = "*.Rmd",
all = FALSE,
recurse = TRUE,
regex = FALSE
)Examples
parse_rmd_collection(system.file("examples/", package="parsermd"))