Two complete, working examples ship in examples/,
each a real project you can cd into and render yourself.
Both are built from base R’s built-in datasets, so no external data is
needed, and both ship pre-generated OUTPUTS/ so they work
immediately after a clone even before you’ve set up the full
toolchain.
demo-report:
the full pipeline
A small PK-style report built from Theoph, exercising
every piece of the toolkit: dynamic title page, draft/final status
stamp, contributor/approver signature pages, table of contents
(including the title page), list of figures, list of tables, only-used
abbreviations, a citeproc-driven bibliography, two numbered appendices,
and a real reportifyr fill pass. The second appendix embeds
the analysis script itself with real syntax highlighting via Quarto’s
own native {{< include >}} shortcode nested in a
fenced code block – not a quartifyr feature, just plain Quarto – so it’s
demonstrated here rather than documented as toolkit behavior.
Quick look (Quarto only, no R/Python): renders the
shell with {rpfy}: placeholders left literal:
cd examples/demo-report
quarto render report.qmd --to docx --reference-doc ../../inst/templates/org-reference.docx \
-M document-status:DRAFTFull pipeline: real tables/figures/footnotes filled in:
cd examples/demo-report
Rscript -e 'reportifyr::initialize_report_project(project_dir = getwd())' # first clone only
Rscript -e 'quartifyr::initialize_quartifyr_project(getwd())' # first clone only
Rscript render.R --final
# -> report/draft/report-draft.docx, report/final/report-final.docxRendered output from a real
report/final/report-final.docx:

Title page

Synopsis

Combined List of Figures

Combined List of Tables

Filled body (PK summary table)

Numbered appendix

Analysis code appendix
The synopsis above uses synopsis-style: inline; see Quarto extension for a
side-by-side comparison of all four layout options.
The two combined-list pages above are
.quartifyr_list_of_figures/
.quartifyr_list_of_tables (caption_lists.lua)
– note that the main-body and appendix-scoped entries interleave with
the continuous Figure 1/Table 1/Table 2 by true document position, not
grouped separately by numbering family, and that the appendix-scoped
entries carry that appendix’s own designator throughout (“Figure C.1.1”,
not plain “Figure 1.1”), distinguishing them from the plain main-body
ones above them. See Quarto
extension for how this differs from
fig_caption/tbl_caption’s own
.list_of_figures/.list_of_tables (which only
ever show the continuous entries, and stay unchanged by this
addition).
Download the real rendered file:
demo-report-final.docx.
Verify it worked with the bundled smoke test, which asserts on the
actual rendered content (no leftover {rpfy}: strings,
tables/figures really filled in, bibliography populated before the
appendices, …):
memo-example:
the minimal end
The same pipeline’s other extreme: a fax-cover-sheet-style memo cover
page (logo, left-aligned MEMORANDUM banner,
To/From/Date/Re/Cc grid) instead of a formal title page, and no ToC/list
of figures/list of tables/abbreviations/signature pages, a loose,
short-form document. The body still exercises a real
reportifyr fill pass: one figure (a milestone timeline)
with a live caption and hyperlinked crossref.
cd examples/memo-example
quarto render report.qmd --to docx --reference-doc ../../inst/templates/org-reference.docx \
-M document-status:DRAFT # quick look, quarto only
# full pipeline
Rscript -e 'reportifyr::initialize_report_project(project_dir = getwd())' # first clone only
Rscript -e 'quartifyr::initialize_quartifyr_project(getwd())' # first clone only
Rscript render.R --final
Memo cover

Filled body (figure)
Download the real rendered file: memo-example-final.docx.
None of the omitted sections (ToC, signature pages, …) needed any quartifyr code changes; see Quarto extension for how each front-matter piece is opt-in via frontmatter alone.
