Skip to contents

pileup the subexpressions which is atomic

Usage

expr_pileup(ex)

Arguments

ex

expression

Value

the character vector of subexpressions

Examples

ex <- rlang::expr(a == 2 & b == 3 | !b & x + 2)
expr_pileup(ex)
#> [1] "|"      "&"      "a == 2" "b == 3" "&"      "!b"     "x + 2"