pick_symbols: Extract all symbols from an expression as a tree strings

View source: R/statements.R

pick_symbolsR Documentation

Extract all symbols from an expression as a tree strings

Description

The leading guard ("~") is extracted, parenthesis order is retained but parentheses are not.

Usage

pick_symbols(x)

Arguments

x

expression to extract symbols from

Value

a tree (nested lists) of character vectors


sakrejda/swr documentation built on April 16, 2022, 11:57 a.m.