vctrs icon indicating copy to clipboard operation
vctrs copied to clipboard

Generic programming with typed R vectors

Results 216 vctrs issues
Sort by recently updated
recently updated
newest added

It used to be possible to combine sf objects with `vctrs::vec_c()`. Now the output is just a data.frame. ## vctrs 0.5.0 ``` r library(sf) #> Linking to GEOS 3.9.1, GDAL...

`vctrs` package (version 0.6.5 on R 4.3.2) told me to report, so I obey. MWE: ``` r measurements ℹ In file 'slice.c' at line 188. #> ℹ This is an...

I ran into a weird ggplot2 bug when using `I(...)` with some aesthetics that I eventually traced back to a bug in the implementation of `vec_restore.AsIs()`. It currently applies the...

Hi, I'm pretty new using vctrs, still I was able to do some basics in a lib, I'm mainly following https://vctrs.r-lib.org/articles/s3-vector.html#equality-and-comparison Rn, I found that we can't use ```%in%```: ```R...

Add the usethis way of adding standalone files in a package.

Using R to download ACS profiles for a range of years. Code ran fine until I set the geometry to TRUE, then I received this error. `Error for year 2021...

bug
op:bind-combine

As a clearer alternative to `vctrs::vec_names2(..., repair = "check_unique")`. Maybe also with arguments to skip checking whether names are syntactic and/or unique.

From https://github.com/tidyverse/dplyr/issues/6896 ``` r vctrs::vec_rbind( tibble::tibble(msg = jsonlite::toJSON(list("a"), auto_unbox = TRUE)), tibble::tibble(msg = jsonlite::toJSON(list("b"), auto_unbox = TRUE)) ) #> Error in `vctrs::vec_rbind()`: #> ! Can't convert `..1$msg` to match type...

bug
op:bind-combine
dplyr

From https://github.com/tidyverse/tidyr/issues/1507 Also ensure we fix it in `list_unchop()` too! See the `1970-01-02`? ``` r library(tibble) library(data.table) library(vctrs) xs # A tibble: 2 × 2 #> x y #> #>...

It is currently slightly awkward to "undo" a `vec_group_loc()` or `vec_split()` call. You can do it with `list_unchop()`, but it requires splitting the key first. ``` r library(vctrs) set.seed(123) x...