% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tbl-format-body.R \name{tbl_format_body} \alias{tbl_format_body} \title{Format the body of a tibble} \usage{ tbl_format_body(x, setup, ...) } \arguments{ \item{x}{A tibble-like object.} \item{setup}{A setup object returned from \code{\link[=tbl_format_setup]{tbl_format_setup()}}.} \item{...}{These dots are for future extensions and must be empty.} } \value{ A character vector. } \description{ \ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#experimental}{\figure{lifecycle-experimental.svg}{options: alt='[Experimental]'}}}{\strong{[Experimental]}} For easier customization, the formatting of a tibble is split into three components: header, body, and footer. The \code{tbl_format_body()} method is responsible for formatting the body of a tibble. Override this method if you need to change the appearance of all parts of the body. If you only need to change the appearance of a single data type, override \code{\link[vctrs:vec_ptype_full]{vctrs::vec_ptype_abbr()}} and \code{\link[=pillar_shaft]{pillar_shaft()}} for this data type. } \examples{ \dontshow{if (rlang::is_installed(c("palmerpenguins", "tibble"))) withAutoprint(\{ # examplesIf} setup <- tbl_format_setup(palmerpenguins::penguins) tbl_format_body(palmerpenguins::penguins, setup) # Shortcut for debugging tbl_format_body(setup) \dontshow{\}) # examplesIf} }