qq_show()
helps examining injected expressions
inside a function. This is useful for learning about injection and
for debugging injection code.
Arguments
- expr
An expression involving injection operators.
Examples
qq_show()
shows the intermediary expression before it is
evaluated by R:
list2(!!!1:3)
#> [[1]]
#> [1] 1
#>
#> [[2]]
#> [1] 2
#>
#> [[3]]
#> [1] 3
It is especially useful inside functions to reveal what an injected expression looks like: