vctrs 0.2.4
-
Factors and dates methods are now implemented in C for efficiency.
-
new_data_frame()now correctly updates attributes and supports merging
of the"names"and"row.names"arguments (#883). -
vec_match()gains anna_equalargument (#718). -
vec_chop()'sindicesargument has been restricted to positive integer
vectors. Character and logical subscripts haven't proven useful, and this
alignsvec_chop()withvec_unchop(), for which only positive integer
vectors make sense. -
New
vec_unchop()for combining a list of vectors into a single vector. It
is similar tovec_c(), but gives greater control over how the elements
are placed in the output through the use of a secondaryindicesargument. -
Breaking change: When
.idis supplied,vec_rbind()now creates
the identifier column at the start of the data frame rather than at
the end. -
numeric_versionandpackage_versionlists are now treated as
vectors (#723). -
vec_slice()now properly handles symbols and S3 subscripts. -
vec_as_location()andvec_as_subscript()are now fully
implemented in C for efficiency. -
num_as_location()gains a new argument,zero, for controlling whether
to"remove","ignore", or"error"on zero values (#852).