From 8363b1c179c4e83d97c3c0c4cfa365f92c7832af Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Mon, 15 Jun 2020 10:27:19 +0200 Subject: Test plots on r-devel only following the arguments of Xavier Robin https://github.com/r-lib/vdiffr/issues/86#issuecomment-636447231 --- tests/testthat/test_plot.R | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/testthat/test_plot.R') diff --git a/tests/testthat/test_plot.R b/tests/testthat/test_plot.R index c6a187be..40d5928f 100644 --- a/tests/testthat/test_plot.R +++ b/tests/testthat/test_plot.R @@ -21,6 +21,7 @@ test_that("Plotting mkinfit and mmkin objects is reproducible", { plot_errmod_fit_obs_1 <- function() plot_err(fit_obs_1, sep_obs = FALSE) plot_errmod_fit_tc_1 <- function() plot_err(fit_tc_1, sep_obs = FALSE) + skip_if(getRversion() < "4.1.0") vdiffr::expect_doppelganger("mkinfit plot for FOCUS C with defaults", plot_default_FOCUS_C_SFO) vdiffr::expect_doppelganger("mkinfit plot for FOCUS C with residuals like in gmkin", plot_res_FOCUS_C_SFO) vdiffr::expect_doppelganger("plot_res for FOCUS C", plot_res_FOCUS_C_SFO_2) -- cgit v1.2.1