Publication report renderer adapters and execution records
publication_report_execution.RdDefines replaceable renderer adapters and deterministic execution records for HTML, PDF, and DOCX publication reports. Execution records preserve renderer identity, source checksums, per-format outcomes, warnings, failures, and verified output manifests.
Usage
new_publication_report_renderer(id, version, formats, render)
validate_publication_report_renderer(renderer)
quarto_publication_report_renderer(
executable = Sys.which("quarto"),
version = NULL
)
execute_publication_report_plan(
plan,
manuscript,
spec,
renderer,
output_dir,
parameters = list()
)
validate_publication_report_execution(execution, plan, output_dir)
publication_report_execution_report(execution)Arguments
- id
Stable renderer identifier.
- version
Stable renderer version.
- formats
Supported output formats.
- render
Backend function accepting source path, output path, format, and parameters.
- renderer
A publication report renderer adapter.
- executable
Path to the Quarto executable.
- plan
A validated publication report plan.
- manuscript
The originating canonical manuscript.
- spec
The originating publication report specification.
- output_dir
Destination directory for source and rendered outputs.
- parameters
Stable named rendering parameters.
- execution
A publication report execution record.