freq: fix na.rm in groups

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2018-11-08 16:10:03 +01:00
1 parent 84e08f516a
commit 9be5e0318b
4 files changed
+11 -4

No files matched your search

+2
View File
@@ -63,6 +63,8 @@ test_that("frequency table works", {
# grouping variable
expect_output(print(septic_patients %>% group_by(gender) %>% freq(hospital_id)))
expect_output(print(septic_patients %>% group_by(gender) %>% freq(amox, quote = TRUE)))
expect_output(print(septic_patients %>% group_by(gender) %>% freq(amox, markdown = TRUE)))
# top 5
expect_equal(