On PR #100 , {distcrete} and {epitrix} have been replaced by {epiparameter}, to discretise distributions and convert summary statistics into distribution parameters, respectively.
Now the issue is that epiparameter::discrete requires an epidist object, which is currently not generated when users provide parameters manually, rather than through the epiparameter database. This also affects the syntax of the plotting function, which is different when using an epidist object too.
The solution would be either to revert to using {distcrete} or to convert the manually added parameters and their distribution to an epidist object.
thoughts? @Bisaloo