tortellini: wrap the datapasta around itself

Description Usage Arguments Value

View source: R/dfdt_paste.R

Description

wrap the datapasta around itself

Usage

1
tortellini(col_struct, defn_width = 80, indent_context = 0, add_comma = TRUE)

Arguments

col_struct

input structure - a split apart column definition

defn_width

total number of characters in a line (includes column name and indent on line 1)

indent_context

the level of indent in spaces in the current editor pane

add_comma

add one final comma to the end of the wrapped column def? Useful when pasting together columns.

Value

w wrapped string


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