Skip to content

Commit

Permalink
#2551 update _snaps and WORDLIST
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyad committed Jan 10, 2025
1 parent a8e871f commit b16062e
Show file tree
Hide file tree
Showing 13 changed files with 46 additions and 168 deletions.
1 change: 0 additions & 1 deletion inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ modularized
msec
nd
occds
onboarding
onwards
parttime
pharmaverse
Expand Down
19 changes: 0 additions & 19 deletions tests/testthat/_snaps/derive_adeg_params.md

This file was deleted.

27 changes: 0 additions & 27 deletions tests/testthat/_snaps/derive_advs_params.md

This file was deleted.

16 changes: 0 additions & 16 deletions tests/testthat/_snaps/derive_extreme_event.new.md

This file was deleted.

9 changes: 9 additions & 0 deletions tests/testthat/_snaps/derive_param_bmi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# derive_param_bmi Test 8: BMI parameter NOT added

Code
result <- derive_param_bmi(input, by_vars = exprs(USUBJID, VISIT),
get_unit_expr = VSSTRESU)
Message
No computed records were added because for all potential computed records at least one of the contributing values was NA.
If this is not expected, please check the input data.

9 changes: 9 additions & 0 deletions tests/testthat/_snaps/derive_param_bsa.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# derive_param_bsa Test 27: BSA parameter NOT added

Code
result <- derive_param_bsa(input, by_vars = exprs(USUBJID, VISIT), method = "Mosteller",
get_unit_expr = VSSTRESU)
Message
No computed records were added because for all potential computed records at least one of the contributing values was NA.
If this is not expected, please check the input data.

9 changes: 9 additions & 0 deletions tests/testthat/_snaps/derive_param_map.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# derive_param_map Test 11: MAP parameter NOT added

Code
result <- derive_param_map(input, by_vars = exprs(USUBJID, VISIT), hr_code = "PULSE",
get_unit_expr = extract_unit(PARAM))
Message
No computed records were added because for all potential computed records at least one of the contributing values was NA.
If this is not expected, please check the input data.

9 changes: 9 additions & 0 deletions tests/testthat/_snaps/derive_param_qtc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# derive_param_qtc Test 4: Message if no new records

Code
actual <- derive_param_qtc(input, by_vars = exprs(USUBJID, VISIT), method = "Bazett",
get_unit_expr = AVALU)
Message
No computed records were added because for all potential computed records at least one of the contributing values was NA.
If this is not expected, please check the input data.

10 changes: 10 additions & 0 deletions tests/testthat/_snaps/derive_param_rr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# derive_param_rr Test 2: Message if no new records

Code
actual <- derive_param_rr(input, by_vars = exprs(USUBJID, VISIT),
set_values_to = exprs(PARAMCD = "RRR", PARAM = "RR Duration Rederived (ms)",
AVALU = "ms"), get_unit_expr = AVALU)
Message
No computed records were added because for all potential computed records at least one of the contributing values was NA.
If this is not expected, please check the input data.

71 changes: 0 additions & 71 deletions tests/testthat/_snaps/derive_param_tte.new.md

This file was deleted.

11 changes: 0 additions & 11 deletions tests/testthat/_snaps/derive_var_dthcaus.new.md

This file was deleted.

11 changes: 0 additions & 11 deletions tests/testthat/_snaps/derive_var_extreme_date.new.md

This file was deleted.

12 changes: 0 additions & 12 deletions tests/testthat/_snaps/derive_var_merged_ef_msrc.new.md

This file was deleted.

0 comments on commit b16062e

Please sign in to comment.