covr
covr copied to clipboard
Test coverage reports for R
I am struggling with a code coverage test (using covr 3.4.0) on a windows machine (Windows 10 Enterprise; R 3.6.2). To verify the behaviour I wrote a very basic package...
Method signatures are listed, but the associated generic is not. So we can get a report like ``` > print(p, "functions") cpack Coverage: 40.00% B: 0.00% numeric#character#A: 0.00% numeric#numeric: 0.00%...
I currently use this slightly adapted version of `file_coverage` to also trace code run using `mclapply`, `mcparallel`, etc.: ``` file_coverage
E.g. from Travis, I saw: ``` $ Rscript -e 'covr::codecov()' Error in parse_exclusions(x$file_lines, exclude_pattern, exclude_start, : 2 starts but only 1 ends! Calls: ... package_coverage -> exclude -> lapply ->...
Hi, covr looks great and I am trying to integrate it (version 2.2.2) in my workflow. Specifically, I am interested in detecting functions that have no coverage at all. Using...
Otherwise you don't get any feedback in RStudio until they're done (which might take a while)
Hello, all. At my company, we have an extensive array of tests using testthat on our proprietary codebase, and we track coverage using covr. This is for a nightly test...
Hello! As a Carpentries instructor, I'm considering to include a section about code/test coverage in a lesson for intermediate R users. I noticed that `covr` does not penalise tests which...
Just discovered the great feature of `covr` (Coverage of Examples). However, I can not get my examples running with `covr` Although all of them run with devtools::run_examples or devtools::check. R...