Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor epireview_to_epidist() to fix issues with as_epidist() #334

Merged
merged 10 commits into from
Jun 14, 2024

Conversation

joshwlambert
Copy link
Member

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.

@joshwlambert joshwlambert merged commit 0f805b9 into main Jun 14, 2024
9 checks passed
@joshwlambert joshwlambert deleted the as_epidist-infect-period branch June 14, 2024 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Updates that only change internal functions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant