From 9f77b639f5310360a654b26310babb452054bed1 Mon Sep 17 00:00:00 2001 From: topepo Date: Sun, 18 Nov 2018 13:23:39 -0500 Subject: [PATCH] skip if early R version --- tests/testthat/test_isomap.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/testthat/test_isomap.R b/tests/testthat/test_isomap.R index 0517328b6..414719e96 100644 --- a/tests/testthat/test_isomap.R +++ b/tests/testthat/test_isomap.R @@ -29,6 +29,7 @@ test_that('correct Isomap values', { skip_if_not_installed("igraph") skip_if_not_installed("RANN") skip_if_not_installed("dimRed") + skip_if(getRversion() <= "3.4.4") im_rec <- rec %>% step_isomap(x1, x2, x3, neighbors = 3, num_terms = 3, id = "") @@ -62,6 +63,7 @@ test_that('printing', { skip_if_not_installed("igraph") skip_if_not_installed("RANN") skip_if_not_installed("dimRed") + skip_if(getRversion() <= "3.4.4") im_rec <- rec %>% step_isomap(x1, x2, x3, neighbors = 3, num_terms = 3)