Build Reference Documentation
Source: R/build-reference.R
Generates reference documentation from roxygen2-generated .Rd files. Creates individual pages for each Rd topic (like pkgdown) plus an index page listing all functions. Generated files go to reference/ at the package root, which is gitignored and Rbuildignored. Build the function reference page
Usage
build_reference(pkg = ".", examples = TRUE, lazy = FALSE, quiet = FALSE)Arguments
-
pkg -
Path to package root
-
examples -
Whether generated example blocks should be executed by Quarto (default TRUE). When FALSE the chunks are emitted with
eval: false, so examples are shown but not run. -
lazy -
Skip regenerating a topic page when its
.Rdfile is older than the page (default FALSE). Note that this compares only against the.Rdfile, so it will not pick up changes to qrtdown itself. -
quiet -
Suppress messages
Value
Invisibly returns the path to the reference index