epiverse-trace / epidemics

A library of published compartmental epidemic models, and classes to represent demographic structure, non-pharmaceutical interventions, and vaccination regimes, to compose epidemic scenarios.
https://epiverse-trace.github.io/epidemics/
Other
8 stars 2 forks source link

Fix partial matching check_args_default.R #61

Closed TimTaylor closed 1 year ago

TimTaylor commented 1 year ago

This fixes partial matching in a couple of places. I've just fixed two occurrences but it may be better to use [[x]] rather than $x to avoid this.

pratikunterwegs commented 1 year ago

Thanks @TimTaylor, will merge this and run through other instances in a bit. Hopefully the number of these instances will go down once these checks are handled in custom asserts, see PR #57.