call_standardise

0th

Percentile

Standardise a call

This is essentially equivalent to base::match.call(), but with experimental handling of primitive functions.

Usage
call_standardise(call, env = caller_env())
Arguments
call

Can be a call or a quosure that wraps a call.

env

The environment where to find the definition of the function quoted in call in case call is not wrapped in a quosure.

Value

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

Life cycle

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

Aliases
  • call_standardise
Documentation reproduced from package rlang, version 0.2.0, License: GPL-3

Community examples

Looks like there are no examples yet.