grouping var for freq

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2018-11-06 16:41:59 +01:00
1 parent 54368fafef
commit 84e08f516a
6 files changed
+116 -41

No files matched your search

+1 -1
View File
@@ -56,7 +56,7 @@ test_that("mo_property works", {
# check vector with random values
library(dplyr)
df_sample <- AMR::microorganisms %>% sample_n(100)
expect_identical(df_sample %>% pull(mo) %>% mo_fullname(),
expect_identical(df_sample %>% pull(mo) %>% mo_fullname(language = "en"),
df_sample %>% pull(fullname))
})