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: 0x55812c6d4e68> new_formula(NULL, quote(b)) #> ~b #> <environment: 0x55812c6d4e68>