Formatting a colonnade object may lead to some columns being omitted due to width restrictions. This method returns a character vector that describes each of the omitted columns.

extra_cols(x, ...)

# S3 method for pillar_squeezed_colonnade
extra_cols(x, ..., n = Inf)



The result of squeeze() on a colonnade object


Arguments passed to methods.


The number of extra columns to return; the returned vector will always contain as many elements as there are extra columns, but elements beyond n will be NA.


extra_cols(squeeze(colonnade(list(a = 1:3, b = 4:6), width = 8)))
#> Warning: `extra_cols()` was deprecated in pillar 1.5.0.
#> Warning: `squeeze()` was deprecated in pillar 1.5.0.
#> [1] "b <int>"