Skip to contents

Creates and optionally renders a Quarto webpage using package templates.

Usage

generate_study_webpage(proj_path = ".")

Arguments

data

Your input data or parameters needed for the report.

output_dir

The directory where the Quarto files and rendered output should be saved.

template_name

The name of the template directory within inst/quarto_templates (e.g., "basic_report", "full_website").

render

Should the Quarto project/document be rendered? (Requires the quarto package and Quarto CLI). Defaults to TRUE.

open

Should the rendered output be opened? Defaults to render.

...

Additional arguments passed to glue::glue() for template filling.

Value

Invisibly returns the path to the main output file or directory.