Description Usage Arguments Details Value See Also
Both defer
and defer_
create an execution package
(wrapper) for any user-provided function.
defer_
is intended for non-interactive use. It
provides an interface very similar to defer
but by default
turns off discovering dependencies (.extract
is FALSE
).
is_deferred
verifies if the given object
is a deferred
function wrapper.
1 2 3 4 5 6 | defer(entry, ..., .dots, .extract = TRUE)
defer_(entry, ..., .dots = list(), .extract = FALSE,
.caller_env = caller_env(), .verbosity = 0)
is_deferred(x)
|
entry |
Entry-point function. |
... |
List of dependencies, functions and variables. |
.dots |
A list of functions or quosures (see |
.extract |
Whether to analyze functions and extract dependencies from their code. |
.caller_env |
The environment where |
.verbosity |
Accepts values 0, 1 and 2. 0 means quiet, 1 and 2
result in additional output for the user. Set to |
x |
Object to be tested. |
defer
is intended for interactive use - it assumes that
dependencies should be extracted (.extract
defaults to
TRUE
).
A deferred
function object.
TRUE
or FALSE
.
augment
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.