wrap_quote: Wrap Quote to Text

Description Usage Arguments Value Examples

View source: R/usethis.R

Description

Useful for turning texts to quoted variable names. The output will ignore any white spaces, new lines, or any punctuation (except underscore and dot).

Usage

1
wrap_quote(.chr)

Arguments

.chr

Character vector containing texts to wrap

Value

A message to copy

Examples

1
wrap_quote("var_1, !var.2,  ,  `var3`")

Lightbridge-AI/lbr documentation built on Dec. 27, 2021, 8:09 p.m.