Closed bschilder closed 1 year ago
Figured it out! Somehow the tests/testthat.R went missing and thus unit tests were not actually being run.
Just pushed to retrigger code coverage tests, but based on my local run ThreeWayTest
has a whopping 100%! This is usually rather hard to achieve and ensure that your package will work robustly across a wide variety of scenarios. @ftdbdl
devtools::test_coverage()
Sorry I miss the first comment! I will further check our package and make sure it works robustly across a wide variety of scenarios.
Sorry I miss the first comment! I will further check our package and make sure it works robustly across a wide variety of scenarios.
No worries, this one was stumping me until I noticed the missing file just now. But things are looking really good now!
Codecov coverage is not updating:
For whatever reason, the coverage tests are not being run by Codecov. It's possible this is simply a bug on their end as I noticed there were recently other issues regarding the rendering of coverage badges (which were showing up as "not found" despite having coverage data on the associate Codecov page): https://app.codecov.io/gh/bschilder/ThreeWayTest/tree/master/R
It's also possible that something has gone awry with the test/upload code coverage steps in
rworkflows
: https://github.com/neurogenomics/rworkflows/blob/24ca1e99062b52d03b78bcf2eec869cd7d2e189f/action.yml#L313If this doesn't resolve itself soon, I'll continue looking into it further.