covr
covr copied to clipboard
Test coverage reports for R
We are observing a segfault in codecov recently, e.g. https://github.com/Rdatatable/data.table/actions/runs/8885891976/job/24398250857?pr=6107 Unfortunately I haven't been able to reproduce it outside CI, but it's pretty persistent across all commits in the past...
### Description `covr::codecov()` should throw an error if unable to upload coverage results to codecov.io ### Actual Behaviour If `covr::codecov()` fails to upload coverage results to codecov.io it does not...
Hi, first of all thanks for maintaining covr, which I find very useful. I am trying to compute coverage of a source package locally (not on githu actions), and I...
Is it possible to add support for a dark mode? Ideally auto-detected, or at least with a toggle button?
When running `covr::package_coverage()` in the project where I have my package, the function runs fine and produces the output one would expect (code coverage scores for all the functions). However,...
In dev httr2, I see: ```R > covr::package_coverage(".") Error: ! Failure in `/private/tmp/RtmpjTMbDX/R_LIBS975a77c099eb/httr2/httr2-tests/testthat.Rout.fail` Hide Traceback ▆ 1. └─covr::package_coverage(".") 2. ├─withr::with_libpaths(...) 3. │ └─base::force(code) 4. ├─withr::with_envvar(...) 5. │ └─base::force(code) 6. ├─base::withCallingHandlers(...)...
> [!NOTE] > This is in code I introduced and only affects very specific scenarios when `options(covr.record_tests)` is enabled. > **I plan to fix this** ### Example at [dgkf/covr-r6-active-binding-test](https://github.com/dgkf/covr-r6-active-binding-test) ```sh...
Hi, I used covr::report a few days ago for the first time and it worked as expected, very useful. I have since added some unit tests but I can't get...
Not sure how much work this will be, but hopefully it's just a matter of teaching covr to recognise S7 method registration and add the instrumentation to the right place.
For #567. cc @mcol / @struckma -- can you test if this change removes the segfault for you? I'm still hamstrung by being unable to reproduce the segfault outside GHA....