diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2020-06-15 09:05:27 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2020-06-15 09:05:27 +0200 |
commit | 068b168d78c9550a77514e0c39923f8d40b48b03 (patch) | |
tree | bea0c6801e687d4e0f326ddbdbf5a0a27df8f355 /tests/testthat/test_nafta.R | |
parent | e6f9e9ca89e35e610d9895b979f1351a47451db0 (diff) |
Fix a bug, update for current vdiffr
Vignette FOCUS_L failed as I had introduced a bug in the handling of
warnings.
Current vdiffr only runs visual tests if R < 4.1.0, skipping r-devel for now,
see https://github.com/r-lib/vdiffr/commit/630a29d013361fd63fea242f531e2db6aef37919
Diffstat (limited to 'tests/testthat/test_nafta.R')
-rw-r--r-- | tests/testthat/test_nafta.R | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/testthat/test_nafta.R b/tests/testthat/test_nafta.R index 595db999..dad6d84c 100644 --- a/tests/testthat/test_nafta.R +++ b/tests/testthat/test_nafta.R @@ -22,7 +22,6 @@ 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) } }) @@ -50,7 +49,6 @@ 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) } }) |