as_fmt_char {diffdf} | R Documentation |
Format vector to printable string
Description
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.
Usage
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, ...)
Arguments
x |
( |
... |
additional arguments (not currently used) |
add_quotes |
( |
crop_at |
( |
[Package diffdf version 1.1.1 Index]