From a9ee2c6beb79d117317b80d609a5ee062791abd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Sun, 15 Dec 2024 10:00:42 +0100 Subject: [PATCH] Another try --- R/tbl-format.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = )")