diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2020-05-11 10:09:39 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2020-05-11 10:09:39 +0200 |
commit | 576fbc9d86f4db3d1be2fbd4e97b3fcd58f43c2b (patch) | |
tree | 72e609f8addef6b52fb101aa4d2777221740c640 /tests/testthat/test_nafta.R | |
parent | adb597eef6ef840ef28486dbe3d93dc62b097a6d (diff) |
Don't run visual tests on r-devel for now
https://github.com/r-lib/vdiffr/issues/86
Diffstat (limited to 'tests/testthat/test_nafta.R')
-rw-r--r-- | tests/testthat/test_nafta.R | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testthat/test_nafta.R b/tests/testthat/test_nafta.R index a0acd152..2cc25f82 100644 --- a/tests/testthat/test_nafta.R +++ b/tests/testthat/test_nafta.R @@ -22,6 +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.0) vdiffr::expect_doppelganger("NAFTA SOP Appendix B", plot_nafta) } }) @@ -46,6 +47,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.0) vdiffr::expect_doppelganger("Plot NAFTA analysis", plot_nafta) } }) |