vector_construct_vertical: vector_construct_vertical

Description Usage Arguments Value

View source: R/vector_paste.R

Description

Returns a formatted string, either from clipboard or supplied argument, as a vertically formatted character vector over many lines. Considers ',', 'tab', 'newline' as delimiters. If a single character string is passed as an argument, it will be split to form a vector.

Usage

1

Arguments

input_vector

An input vector to be formatted for output. If supplied, no data is read from the clipboard.

oc

an optional output context that defines the output target and indentation. The default behaviour is to target the rstudioapi and fall back to console if it is not available.

Value

a string containing the input formatted as a vector definition.


datapasta documentation built on April 17, 2020, 1:27 a.m.