Skip to content

Add ard_event_rates() #769

Add ard_event_rates()

Add ard_event_rates() #769

GitHub Actions / Unit Tests Summary failed Nov 25, 2024 in 0s

3 errors, 158 pass in 1m 6s

  1 files  163 suites   1m 6s ⏱️
161 tests 158 ✅ 0 💤 0 ❌ 3 🔥
664 runs  661 ✅ 0 💤 0 ❌ 3 🔥

Results for commit a717455.

Annotations

Check failure on line 0 in character(0)

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 3 runs with error: ard_event_rates_works_with_default_settings (character(0))

cardx.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `get_ard_statistics(dplyr::filter(res, group1_level == "Placebo",  ('test-ard_event_rates.R:14:3')
Error in `get_ard_statistics(dplyr::filter(res, group1_level == "Placebo", 
    variable_level == "CARDIAC DISORDERS", stat_name == "n"))`: could not find function "get_ard_statistics"
Backtrace:
    ▆
 1. └─testthat::expect_equal(...) at test-ard_event_rates.R:14:3
 2.   └─testthat::quasi_label(enquo(object), label, arg = "object")
 3.     └─rlang::eval_bare(expr, quo_get_env(quo))

Check failure on line 0 in character(0)

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

ard_event_rates_ordered_works (character(0)) with error

cardx.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `mutate(cards::ADAE, AESEV = factor(cards::ADAE$AESEV, ordered = TRUE))`: could not find function "mutate" ('test-ard_event_rates.R:79:3')
Error in `mutate(cards::ADAE, AESEV = factor(cards::ADAE$AESEV, ordered = TRUE))`: could not find function "mutate"

Check failure on line 0 in character(0)

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 2 runs with error: ard_hierarchical_count_works_with_by_variable_not_present_in_denominator_ (character(0))

cardx.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `get_ard_statistics(dplyr::filter(ard_events_with_by, group1_level ==  ('test-ard_event_rates.R:210:3')
Error in `get_ard_statistics(dplyr::filter(ard_events_with_by, group1_level == 
    "Placebo", group2_level == "MILD", variable_level == "CARDIAC DISORDERS"))`: could not find function "get_ard_statistics"
Backtrace:
    ▆
 1. └─testthat::expect_equal(...) at test-ard_event_rates.R:210:3
 2.   └─testthat::quasi_label(enquo(object), label, arg = "object")
 3.     └─rlang::eval_bare(expr, quo_get_env(quo))