19.4 Unquoting
Selectively evaluate parts of an expression
- Merges ASTs with template
- 1 argument
!!
(unquote, bang-bang)- Unquoting a function call evaluates and returns results
- Unquoting a function (name) replaces the function (alternatively use
call2()
)
- >1 arguments
!!!
(unquote-splice, bang-bang-bang, triple bang) !!
and!!!
only work like this inside quoting function using rlang