R/utils.R

Defines functions ensure_quarto

Documented in ensure_quarto

#' Check Quarto Availability
#' 
#' This function ensures quarto is available if needed for rendering.
#' @export
ensure_quarto <- function() {
  if (requireNamespace("quarto", quietly = TRUE)) {
    # Minimal call to satisfy R CMD check and renv
    invisible(quarto::quarto_version())
  } else {
    message("quarto is not installed. Install it with install.packages('quarto') if needed.")
  }
}

Try the tutorial.helpers package in your browser

Any scripts or data that you put into this service are public.

tutorial.helpers documentation built on June 8, 2025, 1:26 p.m.