expression_list: Extract symbols from an expression of symbols and operators

Description Usage Arguments Value Examples

View source: R/rlang-like.R

Description

Extract symbols from an expression of symbols and operators

Usage

1
2
3
4
5
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

1

tidytidbits documentation built on March 8, 2021, 5:07 p.m.