Closed jamesmbaazam closed 7 months ago
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: No coverage uploaded for pull request base (
main@0941451
). Click here to learn what that means.:exclamation: Current head 300f03f differs from pull request most recent head d642146. Consider uploading reports for the commit d642146 to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR closes #157 by:
switch()
instead ofifelse()
ladders for doing choice operations.
to align with other Epiverse-TRACE packages, e.g., superspreading, simulist, and epidemics. This is mostly for visual effects and to prevent (rare) NAMESPACE clashes.Bullet 3 in the linked issue is solved by abstracting away the suggested change with the function
update_chain_stat()
, which now usesswitch()
.