| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/type.R |
| 3 |
\name{new_pillar_type} |
| 4 |
\alias{new_pillar_type} |
| 5 |
\title{Prepare a column type for formatting} |
| 6 |
\usage{ |
| 7 |
new_pillar_type(x, ...) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{x}{A vector for which the type is to be retrieved.} |
| 11 |
|
| 12 |
\item{...}{These dots are for future extensions and must be empty.} |
| 13 |
} |
| 14 |
\description{ |
| 15 |
Calls \code{\link[=type_sum]{type_sum()}} to format the type. |
| 16 |
Call \code{\link[=format]{format()}} on the result to render column types. |
| 17 |
} |
| 18 |
\examples{ |
| 19 |
format(new_pillar_type("a")) |
| 20 |
format(new_pillar_type(factor("a"))) |
| 21 |
} |