Examples for 'rlang::new_formula'


Create a formula

Aliases: new_formula

Keywords:

### ** Examples

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

[Package rlang version 1.1.4 Index]