Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ellipsis to methods #47

Merged
merged 1 commit into from
Oct 25, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions R/type-sum.R
Original file line number Diff line number Diff line change
@@ -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, "]")
Expand All @@ -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
Expand Down