mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 12:31:58 +02:00
(v1.0.0.9005) info printing only in interactive mode
This commit is contained in:
@ -141,7 +141,8 @@ test_that("first isolates work", {
|
||||
mutate(first = first_isolate(., "date", "patient_id",
|
||||
col_mo = "mo",
|
||||
col_specimen = "specimen",
|
||||
filter_specimen = "something_unexisting")))
|
||||
filter_specimen = "something_unexisting",
|
||||
info = TRUE)))
|
||||
|
||||
# printing of exclusion message
|
||||
expect_message(example_isolates %>%
|
||||
@ -149,7 +150,8 @@ test_that("first isolates work", {
|
||||
col_mo = "mo",
|
||||
col_patient_id = "patient_id",
|
||||
col_testcode = "gender",
|
||||
testcodes_exclude = "M"))
|
||||
testcodes_exclude = "M",
|
||||
info = TRUE))
|
||||
|
||||
# errors
|
||||
expect_error(first_isolate("date", "patient_id", col_mo = "mo"))
|
||||
|
Reference in New Issue
Block a user