vctrs
vctrs copied to clipboard
Generic programming with typed R vectors
we recently created a custom S3 vector class to handle categorical data and are running into issues whenever this vector encounters base subsetting beyond a single dimension or argument. Our...
I'm developing on top of `{S7}` and finding difficult to dispath methods based on vctrs to be used with S7 data.frames. You can see the initial discussion on the S7...
Fixes problem described in #1742. Two more examples of c() on factors still exist: - [ ] README.Rmd - [ ] c.R examples I tried to fix the README but...
`c()` method returned a vector of unexpected size 116 instead of 114. ℹ In file c.c at line 412. ℹ This is an internal error that was detected in the...
When attempting to rbind a tibble that has a `Surv` column created using `survival::Surv()` with an empty tibble, an "unexpected size" error is thrown. This happens using `dplyr::bind_rows()` and `vctrs::vec_rbind()`...
I actually think `sort(decreasing =, na.last = )` is the right separation of responsibilities for these arguments because you can think about them _completely independently_ of each other. With our...
I'm not sure if this is an error of the `vctrs` implementation in `sf` or a problem in `vtrcs`, as the suggestion is to report it here I'll do that...
When using the `.size` argument there is no information for the user where the size comes from, which can make it a bit confusing (e.g. in https://github.com/tidyverse/dplyr/issues/6887) ``` r vctrs::vec_recycle_common(x...
i.e. https://github.com/tidyverse/dplyr/issues/6852 It might be kind of nice if we could add a `details` bullet with something like: ```r i Levels in `x` that are missing from `y`: NA i...
Working through ['Arithmetic' in `vignette("s3-vector", "vctrs")`](https://vctrs.r-lib.org/articles/s3-vector.html#meter-class) to create my own class, I've hit some undesirable behaviour and I'm struggling to see how to address it. My issue is that arithmetic...