Evening folks,
Trying to set up unit testing on an old package that has thusfar never had any (GitHub - openair-project/openair: 🧭 Open source tools for air quality data analysis).
devtools::test()
runs perfectly fine, but covr::report()
and covr::package_coverage()
both appear to run indefinitely without generating a report.
I have tried to run covr::report()
with quiet = FALSE
and with a path set so I can see what is created when the package is buit, but I'm not sure what to look for to work out what is going amiss. I note an openair-commands.Rout.fail
file is created, but that just has the R startup message and library(openair)
in it.
I do wonder if it has something to do with the C code in src
.
Note that the issue should be nothing to do with the tests themselves, as I've just got the default "multiplication works" test in there at the mo.
The addition of unit tests is part of a wider modernisation effort for quite an old package, so it's possible something in here isn't set up properly to appease covr
.