This PR rewrites large parts of the epireview_to_epidist() function to make it more robust to the various parameter entries from the {epireview} R package.
The issues that led to this refactor are: #303, #306 and #327. Each of these should be resolved by the changes made in this PR and a unit test has been added to the package to cover each of these cases. I will post a reproducible example demonstrating the fix in each respective issue.
as_epidist() function documentation is also updated.
This PR rewrites large parts of the
epireview_to_epidist()
function to make it more robust to the various parameter entries from the {epireview} R package.The issues that led to this refactor are: #303, #306 and #327. Each of these should be resolved by the changes made in this PR and a unit test has been added to the package to cover each of these cases. I will post a reproducible example demonstrating the fix in each respective issue.
as_epidist()
function documentation is also updated.