View source: R/s3-clock_duration.R
| opts_clock_duration | R Documentation |
These options will be used on objects of class 'clock_duration'.
opts_clock_duration(constructor = c("duration", "next", "list"), ...)
constructor |
String. Name of the function used to construct the object, see Details section. |
... |
Additional options used by user defined constructors through the |
Depending on constructor, we construct the object as follows:
"duration" (default): We build the object using the clock::duration_*()
helper matching the precision, e.g. clock::duration_days(). Durations
that don't fit in an integer are constructed with the "list" constructor.
"next" : Use the constructor for the next supported class.
"list" : We define as a list and repair attributes.
An object of class <constructive_options/constructive_options_clock_duration>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.