Vector helpers
There are three main goals to the vctrs
package:
To propose vec_size()
and vec_type()
as alternatives to length()
and class()
. These definitions are paired with a framework for type-coercion and size-recycling.
To define type- and size-stability as desirable function properties, use them to analyse existing base function, and to propose better alternatives. This work has been particularly motivated by thinking about the ideal properties of c()
, ifelse()
, and rbind()
.
To provide a new vctr
base class that makes it easy to create new S3 vectors. vctrs
provides methods for many base generics in terms of a few new vctrs
generics, making implementation considerably simpler and more robust.
System | Target | Derivation | Build status |
---|---|---|---|
x86_64-linux | /gnu/store/ab1q6fdykknrkc6i69r28dfb3z126mij-r-vctrs-0.3.4.drv | ||
mips64el-linux | /gnu/store/2j5x6fs50jykfi5wpilg7hgm7i2gh945-r-vctrs-0.3.4.drv | ||
i686-linux | /gnu/store/2kjslj2daczjz8d4qlrd0nbsj79kh438-r-vctrs-0.3.4.drv | ||
i586-gnu | /gnu/store/jcs1hs6da63w7zprfzjqzpfbqilxwkfh-r-vctrs-0.3.4.drv | ||
armhf-linux | /gnu/store/dy5z0an98jk1nabmjr852wji2dadix9x-r-vctrs-0.3.4.drv | ||
aarch64-linux | /gnu/store/081fj0dnvh0szvnng59pxi1yk17viclb-r-vctrs-0.3.4.drv |
Linter | Message | Location |
---|---|---|
No lint warnings ✓ |