if (FALSE) {
## copy example to your working directory
filename <- "taxlistjourney.Rmd"
file.copy(from = file.path(path.package("yamlme"), filename), to = filename)
## Render the file with rmarkdown::render()
render_rmd(filename, output_file = "example")
browseURL("example.html")
## Render the file with yamlme
text_document <- read_rmd(filename)
text_document <- update(text_document,
title = "my title", author = "my name",
output = "html_document"
)
render_rmd(text_document, output_file = "example2")
browseURL("example2.html")
}
Run the code above in your browser using DataLab