epiforecasts / scoringutils

Utilities for Scoring and Assessing Predictions
https://epiforecasts.io/scoringutils/
Other
47 stars 19 forks source link

Issues #502 and #587- Add additional tests #802

Closed nikosbosse closed 1 month ago

nikosbosse commented 2 months ago

Description

This PR partly addresses #502.

As discussed in #502, this PR adds a few additional tests to score() in tests/testthat/test-score.R. Addressing #502 raised two new issues (#800, #801). I suggest addressing #801 (done) and then adding more tests as suggested in #502.

This PR closes #587. As discussed in #587, I went through all exported functions and added additional tests to make sure the output class is exactly what we expect it to be. In some places, I cleaned tests by

Checklist