Closed zachmayer closed 3 months ago
@zachmayer
I don't think the datasets I supplied depend on non-cran packages. They can't be generated automatically with the test-data
script, but that isn't a requirement of CRAN or anything -- they can just be bundled with the package and saved in inst/testdata
and imported from there.
I think the package currently does this.
Gotcha. So we're allowed to just include the data? That certainly simplifies things lol.
Yes. I think the idea is you can include a published dataset that was collected and not just synthetic datasets that can be generated by R.
tests are refactored, while maintaining 100% coverage: https://github.com/zachmayer/caretEnsemble/pull/308
Test principles:
inst/data-raw
andinst/testdata
test_that()
blocks are re-factored into smaller, more atomic modulesskip_on_cran()