List of outputs | image_html |
---|---|
And here is the script to generate the output formats:
<- grep('^[^_]+_(document|notebook)$', ls(asNamespace('rmarkdown')), value = TRUE)
doc_outputs
::walk(
purrr.x = as.list(doc_outputs),
~ rmarkdown::render(
"input/single.Rmd",
output_file = glue::glue("{.}"),
output_dir = "gallery/outputs/docs/",
output_format = .,
params = list(dynamictitle = glue::glue("Texas Housing Prices: `{.}`"))
)
)
<- grep('^[^_]+_(presentation)$', ls(asNamespace('rmarkdown')), value = TRUE)
slide_outputs
::walk(
purrr.x = as.list(slide_outputs),
~ rmarkdown::render(
"input/single.Rmd",
output_file = glue::glue("{.}"),
output_dir = "gallery/outputs/slides/",
output_format = .,
params = list(dynamictitle = glue::glue("Texas Housing Prices: `{.}`"))
) )