Converts an R object to a human-readable text representation for snapshots.
Usage
serialize_value(value, methods = NULL, use_class_defaults = TRUE)
Arguments
- value
The R object to serialize.
- methods
A function or a non-empty list of functions applied in order.
Defaults to list(print = base::print, str = utils::str).
Value
A character vector with the text representation.