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