Skip to content

Commit

Permalink
skip test on older versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dfalbel committed Feb 19, 2021
1 parent 2a99dcf commit 85220ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testthat/test-preprocessing.R
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ test_succeeds("flow images from directory works", {

test_succeeds("images_dataset_from_directory", {

if (tensorflow::tf_version() < "2.3")
skip("requires tf_version() >= 2.3")

dir <- tempfile()
dir.create(dir)
dir.create(file.path(dir, "0"))
Expand Down

0 comments on commit 85220ca

Please sign in to comment.