as_fmt_char {diffdf} | R Documentation |
Coerces a vector of any type into a printable string. The most significant transformation is performed on existing character vectors which will be truncated, have newlines converted to explicit symbols and will be wrapped in quotes if they contain white space.
as_fmt_char(x, ...)
## S3 method for class 'numeric'
as_fmt_char(x, ...)
## S3 method for class ''NULL''
as_fmt_char(x, ...)
## S3 method for class 'list'
as_fmt_char(x, ...)
## S3 method for class 'factor'
as_fmt_char(x, ...)
## S3 method for class 'character'
as_fmt_char(x, add_quotes = TRUE, crop_at = 30, ...)
## Default S3 method:
as_fmt_char(x, ...)
## S3 method for class 'POSIXt'
as_fmt_char(x, ...)
x |
( |
... |
additional arguments (not currently used) |
add_quotes |
( |
crop_at |
( |