Skip to content

Commit

Permalink
skip if early R version
Browse files Browse the repository at this point in the history
  • Loading branch information
topepo committed Nov 18, 2018
1 parent d7f5df9 commit 9f77b63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test_isomap.R
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "")
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 9f77b63

Please sign in to comment.