aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2015-04-24 02:22:21 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2015-04-24 02:22:21 +0200
commitc6e57ab29170266b3038b01c54bf161ab361d440 (patch)
treefaf8aac9ff6fe2068027b3ada12eaa1fd7679938
parent7d2096855edcc196629c1c7a9983a56ec6addd1e (diff)
Do not test the path to the zip file
-rw-r--r--pkg/DESCRIPTION2
-rw-r--r--pkg/tests/testthat/H_sw_D4_pond.rdsbin243113 -> 243098 bytes
-rw-r--r--pkg/tests/testthat/test_TOXSWA_cwa.R1
3 files changed, 2 insertions, 1 deletions
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
--- a/pkg/tests/testthat/H_sw_D4_pond.rds
+++ b/pkg/tests/testthat/H_sw_D4_pond.rds
Binary files 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")
})

Contact - Imprint