diff --git a/R/tbl-format.R b/R/tbl-format.R index d11f509c..3816f72a 100644 --- a/R/tbl-format.R +++ b/R/tbl-format.R @@ -52,7 +52,7 @@ format_tbl <- function( max_footer_lines = NULL, transform = identity ) { - check_dots_empty(error = warning) + check_dots_empty(error = function(cnd) warn("`...` must be empty in `format.tbl()`", parent = cnd)) if (!is.null(n_extra)) { deprecate_stop("1.6.2", "pillar::format(n_extra = )", "pillar::format(max_extra_cols = )")