(v1.2.0.9022) as.ab() improvement

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-07-01 16:21:36 +02:00
1 parent afc660dc33
commit 298e67a45b
15 files changed
+84 -29

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ test_that("ab_from_text works", {
expect_identical(ab_from_text("28/03/2020 regular amoxicilliin 500mg po tds", translate_ab = TRUE)[[1]],
"Amoxicillin")
expect_identical(ab_from_text("administered amoxi/clav and cipro", collapse = ", ")[[1]],
"AMX, CIP")
"AMC, CIP")
expect_identical(ab_from_text("28/03/2020 regular amoxicilliin 500mg po tds", type = "dose")[[1]],
500)