Skip to contents

Wrapper function that runs all build functions in sequence. Generates roxygen docs, citation files, builds the package, creates README, and builds the website.

Usage

build(
  base_path = NULL,
  verbose = TRUE,
  overwrite = TRUE,
  good_practice = FALSE,
  validate = TRUE,
  preview = TRUE
)

Arguments

base_path

Base path for the project

verbose

Whether to show detailed messages (default: TRUE)

overwrite

Whether to overwrite existing files (default: TRUE)

validate

Whether to validate the CITATION file (default: TRUE)

preview

Whether to preview the site after building (default: TRUE)

Value

List with results from each build step