This issue is to request that {datadelay} be fixed to take into account recent changes to {epiparameter}, which are causing all workflows on main
to fail. The last check on the PR now merged into main
was before these changes, which meant that the issues were not picked up at the time.
The following functions depend on {epiparameter} indirectly, as they expect an argument delay_pmf
, which was intended to be a PMF extracted from an epidist
object:
known_outcomes()
,
static_cfr()
,
rolling_cfr()
The expected solution would be for these functions to instead accept an epidist
object as an argument; the argument would also ideally be renamed to epi_dist
or similar ("epi_dist" is preferred as it also indicates the class of the input).
Furthermore, tests for these functions also depend on the availability of an Ebola virus disease onset to death delay distribution in {epiparameter}. The solution to this would eventually be the inclusion of this distribution in {epiparameter}, but an adequate solution would be to use a manually defined epidist
in the tests; distribution parameters would be taken from doi.org/10.1016/S0140-6736(18)31387-4..