opts_tbl_df {constructive}R Documentation

Constructive options for tibbles

Description

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,
  justify = c("left", "right", "centre", "none"),
  recycle = TRUE
)

Arguments

constructor

String. Name of the function used to construct the object, see Details section.

...

Additional options used by user defined constructors through the opts object

trailing_comma

Boolean. Whether to leave a trailing comma at the end of the constructor call calls

justify

String. Justification for columns if constructor is "tribble"

recycle

Boolean. For the "tibble" constructor. Whether to recycle scalars to compress the output.

Details

Depending on constructor, we construct the object as follows:

Value

An object of class <constructive_options/constructive_options_tbl_df>


[Package constructive version 1.1.0 Index]