These options will be used on objects of class 'tbl_df', also known as tibbles.
Usage
opts_tbl_df(
constructor = c("tibble", "tribble", "next", "list"),
...,
trailing_comma = TRUE
)
Arguments
- constructor
String. Name of the function used to construct the object, see Details section.
- ...
Should not be used. Forces passing arguments by name.
- trailing_comma
Boolean, whether to leave a trailing comma at the end of the constructor call calls
Details
Depending on constructor
, we construct the object as follows:
"tibble"
(default): Wrap the column definitions in atibble::tibble()
call."tribble"
: We build the object usingtibble::tribble()
if possible, and fall back totibble::tibble()
."next"
: Use the constructor for the next supported class. Call.class2()
on the object to see in which order the methods will be tried."list"
: Uselist()
and treat the class as a regular attribute.