expression_list: Extract symbols from an expression of symbols and operators

View source: R/rlang-like.R

expression_listR Documentation

Extract symbols from an expression of symbols and operators

Description

Extract symbols from an expression of symbols and operators

Usage

expression_list(expr, seps = "+")

quosure_list(expr, seps = "+", env = caller_env())

symbol_string_list(expr, seps = "+")

Arguments

expr

A language expression

seps

Operators to consider as separators

env

Environment for the created quosure

Value

A list of all symbols in the expression, as symbol, quosure or text.

Examples

expression_list(a+b+c+d)

tidytidbits documentation built on March 18, 2022, 6:10 p.m.