Uses content hashes for files matched by `_quarto.yml` `render:` patterns and renders only files whose content changed since the last successful run.
render_modified_quarto(
quarto_yml = "_quarto.yml",
root_dir = here::here(),
cache_file = ".quarto/render-hashes.json",
dry_run = FALSE,
force = FALSE,
...
)Character scalar. Path to `_quarto.yml`, relative to `root_dir` or absolute.
Character scalar. Project root used to resolve relative paths. Defaults to `here::here()`.
Character scalar. Path to JSON hash cache file, relative to `root_dir` or absolute.
Logical scalar. If `TRUE`, returns files that would be rendered without invoking Quarto.
Logical scalar. If `TRUE`, renders all matched files.
Additional arguments passed to `quarto::quarto_render()`
Character vector of relative files selected for rendering.
if (FALSE) { # \dontrun{
render_modified_quarto()
render_modified_quarto(dry_run = TRUE)
} # }