Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

call_standardise

Standardise a call


Description

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 deprecated and renamed to call_standardise(). See lifecycle section in call2() for more about this change.


rlang

Functions for Base Types and Core R and 'Tidyverse' Features

v0.4.11
MIT + file LICENSE
Authors
Lionel Henry [aut, cre], Hadley Wickham [aut], mikefc [cph] (Hash implementation based on Mike's xxhashlite), Yann Collet [cph] (Author of the embedded xxHash library), RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.