From eca406b18b0b85b67927d8b60a069a1c0d1f235d Mon Sep 17 00:00:00 2001 From: "Matthijs S. Berends" Date: Wed, 11 Jul 2018 11:46:06 +0200 Subject: [PATCH] travis build fails for macos --- DESCRIPTION | 2 +- tests/testthat/test-freq.R | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 82217064..4549789c 100755 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -44,7 +44,7 @@ Suggests: covr (>= 3.0.1), rmarkdown, rstudioapi, - tidyr + tidyr (>= 0.8.0) VignetteBuilder: knitr URL: https://github.com/msberends/AMR BugReports: https://github.com/msberends/AMR/issues diff --git a/tests/testthat/test-freq.R b/tests/testthat/test-freq.R index f67c3d2d..d4770978 100755 --- a/tests/testthat/test-freq.R +++ b/tests/testthat/test-freq.R @@ -18,9 +18,9 @@ test_that("frequency table works", { # factor expect_output(print(freq(septic_patients$hospital_id))) # 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)))) - } + #} library(dplyr) expect_output(septic_patients %>% select(1:2) %>% freq() %>% print())