Gábor Csárdi
Gábor Csárdi
@hadley Thanks for the feedback, I should have said that this is a first draft. :) Yeah, most of these are possible, many of them I was planning on doing....
Is you package public? Can you share the code?
It is a bug in parallel testthat. ```r ❯ Sys.setenv(TESTTHAT_PARALLEL = "FALSE") ❯ testthat::test_local(filter = "numbers") ✔ | OK F W S | Context ⠏ | 0 | numbers Error...
@billdenney Possibly.
Or we can find a way to point them back to the original source.
With this, also look at https://github.com/r-lib/testthat/blob/bb25375016ece879cecabc81fdf1d5b3072ab835/R/reporter-progress.R#L524 and replace it with the appropriate `cli::ansi_nchar()` call.
This will probably break packages that have ``` Config/testthat/parallel: true ``` on CRAN.
An alternative would be to qualify all calls with `::` and then they are not loaded with testthat. If it is possible to install ps, processx and callr, then this...
> An alternative would be to qualify all calls with :: and then they are not loaded with testthat. If it is possible to install ps, processx and callr, then...
> Could we fall back to serial testing if callr is not installed? Maybe, but they are not interchangeable. In general it would be better to have a solution that...