Add a suffix to variables in a list of expressions
Value
The list of expression where for each element the suffix (suffix
) is
added to every symbol specified for vars
See also
Helpers for working with Quosures:
expr_c()
,
replace_symbol_in_expr()
,
replace_values_by_names()
Examples
library(dplyr, warn.conflicts = FALSE)
library(rlang)
#>
#> Attaching package: ‘rlang’
#> The following object is masked from ‘package:admiraldev’:
#>
#> is_named
add_suffix_to_vars(exprs(ADT, desc(AVAL), AVALC), vars = exprs(AVAL), suffix = ".join")
#> [[1]]
#> ADT
#>
#> [[2]]
#> desc(AVAL.join)
#>
#> [[3]]
#> AVALC
#>