Description Usage Arguments Value Author(s)
This searches for macro functions referred to in the quoted expression and substitutes their equivalent expansions. Not guaranteed to give exact results.
1 2 | expand_macros(expr, macros = NULL, where = arg_env(expr, environment()),
recursive = FALSE)
|
expr |
An expression. For |
macros |
a named list of macros. By default searches for all macros. |
where |
The environment in which to look for macro definitions. Default
is the lexical environment of |
recursive |
Whether the results of expanding macros should themselves be expanded. |
The expansion of the given expression.
Peter Meilstrup
This is intended for interactive/debugging use; in general, its
results are not correct. For example, expressions appearing inside
of link{quote}()
will get expanded anyway.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.