This is essentially equivalent to, but with experimental handling of primitive functions.

call_standardise(call, env = caller_env())



Can be a call or a quosure that wraps a 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.

Life cycle

In rlang 0.2.0, lang_standardise() was deprecated and renamed to call_standardise(). See lifecycle section in call2() for more about this change.