pillar
pillar provides tools for styling columns of data, artfully using colour and unicode characters to guide the eye.
Installation
Usage
pillar is a developer-facing package that is not designed for end-users. It powers the print()
and format()
methods for tibbles. It also and defines generics and helpers that are useful for package authors who create custom vector classes (see https://github.com/krlmlr/awesome-vctrs#readme for examples) or custom table classes (like dbplyr or sf).
Custom vector classes
The primary user of this package is tibble, which lets pillar do all the formatting work. Packages that implement a data type to be used in a tibble column can customize the display by implementing a pillar_shaft()
method.
See vignette("pillar", package = "vctrs")
for details.
Custom table classes
pillar provides various extension points for customizing how a tibble-like class is printed.
See vignette("extending", package = "pillar")
for a walkthrough of the options.
Code of Conduct
Please note that the pillar project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.