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

Reduce number of checking functions #181

Merged
merged 2 commits into from
Sep 7, 2023
Merged

Reduce number of checking functions #181

merged 2 commits into from
Sep 7, 2023

Conversation

joshwlambert
Copy link
Member

This PR reduces the number of functions in {epiparameter} by moving two simple checking functions (check_epidist_params() and check_epidist_uncertainty()) inline, and by collapsing three functions for checking which data type an <epiparam> column contains into a single function (epiparam_col_type()).

The two checking functions were only called once in other functions and were not exported functions. Removing the two checking functions deletes the check_epidist.R file.

@joshwlambert joshwlambert changed the title Reduce number of package checking functions Reduce number of checking functions Sep 7, 2023
@joshwlambert joshwlambert merged commit 2323e6a into main Sep 7, 2023
8 checks passed
@joshwlambert joshwlambert deleted the reduce_num_func branch September 7, 2023 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant