Skip to content

Commit b4fbe4d

Browse files
committed
skip if no pandas installed
1 parent c393679 commit b4fbe4d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/testthat/test-preprocessing.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ test_succeeds("images arrays can be resized", {
7676
})
7777

7878
test_succeeds("flow images from dataframe works", {
79+
80+
if (!reticulate::py_module_available("pandas"))
81+
skip("Needs pandas")
82+
83+
7984
if (have_pillow()) {
8085

8186
df <- data.frame(

0 commit comments

Comments
 (0)