Skip to content

Commit

Permalink
Only show first 5 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
lionel- committed Sep 8, 2022
1 parent 37bd821 commit 32a985b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/conditions.R
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ skip_internal_condition <- function(cnd) {
#' @param n Passed to [head()] so that only the first `n` warnings are
#' displayed.
#' @export
dplyr_last_warnings <- function(n = 20) {
dplyr_last_warnings <- function(n = 5) {
if (!identical(n, Inf)) {
check_number(n)
stopifnot(n >= 0)
Expand Down
2 changes: 1 addition & 1 deletion man/dplyr_last_warnings.Rd

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

0 comments on commit 32a985b

Please sign in to comment.