run_build_packageR Documentation

Run the package build orchestration workflow

Description

Runs the prerequisite tool build workflow and then executes whichever package-build step scripts are currently present in 'tools/'. In strict mode, this orchestrator owns the clean release-build starting-state check before rebuilding the stage-owned package surfaces and invoking 'finalize_package.R –strict'.

Usage

run_build_package(args = commandArgs(trailingOnly = TRUE))

Arguments

args

Character vector of CLI arguments. Defaults to 'commandArgs(trailingOnly = TRUE)'.

Details

CLI entry point: './tools/build_package.R –help'

Value

Invisibly returns a list describing whether the tool workflow ran and which package-build step scripts were executed. If '–help' or '-h' is supplied, returns invisibly with 'NULL'.

Examples

## Not run: 
run_build_package()
run_build_package("--skip-tools")
run_build_package(c(
  "--finalize-strict",
  "--confirmed-rhub-pass",
  "--confirmed-visual-review"
))
run_build_package("--help")

## End(Not run)