new MOs, cleanup

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2018-09-01 21:19:46 +02:00
1 parent 5965d3c794
commit 75fe4d401f
20 files changed
+166 -179

No files matched your search

+7 -2
View File
@@ -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"))
})