Skip to contents

Provides all character conversion methods of base::as.character() and additional methods for lists and data.frames. to_character() was created to enable collapse_to_string() to handle many data types while avoiding unintended conversions to character, which would have occurred if these methods were added to as.character().

Usage

to_character(x, ...)

Arguments

x

object to be coerced or tested.

...

further arguments passed to or from other methods.