Description Usage Arguments Value
View source: R/tribble_paste.R
Renders a character vector as R types for pasting into Rstudio. Strings are quoted. Numbers, NA, logicals etc are not.
1 | render_type(char_vec, char_type)
|
char_vec |
a character vector containing text to be rendered as the type indicated by type_str |
char_type |
a string describing the type of char_vec |
A vector parsed from the clipboard as ether a character string or a character vector. The type attribute contains the type guessed by 'readr'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.