-
Notifications
You must be signed in to change notification settings - Fork 0
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
Unit testing for data-process.R #76
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test data-process and healthgps-plots
This was
linked to
issues
Oct 26, 2024
Closed
This reverts commit d5a0fc2.
When running ❯ checking for future file timestamps ... NOTE
unable to verify current time
0 errors ✔ | 0 warnings ✔ | 1 note ✖ This was resolved following the suggestions on the post:
After which 0 errors ✔ | 0 warnings ✔ | 0 notes ✔ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Use
data_ps3_reformulation
for unit testing ofdata-process.R
andhealth-plots.R
This pull request includes several significant changes to the project's configuration files and R scripts to improve automation, code style, and data processing functionalities. The most important changes include adding a pre-commit configuration, enhancing GitHub Actions workflows, and refactoring data processing functions to be more efficient and maintainable.
Configuration and Automation Improvements:
.Rbuildignore
file to include new configuration files and ensure they are ignored during the build process.inst/config/config.yml
file to include new grouping variables, weighted variables, and disease prevalence and incidence lists.Data Processing Refactor:
gen_data_weighted
,gen_data_weighted_rf
,gen_data_weighted_ds
,gen_data_weighted_burden
,gen_data_weighted_burden_spline
functions to improve efficiency and readability by usingdplyr
andtidyr
functions and incorporating configuration settings.Dependency Updates:
Imports
section to includerlang
andstringr
for improved data manipulation and string handling.Documentation:
gen_data_weighted_burden_spline
function to reflect the new argument namedata_weighted_burden_wide_collapse
.