typeSafeUnlist: Unlist a list into a vector in a type-safe way where...

View source: R/utilities.R

typeSafeUnlistR Documentation

Unlist a list into a vector in a type-safe way where possible.

Description

typeSafeUnlist tries to preserve data types in a way that the base::unlist function does not for Date, POSIXct and POSIXlt values.

Usage

typeSafeUnlist(x)

Arguments

x

A list to convert to a vector.

Details

If a list containing mixed types is specified, then typeSafeUnlist falls back to using base::unlist.

Value

A vector containing the values from x.


pivottabler documentation built on Oct. 1, 2023, 5:07 p.m.