mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 10:31:53 +02:00
new MOs, cleanup
This commit is contained in:
@ -124,10 +124,15 @@ test_that("first isolates work", {
|
||||
col_date = "non-existing col",
|
||||
col_mo = "mo"))
|
||||
|
||||
expect_warning(septic_patients %>%
|
||||
# if mo is not an mo class, result should be the same
|
||||
expect_identical(septic_patients %>%
|
||||
mutate(mo = as.character(mo)) %>%
|
||||
first_isolate(col_date = "date",
|
||||
col_mo = "mo",
|
||||
col_patient_id = "patient_id"))
|
||||
col_patient_id = "patient_id"),
|
||||
septic_patients %>%
|
||||
first_isolate(col_date = "date",
|
||||
col_mo = "mo",
|
||||
col_patient_id = "patient_id"))
|
||||
|
||||
})
|
||||
|
Reference in New Issue
Block a user