Lionel Henry

Results 171 issues of Lionel Henry

Closes #779

advice

Because the original implementation was based on `Reduce()` we've accidentally implemented the original `accumulate()` function with automatic simplification. I think ideally `accumulate()` should always return a list and simplification would...

advice

Progress towards r-lib/vctrs#183 Progress towards #758 - Use `vec_simplify()` in `simplify()` and `list_as_vector()` in `as_vector()`. - The `.type` argument of `simplify()` is completely deprecated. - The `.type` argument of `as_vector()`...

advice

To improve rlang backtraces. See https://github.com/r-lib/rlang/issues/1023

For indexing from the end.

feature
pluck :pear:
vctrs :clubs:

```r bench::mark( identity(NULL), identity(NA), check = FALSE, iterations = 100000 ) #> # A tibble: 2 × 13 #> expression min median `itr/sec` mem_alloc `gc/sec` n_itr #> #> 1 identity(NULL)...

The attributes of `cli_ansi_string` are a bit cumbersome for programming, they end up in unexpected places and cause issues for comparison, testing, etc. These variants could be suffixed with `_bare()`?...

Most properties are dash-cased except these ones which are snake_cased: `vec_last`, `vec_sep`, `vec_trunc`, and `string_quote`. Should the latter be superseded in favour of dash-cased properties?

If I set `cli_theme_dark` in my RProfile, this changes snapshot outputs where ANSI escapes are enabled. This concerns only a few tests in rlang (most of the tests disable ANSI...

feature

This seems more informative: ``` i Locations 100, 101, 102, ..., 109, and 110 don't exist, there are only 26 elements. ``` Than: ``` i Locations 100, 101, 102, 103,...

feature