build_rdev_site: Build rdev Site

View source: R/build.R

build_rdev_siteR Documentation

Build rdev Site


build_rdev_site() is a wrapper for pkgdown::build_site() optimized for rdev workflow that updates and performs a clean build using pkgdown.


build_rdev_site(pkg = ".", ...)



Path to package. Currently, only pkg = "." is supported.


additional arguments passed to pkgdown::build_site() (not implemented)


When run, build_rdev_site() calls:

  1. devtools::build_readme()

  2. pkgdown::clean_site()

  3. pkgdown::build_site()

Continuous Integration

Both build_rdev_site() and build_analysis_site() are meant to be used as part of a CI/CD workflow, and temporarily set the environment variable CI == "TRUE" so that the build will fail when non-internal topics are not included on the reference index page per pkgdown::build_reference().

jabenninghoff/rdev documentation built on March 18, 2023, 9:31 p.m.