restrictToNameAssignments: Restrict an alias mapping list to things that look like name...

View source: R/let.R

restrictToNameAssignmentsR Documentation

Restrict an alias mapping list to things that look like name assignments

Description

Restrict an alias mapping list to things that look like name assignments

Usage

restrictToNameAssignments(alias, restrictToAllCaps = FALSE)

Arguments

alias

mapping list

restrictToAllCaps

logical, if true only use all-capitalized keys

Value

string to string mapping

Examples


alias <- list(region= 'east', str= "'seven'")
aliasR <- restrictToNameAssignments(alias)
print(aliasR)



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