Deprecated in rlang 0.4.11 in favour of call_match(). 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 call_match() as a simpler wrapper around match.call().

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 call in case call is not wrapped in a quosure.


A quosure if call is a quosure, a raw call otherwise.