tribble_paste: tribble_paste

View source: R/tribble_paste.R

tribble_pasteR Documentation

tribble_paste

Description

Parse the current clipboard as a table, or use the table argument supplied, and paste in at the cursor location in tribble format.

Usage

tribble_paste(input_table, output_context = guess_output_context())

Arguments

input_table

an optional input 'data.frame'. If 'input_table' is supplied, then nothing is read from the clipboard.

output_context

an optional output context that defines the target and indentation. Default is to guess between rstudio and console. Table is output as 'tribble()' call. Useful for creating reproducible examples.

Value

Nothing.


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