str2lang: Backport of str2lang for R < 3.6.0

Description Usage Examples

View source: R/str2lang.R

Description

See the original description in base::str2lang.

Usage

1

Examples

1
2
3
4
5
# get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
str2lang <- getFromNamespace("str2lang", "backports")

str2lang("x[3] <- 1+4")

Example output

x[3] <- 1 + 4

backports documentation built on Dec. 13, 2021, 5:08 p.m.