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

typeSafeUnlist(x)

Arguments

x

A list to convert to a vector.

Value

A vector containing the values from x.

Details

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