View source: R/update_ast_check_calls.R
update_ast_check_calls | R Documentation |
ottr::check
in an ASTTraverse an AST (a list of expressions) and change calls of the form
. = ottr::check(...)
so that they are appended to a list with name list_name
.
If list_name
is check_results_XX
, then . = ottr::check(...)
becomes
check_results_XX[[<int>]] = ottr::check(...)
, where <int>
is an integer
update_ast_check_calls(tree, list_name)
tree |
The tree to traverse |
list_name |
The quoted name of the list |
The tree with substitutions made
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.