-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #2481 bug the result of derive param tte depends on the sort o…
…rder of the input (#2569) * Added order arguments to censor_source and event_source. Also added signal_duplicate_records to derive_param_tte. Still troubleshooting the test-derive_param_tte script. Failed tests have a "Required variable `AEDECOD` is missing in `dataset`" error. * Added order argument to tte_source as part of development and error fixes. * Fixed previous erros but still need to address failed tests for Test 9, 15, and 16 in test-derive_param_tte * added check_type arg_match to derive_param_tte so user has to input a valid argument * Changed position of signal_duplicate_records function in derive_param_tte to fix missing data error * lintr changes by removing whitespace. * styler fix. Pushing again and confirmed check_type argument is in derive_var_obs_number in derive_joined.R scripts * updated NEWS.md with changes to derive_param_tte,. Removed Test 17 from test-derive_param_tte as it was redundant, and ran pharmaverse4devs format test script addin to format testest-derive_param_tte. * changed the signal_duplicate_records within derive_parame_tte to handle dataset_adsl and source_datasets by combining them with bind_rows before to address error of AEDECOD missing from the dataset when just calling dataset_adsl. This starts on line 381 of derive_param_tte.R * added a tryCatch() to filter_date_sources to catch duplicates to address failed runs in Test 16 of test-derive_param_tte. removed signal_duplicate_records() from within derive_param_tte Still need to troubleshoot errors in test script. * Moved duplication check to filter_date_sources in tryCatch() and rewrote Test 15 and 16 on test-derive_param_tte to deal with update to duplicate warnings within tryCatch and not directly by signal_duplicate_records inside derive_param_tte function. Accepted snapshots from devtools::check * 1. Moved updates in News section to admiral dev section 2. Made suggested fixes to derive_param_tte script. * Ran styler, lintr fixes, and devtools check. * styler changes * accepted snapshots from testthat and addressed bds_tte.Rmd error for devtool checks() * added documentation for order and check_type arguments added to functions. Directly called rlang::try_fetch in derive_param_tte script. * requested updates to documentation and test script for derive_param_tte * corrected documentation and removed rlang from bds_tte.Rmd * updated derive_param_tte documentation and added test to derive_param_tte test script. * fixed spelling error * updates to derive_param_tte documentation and test examples. * Update NEWS.md Co-authored-by: Stefan Bundfuss <[email protected]> * update to derive_param_tte test, function examples, and documentation. * snapshots accepted * passed local checks. Pushing again * ran styler * added "message" as a option for check_type in derive_var_obs_number * Update NEWS.md Co-authored-by: Ben Straub <[email protected]> * #2481: cosmetics * #2481: fix lintr --------- Co-authored-by: Stefan Bundfuss <[email protected]> Co-authored-by: Ben Straub <[email protected]> Co-authored-by: Stefan Bundfuss <[email protected]>
- Loading branch information
1 parent
c75aff0
commit 018451c
Showing
16 changed files
with
587 additions
and
53 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -312,6 +312,7 @@ msec | |
nd | ||
occds | ||
onwards | ||
param | ||
parttime | ||
pharmaverse | ||
pharmaverseadam | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.