From c6e57ab29170266b3038b01c54bf161ab361d440 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 24 Apr 2015 02:22:21 +0200 Subject: Do not test the path to the zip file --- pkg/DESCRIPTION | 2 +- pkg/tests/testthat/H_sw_D4_pond.rds | Bin 243113 -> 243098 bytes pkg/tests/testthat/test_TOXSWA_cwa.R | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) (limited to 'pkg') diff --git a/pkg/DESCRIPTION b/pkg/DESCRIPTION index a327ae1..08afb22 100644 --- a/pkg/DESCRIPTION +++ b/pkg/DESCRIPTION @@ -2,7 +2,7 @@ Package: pfm Type: Package Title: Utilities for pesticide fate modelling Version: 0.1-2 -Date: 2015-04-22 +Date: 2015-04-24 Authors@R: person("Johannes Ranke", email = "jranke@uni-bremen.de", role = c("aut", "cre", "cph")) Description: Utilities for simple PEC calculations and for dealing with data diff --git a/pkg/tests/testthat/H_sw_D4_pond.rds b/pkg/tests/testthat/H_sw_D4_pond.rds index 9ad8194..0b8046b 100644 Binary files a/pkg/tests/testthat/H_sw_D4_pond.rds and b/pkg/tests/testthat/H_sw_D4_pond.rds differ diff --git a/pkg/tests/testthat/test_TOXSWA_cwa.R b/pkg/tests/testthat/test_TOXSWA_cwa.R index d91b79a..582c51e 100644 --- a/pkg/tests/testthat/test_TOXSWA_cwa.R +++ b/pkg/tests/testthat/test_TOXSWA_cwa.R @@ -6,6 +6,7 @@ test_that("TOXSWA cwa file is correctly read", { basedir = "SwashProjects/project_H_sw/TOXSWA", zipfile = system.file("testdata/SwashProjects.zip", package = "pfm")) + H_sw_D4_pond$zipfile <- NULL # do not test the path expect_equal_to_reference(H_sw_D4_pond, file = "H_sw_D4_pond.rds") }) -- cgit v1.2.1