Closed sashahafner closed 4 months ago
Now we have started on this. Let's leave it open until we are happy with the tests.
I have now switched to the tinytest package. 2743258b8769bde04b4cfd618195619d7b007a27 I love it, and also the "tiny" perspective. See https://github.com/markvanderloo/tinytest and https://www.tinyverse.org/ Hmm, maybe a response to the tidyverse mess?
It's easy to test the latest developments with:
tinytest::build_install_test('.')
I have several tests but still need some on warnings and errors and more.
Tests seem pretty complete around c98b99a8ceb0bee0cd377c45e4ad2de2e438a71d
But do we have some tests of prediction value? Should do this because we sometimes change the C++ calcEmis code.
Create some tests that we can use with the testthat package. Should be helpful for testing code while making changes, in particular because there is a lot of flexibility that is hard to keep track of (e.g., incorporation or none, can use column name for incorporation or fixed time, groups or no groups, . . .).