Lionel Henry

Results 171 issues of Lionel Henry

I'm seeing these messages when I run tests: ``` Error (test-zzz-trunc-mat.R:144): trunc_mat for POSIXlt columns (#86) Error in `trace_back(top = getOption("testthat_topenv"), bottom = trace_env)`: Can't find `bottom` on the call...

These wouldn't be width-wrapped and newlines would be preserved: ```r cli_bullets( "i-raw" = "foo\nbar" ) ```

feature

Otherwise we need to set `TESTTHAT_MAX_FAILS` to `Inf` to update all snapshots in one go.

To browse through code running under `expect_snapshot()`. I wonder if we should add the functionality to `browser()` itself though? It doesn't seem ever useful to browse through code without being...

When parallel testing is enabled, tests return early when hitting `browser()`.

feature
parallel ⇶

* Use standard subscript error header in OOB errors. * Use actual vs expected phrasing. * Merge OOB and non-consecutive OOB errors. Instead of a specific error, just mention in...

### Features * [ ] If time allows, review of as-location errors to use new format. ### revdeps Direct revdeps are now clean. Failures in tidyr + dplyr: * [x]...

In https://vctrs.r-lib.org/reference/howto-faq-coercion.html Should recommend `vec_default_ptype2()` instead.

documentation

`vec_locate_runs()` finds the locations of the last values of consecutive runs in a vector: ```r vec_detect_runs [1] 9 10 vec_locate_runs(1:2) #> [1] 1 2 ``` `vec_partition()` partitions a vector into...

feature