Closed nikosbosse closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.27%. Comparing base (
dca7b8a
) to head (0f4c288
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
This PR closes #742
742 mentions that
pit_sample()
currently fails when there is only a single observation. This shouldn't be the case.This PR
pit_sample()
plot_pit()
snapshots. The discrete pit is randomised and I think making calls tornorm
changes the state of the random number generator. That means that if you add anrnorm()
call to previous tests it can change the snapshot. That happened to me once before and I hope this fixes it.assert_not_null()
and its tests, as the function is no longer usedget_type()
functionChecklist
lintr::lint_package()
to check for style issues introduced by my changes.