r-vctrs 0.6.5
Channel: guix
Home page: https://github.com/r-lib/vctrs
Licenses: GPL 3
Synopsis: Vector helpers
Description:
There are three main goals to the vctrs
package:
To propose
vec_size()
andvec_type()
as alternatives tolength()
andclass()
. 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()
, andrbind()
.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 newvctrs
generics, making implementation considerably simpler and more robust.
Total results: 1