Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(exifr)
  Could not find ExifTool at any of the following locations: C:\Users\tomas\AppData\Local/paleolimbot/r-exifr/exiftool/exiftool.pl, C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/exifr/exifr.Rcheck/exifr/exiftool/exiftool.pl, exiftool. Attempting to install from http://paleolimbot.github.io/exifr/exiftool.zip
  Trying perl command: `perl`
  Trying perl command: `C:\Perl64\bin\perl`
  Trying perl command: `C:\Perl\bin\perl`
  Trying perl command: `C:\Strawberry\perl\bin\perl`
  Warning messages:
  1: In configure_perl(quiet = quiet) :
    Could not find perl at any of the following locations: `perl`, `C:\Perl64\bin\perl`, `C:\Perl\bin\perl`, `C:\Strawberry\perl\bin\perl`. Specify perl location using options(exifr.perlpath='my/path/to/perl')
  2: In configure_perl(quiet = quiet) :
    Could not find perl at any of the following locations: `perl`, `C:\Perl64\bin\perl`, `C:\Perl\bin\perl`, `C:\Strawberry\perl\bin\perl`. Specify perl location using options(exifr.perlpath='my/path/to/perl')
  3: In configure_exiftool(file.path(write_dir, "exiftool", "exiftool.pl"),  :
    Could not find ExifTool at any of the following locations: `C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/exifr/exifr.Rcheck/exifr/exiftool/exiftool.pl`
  > 
  > test_check("exifr")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_read_exif.R:8:3): read_exif reads images in the inst directory ──
  Error: ExifTool not properly configured. Run configure_exiftool() to debug.
  Backtrace:
      █
   1. └─exifr::read_exif(test_files, quiet = FALSE) test_read_exif.R:8:2
   2.   └─exifr::exiftool_command(args = args, fnames = path)
  ── Error (test_read_exif.R:16:3): read_exif reads a single file as a data frame ──
  Error: ExifTool not properly configured. Run configure_exiftool() to debug.
  Backtrace:
      █
   1. └─exifr::read_exif(test_files[1], quiet = FALSE) test_read_exif.R:16:2
   2.   └─exifr::exiftool_command(args = args, fnames = path)
  ── Error (test_read_exif.R:24:3): quiet argument supresses messages ────────────
  Error: ExifTool not properly configured. Run configure_exiftool() to debug.
  Backtrace:
       █
    1. ├─testthat::expect_silent(read_exif(test_files)) test_read_exif.R:24:2
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat:::.capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. └─exifr::read_exif(test_files)
   10.   └─exifr::exiftool_command(args = args, fnames = path)
  ── Error (test_read_exif.R:34:3): recursive option works ───────────────────────
  Error: ExifTool not properly configured. Run configure_exiftool() to debug.
  Backtrace:
       █
    1. ├─testthat::expect_silent(read_exif(images_folder, recursive = TRUE)) test_read_exif.R:34:2
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat:::.capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. └─exifr::read_exif(images_folder, recursive = TRUE)
   10.   └─exifr::exiftool_command(args = args, fnames = path)
  ── Error (test_read_exif.R:52:3): tags option works ────────────────────────────
  Error: ExifTool not properly configured. Run configure_exiftool() to debug.
  Backtrace:
      █
   1. └─exifr::read_exif(test_files, tags = c("FileName", "ImageSize")) test_read_exif.R:52:2
   2.   └─exifr::exiftool_command(args = args, fnames = path)
  ── Error (test_read_exif.R:64:3): command-line length is properly dealt with ───
  Error: ExifTool not properly configured. Run configure_exiftool() to debug.
  Backtrace:
      █
   1. └─exifr::read_exif(...) test_read_exif.R:64:2
   2.   └─exifr::exiftool_command(args = args, fnames = path)
  ── Error (test_read_exif.R:80:3): binary tags are loaded as base64 ─────────────
  Error: ExifTool not properly configured. Run configure_exiftool() to debug.
  Backtrace:
      █
   1. └─exifr::read_exif(...) test_read_exif.R:80:2
   2.   └─exifr::exiftool_command(args = args, fnames = path)
  ── Error (test_read_exif.R:92:3): exiftool version function works ──────────────
  Error: ExifTool not properly configured. Run configure_exiftool() to debug.
  Backtrace:
      █
   1. ├─testthat::expect_is(exiftool_version(), "numeric") test_read_exif.R:92:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─exifr::exiftool_version()
   5.   └─exifr::exiftool_call(args = "-ver", intern = TRUE, quiet = TRUE)
  ── Error (test_read_exif.R:97:3): exiftool call function works ─────────────────
  Error: ExifTool not properly configured. Run configure_exiftool() to debug.
  Backtrace:
      █
   1. ├─testthat::expect_match(...) test_read_exif.R:97:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─exifr::exiftool_call(...)
  ── Failure (test_utils.R:6:3): perl configure works properly ───────────────────
  configure_perl() inherits from `'NULL'` not `'character'`.
  ── Failure (test_utils.R:7:3): perl configure works properly ───────────────────
  `configure_perl(quiet = FALSE)` produced unexpected messages.
  Expected match: Perl found at
  Actual values:
  * Trying perl command: `perl`
  
  * Trying perl command: `C:\Perl64\bin\perl`
  
  * Trying perl command: `C:\Perl\bin\perl`
  
  * Trying perl command: `C:\Strawberry\perl\bin\perl`
  
  ── Failure (test_utils.R:8:3): perl configure works properly ───────────────────
  `configure_perl(quiet = TRUE)` produced warnings.
  ── Failure (test_utils.R:12:3): exiftool configure works properly ──────────────
  configure_exiftool() inherits from `'NULL'` not `'character'`.
  ── Failure (test_utils.R:13:3): exiftool configure works properly ──────────────
  `configure_exiftool(quiet = FALSE)` produced unexpected messages.
  Expected match: ExifTool found at
  Actual values:
  * Trying perl command: `perl`
  
  * Trying perl command: `C:\Perl64\bin\perl`
  
  * Trying perl command: `C:\Perl\bin\perl`
  
  * Trying perl command: `C:\Strawberry\perl\bin\perl`
  
  * Trying ExifTool at `exiftool`
  
  ── Failure (test_utils.R:14:3): exiftool configure works properly ──────────────
  `configure_exiftool(quiet = TRUE)` produced warnings.
  ── Failure (test_utils.R:21:3): exiftool install works properly ────────────────
  configure_exiftool(...) inherits from `'NULL'` not `'character'`.
  ── Error (test_utils.R:30:3): exiftool install works properly ──────────────────
  Error: ExifTool not properly configured. Run configure_exiftool() to debug.
  Backtrace:
      █
   1. ├─testthat::expect_true(exiftool_version() >= 11.22) test_utils.R:30:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─exifr::exiftool_version()
   5.   └─exifr::exiftool_call(args = "-ver", intern = TRUE, quiet = TRUE)
  ── Failure (test_utils.R:40:5): Internal version of exiftool works ─────────────
  `configure_exiftool(command = internal_exiftool)` produced unexpected messages.
  Expected match: ExifTool found at
  Actual values:
  * Trying perl command: `perl`
  
  * Trying perl command: `C:\Perl64\bin\perl`
  
  * Trying perl command: `C:\Perl\bin\perl`
  
  * Trying perl command: `C:\Strawberry\perl\bin\perl`
  
  ── Failure (test_utils.R:61:3): command tester works ───────────────────────────
  test_command(perl_command, "-V", return_code = 0) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test_utils.R:64:3): command tester works ───────────────────────────
  test_command(...) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 20 | WARN 12 | SKIP 0 | PASS 8 ]
  Error: Test failures
  Execution halted