rlang (version 0.0.0.9000)

new_formula: Create a formula object by "hand".

Description

Create a formula object by "hand".

Usage

new_formula(lhs, rhs, env = caller_env())

Arguments

lhs, rhs
A call, name, or atomic vector.
env
An environment.

Value

A formula object.

See Also

new_tidy_quote()

Examples

Run this code
new_formula(quote(a), quote(b))
new_formula(NULL, quote(b))

Run the code above in your browser using DataCamp Workspace