I'm trying to add test coverage to a package (source code here). I'm getting the following error when running covr::package_coverage()
:
covr::package_coverage()
#> Error in vapply(x, function(xx) c(xx$srcref, xx$value), numeric(9), USE.NAMES = FALSE) :
#> values must be length 9,
#> but FUN(X[[233]]) result is length 8
Unfortunately the error message doesn't tell me much about which part of my code is causing the problem. I'm using covr version 3.6.4.
For information, my tests use many callr
subprocesses and temporary files (in case that makes it harder for covr to inspect the package).
Any help is welcome.