tortellini: wrap the datapasta around itself

View source: R/dfdt_paste.R

tortelliniR Documentation

wrap the datapasta around itself

Description

wrap the datapasta around itself

Usage

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


MilesMcBain/datapasta documentation built on May 5, 2022, 8:56 a.m.