cu-options | R Documentation |
Options store and allow to set global values for the ClickUp API and for clickrup functions.
cu_options(...)
... |
Options to set. |
Options are mostly for internal use and to allow API version changes in the future.
The tz
(time zone) option can be set globally for cu_date_from()
.
The default value ""
means current time zone, see strptime()
.
When parameters are set by cu_options
, their former values are
returned in an invisible named list. Such a list can be passed as an
argument to cu_options
to restore the parameter values.
Tags are the following:
baseurl
: ClickUp API base URL.
version
: ClickUp API version.
tz
: time zone.
useragent
: user agent.
str(cu_options())
op <- cu_options(tz = "GMT") # save old values and set tz
cu_options()$tz # new tz value
cu_options(op) # reset
cu_options()$tz # default tz value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.