From 003b98c822d3d11c70920e73b39e1aeae1c0834f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Mon, 25 Oct 2021 07:32:24 +0200 Subject: [PATCH] Add ellipsis to methods --- R/type-sum.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/type-sum.R b/R/type-sum.R index 684cb85..af572d0 100644 --- a/R/type-sum.R +++ b/R/type-sum.R @@ -1,6 +1,6 @@ #' @importFrom tibble type_sum #' @export -type_sum.tbl_pb <- function(x) "pibble" +type_sum.tbl_pb <- function(x, ...) "pibble" brackets <- function(x) { paste0("[", x, "]") @@ -15,7 +15,7 @@ unique_brackets <- function(x, col) { #' @importFrom rlang is_empty syms #' @importFrom dplyr group_vars #' @importFrom pillar dim_desc -tbl_sum.tbl_pb <- function(x) { +tbl_sum.tbl_pb <- function(x, ...) { res <- c("A pibble" = dim_desc(x)) # .t and .i are named vectors and this causes problems