add_package_checks()
has been replaced by do_package_checks()
.
add_package_checks(..., warnings_are_errors = NULL,
notes_are_errors = NULL, args = c("--no-manual", "--as-cran"),
build_args = "--force", error_on = "warning",
repos = repo_default(), timeout = Inf)
Ignored, used to enforce naming of arguments.
[flag]
Deprecated, use error_on
.
[flag]
Deprecated, use error_on
.
[character]
Passed to rcmdcheck::rcmdcheck()
.
Default for Travis and local runs: c("--no-manual", "--as-cran")
.
Default for Appveyor:
c("--no-manual", "--as-cran", "--no-vignettes", "--no-build-vignettes", "--no-multiarch")
.
[character]
Passed to rcmdcheck::rcmdcheck()
.
Default for Travis and local runs: "--force"
.
Default for Appveyor: c("--no--build-vignettes", "--force")
.
[character]
Whether to throw an error on R CMD check failures. Note that the check is
always completed (unless a timeout happens), and the error is only thrown
after completion. If "never", then no errors are thrown. If "error", then
only ERROR failures generate errors. If "warning", then WARNING failures
generate errors as well. If "note", then any check failure generated an
error.
[character]
Passed to rcmdcheck::rcmdcheck()
, default:
repo_default()
.
[numeric]
Passed to rcmdcheck::rcmdcheck()
, default:
Inf
.