vctrs
vctrs copied to clipboard
Generic programming with typed R vectors
I've been working on a "random variable" datatype in [posterior](https://github.com/stan-dev/posterior). This datatype is currently a zero-length list that stores a multidimensional array as an attribute; this attribute represents a multidimensional...
Similarly to #1400 I think it would make sense to have a fast path for `vec_assign(x, integer())` The motivation is also similar: e.g. when using `vec_assign()` in a `coalesce()` like...
I'm not sure how often this is actually relevant in real life but it might be worth to have a "fast path" in `vec_slice()` when the `i` is a logical...
This issue is to serve as a placeholder for all locations where we need to support long vectors in the future. - [ ] `vec_size_common()`: `size_validate()` should support validating and...
It is no longer useful with the stricter cast semantics, and a quick glance at the dependencies suggests that it isn't being used anywhere
This page: https://vctrs.r-lib.org/reference/new_date.html is missing from this page: https://vctrs.r-lib.org/reference/index.html. Perhaps purposeful? But if not, now you know :-)
Currently, `max.vctrs_vctr` tries to cast `-Inf` to the type of `x` if `x` is empty. I'm not sure that that makes sense in all cases, and it assumes that there...
Call `vec_c()` first?
Do I need to implement more methods to make subset assignment work with "list of" classes? I wonder why my `vec_cast()` implementation doesn't fire. ## Works with atomic vector ```...