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(call = environment(), .compute = NULL)
call |
(only used if the cli package is installed) the
execution environment of a currently running function, e.g.
|
.compute |
[default NULL] character value for the compute profile to query, or NULL to query the 'default' profile. or a 'miraiCluster' to obtain its status. |
Logical TRUE
, or else errors.
daemons(1)
require_daemons()
daemons(0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.