mirror of
https://github.com/msberends/AMR.git
synced 2026-10-01 04:13:33 +02:00
fix for macOS and older tidyr versions
This commit is contained in:
1 parent
eca406b18b
commit
e3e10c2e88
4 files changed
+9
-16
No files matched your search
@@ -18,9 +18,7 @@ test_that("frequency table works", {
|
||||
# factor
|
||||
expect_output(print(freq(septic_patients$hospital_id)))
|
||||
# table
|
||||
#if (Sys.info()['sysname'] %in% c("Windows", "Linux")) {
|
||||
expect_output(print(freq(table(septic_patients$sex, septic_patients$age))))
|
||||
#}
|
||||
expect_output(print(freq(table(septic_patients$sex, septic_patients$age))))
|
||||
|
||||
library(dplyr)
|
||||
expect_output(septic_patients %>% select(1:2) %>% freq() %>% print())
|
||||
|
||||
Reference in new issue
Block a user