Learn R Programming

rlang (version 0.1)

lang_standardise: Standardise a call

Description

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

Usage

lang_standardise(lang)

Arguments

lang

Can be a call (language object), a formula quoting a call in the right-hand side, or a frame object from which to extract the call expression.

Value

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