diff --git a/DESCRIPTION b/DESCRIPTION index 32b2b224..e03a4340 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -25,7 +25,7 @@ Description: Functions to simplify the analysis of Antimicrobial Resistance (AMR on antibiograms according to Leclercq (2013) . Depends: R (>= 3.0) -Imports: dplyr (>= 0.7.0), knitr, reshape2 (>= 1.4.0), xml2, rvest +Imports: dplyr (>= 0.7.0), reshape2 (>= 1.4.0), xml2, rvest Suggests: testthat URL: https://cran.r-project.org/package=AMR BugReports: https://github.com/msberends/AMR/issues diff --git a/tests/testthat/Rplots.pdf b/tests/testthat/Rplots.pdf index e73617d6..386c2865 100644 Binary files a/tests/testthat/Rplots.pdf and b/tests/testthat/Rplots.pdf differ diff --git a/tests/testthat/test-clipboard.R b/tests/testthat/test-clipboard.R index 30123564..9fa622aa 100644 --- a/tests/testthat/test-clipboard.R +++ b/tests/testthat/test-clipboard.R @@ -1,9 +1,11 @@ context("clipboard.R") test_that("clipboard works", { - # why is the <<- needed? Won't work without it... - t1 <<- AMR::antibiotics - clipboard_export(t1, info = FALSE) - t2 <- clipboard_import() - expect_equal(t1, t2) + if (Sys.info()['sysname'] == "Windows") { + # why is the <<- needed? Won't work without it... + t1 <<- AMR::antibiotics + clipboard_export(t1, info = FALSE) + t2 <- clipboard_import() + expect_equal(t1, t2) + } })