collapse_to_comma_separated: Concatenate character vector to comma-separated string.
Description
collapse_to_comma_separated
is a helper function that concatenates a character vector
to a comma-separated string. If the input vector has only one element, the element will be returned unchanged.
Usage
collapse_to_comma_separated(v)
Value
string with elements of v separated by comma.