bactid speed improvement

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2018-07-30 00:14:06 +02:00
1 parent 826694323b
commit d0a115d995
2 files changed
+76 -45

No files matched your search

+4
View File
@@ -68,4 +68,8 @@ test_that("as.bactid works", {
expect_equal(nrow(data.frame(test = as.bactid("ESCCOL"))),
1)
# check empty values
expect_equal(as.character(suppressWarnings(as.bactid(""))),
NA_character_)
})