aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat/test_nafta.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2020-12-08 23:56:14 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2020-12-08 23:58:15 +0100
commitdf996535b0bb3077040abccf1c6e20bb4751d2ce (patch)
tree2701a2219a76929b7be235523ed8b7fb9a7c4e73 /tests/testthat/test_nafta.R
parent81e0532542ff172b15130b7e8769509a3921399c (diff)
Test plots on R-release and cache packages again
Diffstat (limited to 'tests/testthat/test_nafta.R')
-rw-r--r--tests/testthat/test_nafta.R4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testthat/test_nafta.R b/tests/testthat/test_nafta.R
index 62c88983..80b6adba 100644
--- a/tests/testthat/test_nafta.R
+++ b/tests/testthat/test_nafta.R
@@ -22,7 +22,7 @@ test_that("Test data from Appendix B are correctly evaluated", {
plot_nafta <- function() plot(res)
if(requireNamespace("vdiffr", quietly = TRUE)) {
- skip_if(getRversion() < "4.1.0")
+ skip_if(getRversion() >= "4.1.0")
vdiffr::expect_doppelganger("NAFTA SOP Appendix B", plot_nafta)
}
})
@@ -50,7 +50,7 @@ test_that("Test data from Appendix D are correctly evaluated", {
plot_nafta <- function() plot(res)
if(requireNamespace("vdiffr", quietly = TRUE)) {
- skip_if(getRversion() < "4.1.0")
+ skip_if(getRversion() >= "4.1.0")
vdiffr::expect_doppelganger("Plot NAFTA analysis", plot_nafta)
}
})

Contact - Imprint