Skip to contents

Shells out to quarto render via processx and captures whether the render succeeded along with warnings, errors, and elapsed time. Requires the Quarto CLI (and the quarto R package, used only to locate the CLI binary) to be installed.

Usage

validate_document(path, quiet = TRUE)

Arguments

path

Path to the .qmd file to render.

quiet

Suppress Quarto's own output? Default TRUE.

Value

A list with success (logical), warnings (character vector), errors (character vector), and elapsed (seconds, numeric).