mirror of
https://github.com/msberends/AMR.git
synced 2024-12-25 19:26:13 +01:00
travis build fails for macos
This commit is contained in:
parent
673ea81c0a
commit
eca406b18b
@ -44,7 +44,7 @@ Suggests:
|
|||||||
covr (>= 3.0.1),
|
covr (>= 3.0.1),
|
||||||
rmarkdown,
|
rmarkdown,
|
||||||
rstudioapi,
|
rstudioapi,
|
||||||
tidyr
|
tidyr (>= 0.8.0)
|
||||||
VignetteBuilder: knitr
|
VignetteBuilder: knitr
|
||||||
URL: https://github.com/msberends/AMR
|
URL: https://github.com/msberends/AMR
|
||||||
BugReports: https://github.com/msberends/AMR/issues
|
BugReports: https://github.com/msberends/AMR/issues
|
||||||
|
@ -18,9 +18,9 @@ test_that("frequency table works", {
|
|||||||
# factor
|
# factor
|
||||||
expect_output(print(freq(septic_patients$hospital_id)))
|
expect_output(print(freq(septic_patients$hospital_id)))
|
||||||
# table
|
# table
|
||||||
if (Sys.info()['sysname'] %in% c("Windows", "Linux")) {
|
#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)
|
library(dplyr)
|
||||||
expect_output(septic_patients %>% select(1:2) %>% freq() %>% print())
|
expect_output(septic_patients %>% select(1:2) %>% freq() %>% print())
|
||||||
|
Loading…
Reference in New Issue
Block a user