Skip to contents

Check a qmd file renders using Quarto

Usage

check_qmd_renders(file, install_missing = FALSE, update_packages = FALSE, ...)

Arguments

file

Path of a qmd file

install_missing

Should any missing packages be installed. Default FALSE.

update_packages

Should installed packages be updated, using update_installed_pkgs(), before rendering. Default FALSE.

...

Additional arguments to pass to quarto_render()

Value

NULL invisibly, called for the side effect of rendering the document. An error is signaled if rendering fails.

Examples

if (FALSE) { # \dontrun{
check_qmd_renders("hw1.qmd")
} # }