Covr::gitlab: invalid argument to unary operator

Hi guys,

I've built a fresh R-package on my workbench that has a minimal structure for demonstration. It has a valid Description & Namespace file as well as one demo test case. I'm using testthat for testing. So I have this: under
CovTest/tests/testthat.R

library(testthat)
library(CovTest)

test_check("CovTest")

and under CovTest/tests/testthat/test-demo.R with

testthat::test_that(desc = "demo", {
  testthat::expect_true(TRUE)
})

So, when testing the package as well as running the RCheck, no error occurs. However,
when I run covr::gitlab() to compute the test coverage, the following error occurs after couple of seconds:

 Error in -stats$Relevant : invalid argument to unary operator

I don't find any useful tips, so do you have any idea what's going on here?
I have covr@3.6.1 installed, however, updating to the recent version did not help.

Thanks!

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.