Lionel Henry

Results 215 issues of Lionel Henry

Closes #1161 What is the richer type between list and list-of? Following the factor logic, the unconstrained type `character` covers more values than `factor` and is thus richer: ```r vec_c(factor("foo"),...

Current behaviour: ```r x a #> 1 NA NA ``` I would have expected: ```r #> a b d #> 1 NA NA ``` In the integer and character cases,...

op:slice

To get nice printing when tibble is loaded: ```r vctrs::new_data_frame( list(x = list(1, 2)), class = "tbl" ) #> # A data frame: 2 × 1 #> x #> #>...

Branched from #1226. This implements `vec_map()`. Depending on the supplied prototype, it covers a range of functionality provided in purrr and more: - `.ptype = list()` implements `map()` - `.ptype...

Add `vec_chop2()` which is the `[[` equivalent of `vec_chop()`. It is still unexported for now because we probably don't want to rush the "2" API but it will be useful...

This is an exploration of how we could use C++ in C projects when templates, overloading, or parallel programming are required. To prove the concept, the macro-templated loops of equal.c...

* Consistently return unnamed vectors from `vec_ptype2()`. Record vectors gain a `names