mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 03:40:48 +01:00
new MOs, cleanup
This commit is contained in:
1 parent
5965d3c794
commit
75fe4d401f
20 files changed
+166
-179
No files matched your search
@@ -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