Skip to content

Commit

Permalink
Protect test for read_exif + write_exif
Browse files Browse the repository at this point in the history
  • Loading branch information
elipousson committed Sep 17, 2024
1 parent bfbf2fe commit 303ce4c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/testthat/test-read_exif.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
test_that("read_exif and write_exif works", {
skip_on_ci()

exiftool_v <- exiftoolr::exif_version()

skip_if_not(is.character(exiftool_v))

path <- system.file("images", package = "exiftoolr")

photos <- read_exif(path)
Expand Down

0 comments on commit 303ce4c

Please sign in to comment.