render_type_pad_to {datapasta} | R Documentation |
Based on a type and length, render a character string as the type in text. Pad to the desired length.
render_type_pad_to(char_vec, char_type, char_length)
char_vec |
a character vector |
char_type |
a string type from readr::guess_parser |
char_length |
a string length to pad to. |
a string containing the representation of char_vec as char_type in the RStudio source editor, left-padded with spaces to char_length.