Deprecated in rlang 0.4.11 in favour of
call_standardise() was designed for call wrappers that include an
environment like formulas or quosures. The function definition was
plucked from that environment. However in practice it is rare to
use it with wrapped calls, and then it's easy to forget to supply
the environment. For these reasons, we have designed
as a simpler wrapper around
This is essentially equivalent to
base::match.call(), but with
experimental handling of primitive functions.
call_standardise(call, env = caller_env())
A defused function call.
The environment where to find the definition of the
function quoted in
A quosure if
call is a quosure, a raw call otherwise.