Skip to content

Commit

Permalink
fix documentation of default values for on_error parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-glx committed Jul 29, 2023
1 parent 2c642ab commit aafb0d0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions R/check.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@
#' @param vignettes If `FALSE`, do not build or check vignettes, equivalent to
#' using `args = '--ignore-vignettes' and `build_args = '--no-build-vignettes'.
#' @param cleanup `r lifecycle::badge("deprecated")` See `check_dir` for details.
#' @param error_on 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. The default is `"never"` for interactive sessions and `"warning"`
#' for non-interactive session.
#' @seealso [release()] if you want to send the checked package to
#' CRAN.
#' @export
Expand Down
4 changes: 2 additions & 2 deletions man/check.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aafb0d0

Please sign in to comment.