diff --git a/R/conditions.R b/R/conditions.R index a259cf9740..e9098f90d4 100644 --- a/R/conditions.R +++ b/R/conditions.R @@ -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) diff --git a/man/dplyr_last_warnings.Rd b/man/dplyr_last_warnings.Rd index a33e4d6f88..545e67d241 100644 --- a/man/dplyr_last_warnings.Rd +++ b/man/dplyr_last_warnings.Rd @@ -4,7 +4,7 @@ \alias{dplyr_last_warnings} \title{Show warnings from the last command} \usage{ -dplyr_last_warnings(n = 20) +dplyr_last_warnings(n = 5) } \arguments{ \item{n}{Passed to \code{\link[=head]{head()}} so that only the first \code{n} warnings are