Debian Codegraph @

man/tbl_format_footer.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/tbl-format-footer.R
3 \name{tbl_format_footer}
4 \alias{tbl_format_footer}
5 \title{Format the footer of a tibble}
6 \usage{
7 tbl_format_footer(x, setup, ...)
8 }
9 \arguments{
10 \item{x}{A tibble-like object.}
11
12 \item{setup}{A setup object returned from \code{\link[=tbl_format_setup]{tbl_format_setup()}}.}
13
14 \item{...}{These dots are for future extensions and must be empty.}
15 }
16 \value{
17 A character vector.
18 }
19 \description{
20 \ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#experimental}{\figure{lifecycle-experimental.svg}{options: alt='[Experimental]'}}}{\strong{[Experimental]}}
21
22 For easier customization, the formatting of a tibble is split
23 into three components: header, body, and footer.
24 The \code{tbl_format_footer()} method is responsible for formatting the footer
25 of a tibble.
26
27 Override or extend this method if you need to change the appearance
28 of the footer.
29 The default implementation adds information about rows and columns
30 that are not shown in the body.
31 }
32 \examples{
33 \dontshow{if (rlang::is_installed(c("palmerpenguins", "tibble"))) withAutoprint(\{ # examplesIf}
34 setup <- tbl_format_setup(palmerpenguins::penguins)
35 tbl_format_footer(palmerpenguins::penguins, setup)
36
37 # Shortcut for debugging
38 tbl_format_footer(setup)
39 \dontshow{\}) # examplesIf}
40 }