vctrs 0.3.1
-
vec_slice()
no longer restores attributes of foreign objects for
which a[
method exist. This fixes an issue withts
objects
which were previously incorrectly restored. -
The
as.list()
method forvctrs_rcrd
objects has been removed in favor
of directly using the method forvctrs_vctr
, which callsvec_chop()
. -
vec_c()
andvec_rbind()
now fall back tobase::c()
if the
inputs have a common class hierarchy for which ac()
method is
implemented but no self-to-selfvec_ptype2()
method is
implemented. -
vec_rbind()
now internally callsvec_proxy()
andvec_restore()
on
the data frame common type that is used to create the output (#1109). -
vec_as_location2("0")
now works correctly (#1131). -
?reference-faq-compatibility
is a new reference guide on vctrs
primitives. It includes an overview of the fallbacks to base R
generics implemented in vctrs for compatibility with existing
classes. -
The documentation of vctrs functions now includes a Dependencies
section to reference which other vctrs operations are called from
that function. By following the dependencies links recursively, you
will find the vctrs primitives on which an operation relies.
CRAN results
- Fixed type declaration mismatches revealed by LTO build.
- Fixed r-devel issue with new
c.factor()
method.