I'm developing a custom package and testthat/RStudio returns so much output from certain warnings and errors when I run tests that I can't even scroll to the top of the test output. This happens in the console and the Build window. It also happens when I run Check.
The issue is concentrated around code that uses library(furrr)
. When I run the code interactively, I get a modest message:
> synth <- synthesize(presynth)
Error in (function (.l, .f, ..., .progress = FALSE) :
ℹ In index: 1.
Caused by error in `add_noise_kde()`:
! unused argument (alist())
I get a few hundred lines of output for each error/warning when I run devtools::test()
or devtools::test_local()
. I experimented with reporters but that ends up being a blunt force fix. I just want to understand how to minimize error and warning output in the default framework.