h_collapse_char_vec: Collapse a vector of characters to a string with separators

Description Usage Arguments Value Examples

View source: R/helper.R

Description

Collapse a vector of characters to a string with separators

Usage

1
h_collapse_char_vec(v, collapse = ", ", qoute = "'")

Arguments

v

vector of chars to be collapsed

collapse

character that separates the elements in the returned object

qoute

character that surronds every element in v in the returned object

Value

collapsed version of v

Examples

1
cat(sanityTracker:::h_collapse_char_vec(v = letters[1:4]))

sanityTracker documentation built on April 22, 2020, 5:09 p.m.