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

2 errors, 36 skipped, 123 pass in 1m 10s

  1 files  163 suites   1m 10s ⏱️
161 tests 123 ✅ 36 💤 0 ❌ 2 🔥
574 runs  523 ✅ 49 💤 0 ❌ 2 🔥

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

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))