map_upper: Map up-cased symbol names to referenced values if those...

View source: R/mapvars.R

map_upperR Documentation

Map up-cased symbol names to referenced values if those values are string scalars (else throw).

Description

Map up-cased symbol names to referenced values if those values are string scalars (else throw).

Usage

map_upper(...)

Arguments

...

symbol names mapping to string scalars

Value

map from original symbol names to new names (names found in the current environment)

See Also

let

Examples


x <- 'a'
print(map_upper(x))
d <- data.frame(a = "a_val")
let(map_upper(x), paste(d$X, x))


wrapr documentation built on Aug. 20, 2023, 1:08 a.m.