r-lib / covr

Test coverage reports for R
https://covr.r-lib.org
Other
336 stars 117 forks source link

Allow code to output to console #558

Open gergness opened 9 months ago

gergness commented 9 months ago

In our CI tool, we can monitor logs interactively. However, covr::test_package() only allows running code in background processes that do not report to the console (the code provided in code in run via R CMD BATCH).

I wish there was some way to specify to show the output live in the console. I don't know what the API should look like, but will post a minimal PR of something that would work well for me.