packageCheck: Run package checks

packageCheckR Documentation

Run package checks

Description

When multiple developers are working on a package, it is crucially important that they check their code changes often. After merging changes from multiple developers it is equally important to check the package thoroughly.

The problem is that frequent checks should be quick or developers won't do them while thorough checks are, by nature, slow.

Our solution is to provide shorthand functions that wrap devtools::check() and pass it a variety of different arguments.

Usage

check(pkg = ".")

check_fast(pkg = ".")

check_faster(pkg = ".")

check_fastest(pkg = ".")

check_slow(pkg = ".")

check_slower(pkg = ".")

check_slowest(pkg = ".")

Arguments

pkg

Package location passed to devtools::check().

Details

The table below describes the args passed to devtools::check():

check_slowest() | manual = TRUE, run_dont_test = TRUE
| args = c("--run-dontrun", "--use-gct")
check_slower() | manual = TRUE, run_dont_test = TRUE
| args = c("--run-dontrun")
check_slow() | manual = TRUE, run_dont_test = TRUE
| args = c()
check() | manual = FALSE, run_dont_test = FALSE
| args = c()
check_fast() | manual = FALSE, run_dont_test = FALSE
| build_args = c("--no-build-vignettes")
| args = c("--ignore-vignettes")
check_faster() | manual = FALSE, run_dont_test = FALSE
| build_args = c("--no-build-vignettes")
| args = c("--ignore-vignettes", "--no-examples")
check_fastest() | manual = FALSE, run_dont_test = FALSE
| build_args = c("--no-build-vignettes")
| args = c("--ignore-vignettes", "--no-examples", "--no-tests")

Value

No return.

See Also

check


MazamaCoreUtils documentation built on May 29, 2024, 4:47 a.m.