awesome-vctrs
awesome-vctrs copied to clipboard
A curated list of amazingly awesome R vector classes
under "internal".
In [sweidnumbr](https://github.com/rOpenGov/sweidnumbr) there are a vector type for Swedish identity numbers and one for Swedish organisation numbers. The vignette provides some examples
Rationale: if it's designed to work in a data frame, it's likely a vector. https://github.com/search?p=1&q=org%3Acran+pillar_shaft&type=Code
``` r hardhat::new_importance_weights(1.5:4) #> #> [1] 1.5 2.5 3.5 ``` Created on 2023-08-05 with [reprex v2.0.2](https://reprex.tidyverse.org)
``` r ls(baseenv()) |> grep(pattern = "^[[][.]", value = TRUE) #> [1] "[.AsIs" "[.data.frame" "[.Date" #> [4] "[.difftime" "[.Dlist" "[.DLLInfoList" #> [7] "[.factor" "[.hexmode" "[.listof" #> [10] "[.noquote" "[.numeric_version" "[.octmode"...