This PR adds the use of dynamic dots to probability_contain(). The function now errors when an argument is passed through ... but does not match arguments in bpmodels::chain_sim(), instead of silently ignoring the incorrect argument. This is to match the behaviour of other Epiverse-TRACE functions. The documentation and a test of probability_contain() have been updated to explain and test the new features/behaviour.
This PR adds the use of dynamic dots to
probability_contain()
. The function now errors when an argument is passed through...
but does not match arguments inbpmodels::chain_sim()
, instead of silently ignoring the incorrect argument. This is to match the behaviour of other Epiverse-TRACE functions. The documentation and a test ofprobability_contain()
have been updated to explain and test the new features/behaviour.