A wrapper of pkgdown::build_site()
Arguments
- pkg
Path to package.
- ...
Arguments passed on to
rog_logo,pkgdown::build_siteoverwriteShould the current logo be overwritten? When
TRUEit would runusethis::use_logo().faviconsLogical, do you want to create favicons with
pkgdown::build_favicons()?p_xx position for package name
p_yy position for package name
p_sizefont size for package name
examplesRun examples?
run_dont_runRun examples that are surrounded in \dontrun?
seedSeed used to initialize random number generation in order to make article output reproducible. An integer scalar or
NULLfor no seed.lazyIf
TRUE, will only rebuild articles and reference pages if the source is newer than the destination.previewIf
TRUE, oris.na(preview) && interactive(), will preview freshly generated section in browser.develUse development or deployment process?
If
TRUE, uses lighter-weight process suitable for rapid iteration; it will run examples and vignettes in the current process, and will load code withpkgload::load_all().If
FALSE, will first install the package to a temporary library, and will run all examples and vignettes in a new process.build_site()defaults todevel = FALSEso that you get high fidelity outputs when you building the complete site;build_reference(),build_home()and friends default todevel = TRUEso that you can rapidly iterate during development.new_processIf
TRUE, will runbuild_site()in a separate process. This enhances reproducibility by ensuring nothing that you have loaded in the current process affects the build process.installIf
TRUE, will install the package in a temporary library so it is available for vignettes.
Details
This function would call also rog_add_template_pkgdown() and
rog_logo().
