R/formula.R

new_formula.Rd

Create a formula

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

A call, name, or atomic vector.

An environment.

A formula object.

new_quosure()

new_formula(quote(a), quote(b)) #> a ~ b #> <environment: 0x558402daf6e8> new_formula(NULL, quote(b)) #> ~b #> <environment: 0x558402daf6e8>