vctrs
vctrs copied to clipboard
Generic programming with typed R vectors
The `vctrs` package asked me to report an error: > Please report it at with a reprex and the full backtrace. Here we go: ``` Error in `stop_native_implementation()`: ! `vec_ptype2.character.character()`...
This roughly doubles the speed for me (~32s -> ~17s)
Hello vctrs folks, One of my packages is getting an error which leads me here: https://vctrs.r-lib.org/reference/faq-error-incompatible-attributes.html When I google "self-to-self coercion methods" I only get your page. The object that...
The below reprex shows the problem. In v0.4.2, this was not a problem. To reproduce: **v0.6.2** ``` r library(sf) #> Linking to GEOS 3.11.1, GDAL 3.6.2, PROJ 9.1.1; sf_use_s2() is...
Hello, while running code in R on Sherlock, I had the following error code. Thanks in advance for your help. Error in `vec_rbind()`: ! Negative `n` in `compact_rep()`. ℹ In...
Should the `s3_register()` documentation re: [usage in other packages](https://vctrs.r-lib.org/reference/s3_register.html#usage-in-other-packages) be updated to mention that you now will need to add {rlang} as a suggested dependency? I think this is the...
! Unsupported vctrs type `null`. ℹ In file type-info.c at line 189. ℹ This is an internal error that was detected in the vctrs package. Please report it at with...
According to the docs in the lines below; https://github.com/r-lib/vctrs/blob/fe37f93388eef4526f9a8429146a89e258cb2160/R/dictionary.R#L129-L130 However, it gives the opposite answer to `duplicated()`: ``` r library(vctrs) x [1] TRUE FALSE TRUE TRUE FALSE TRUE duplicated(x) #>...
I've had a few cases in dplyr (`nest_join()`) where it would be nice to have the unique value locations in the first column returned from `vec_group_loc()`, rather than the unique...
Found when reviewing https://github.com/tidyverse/tibble/issues/1202. Not a blocker, just slows down subset assignment in this particular corner case. ``` r vctrs::vec_as_subscript(1, arg = { print("bang") }) #> [1] 1 vctrs::vec_as_subscript("a", arg...