(v0.7.1.9092) as.ab() improvements

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2019-10-04 15:36:12 +02:00
1 parent edb599ae0b
commit 8bc4081b03
28 files changed
+176 -71

No files matched your search

+3
View File
@@ -53,6 +53,9 @@ test_that("as.ab works", {
expect_equal(suppressWarnings(as.character(as.ab(c("Bacteria", "Bacterial")))),
c(NA, "TMP"))
expect_equal(as.character(as.ab("Amoxy + clavulaanzuur")),
"AMC")
# assigning and subsetting
x <- antibiotics$ab