require_daemons | R Documentation |
Returns TRUE only if daemons are set, otherwise produces an informative error for the user to set daemons, with a clickable function link if the cli package is available.
require_daemons(.compute = NULL, call = environment())
.compute |
[default NULL] character value for the compute profile to use (each has its own independent set of daemons), or NULL to use the 'default' profile. |
call |
(only used if the cli package is installed) the
execution environment of a currently running function, e.g.
|
Logical TRUE
, or else errors.
Previously the arguments were reversed with call
coming before .compute
.
Specifying an environment to the first argument works for the time being,
although is deprecated and will be defunct in a future version.
daemons(1)
require_daemons()
daemons(0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.