Skip to content

Commit

Permalink
#2519 fix_param_tte: style file
Browse files Browse the repository at this point in the history
  • Loading branch information
bundfussr committed Oct 10, 2024
1 parent a07fe27 commit ecd417f
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions tests/testthat/test-derive_param_tte.R
Original file line number Diff line number Diff line change
Expand Up @@ -917,18 +917,19 @@ test_that("derive_param_tte Test 13: error if dataset_name not in source_datsets
)

expect_snapshot(
derive_param_tte(
dataset_adsl = adsl,
start_date = TRTSDT,
event_conditions = list(death),
censor_conditions = list(lstalv),
source_datasets = list(adsl = adsl),
set_values_to = exprs(
PARAMCD = "OS",
PARAM = "Overall Survival"
)
),
error = TRUE)
derive_param_tte(
dataset_adsl = adsl,
start_date = TRTSDT,
event_conditions = list(death),
censor_conditions = list(lstalv),
source_datasets = list(adsl = adsl),
set_values_to = exprs(
PARAMCD = "OS",
PARAM = "Overall Survival"
)
),
error = TRUE
)
})

# list_tte_source_objects ----
Expand Down

0 comments on commit ecd417f

Please sign in to comment.