Running 'spelling.R' [0s]
  Running 'testthat.R' [9s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(ijtiff)
  > 
  > test_check("ijtiff")
  NULL
  [ FAIL 16 | WARN 0 | SKIP 1 | PASS 45 ]
  
  == Skipped tests ===============================================================
  * On CRAN (1)
  
  == Failed tests ================================================================
  -- Error ('test-as_EBImage-examples.R:10'): `as_EBImage()` works ---------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-ijtiff::read_tif(test_path("testthat-figs", "2ch_ij.tif"), msg = FALSE) at test-as_EBImage-examples.R:10:2
   2. | \-ijtiff:::prep_read(path, frames, tags1, tags = FALSE)
   3. |   \-... %>% unlist()
   4. +-base::unlist(.)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-class_constructors.R:7'): ijtiff_img works ---------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-class_constructors.R:7:2
    2. | \-testthat:::expect_condition_matching(...)
    3. |   \-testthat:::quasi_capture(...)
    4. |     +-testthat (local) .capture(...)
    5. |     | \-base::withCallingHandlers(...)
    6. |     \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. +-ijtiff::ijtiff_img(img, 8)
    8. | \-ijtiff:::custom_stop("All arguments in ... must be named.", "Your argument {dots[[1]]} is not named.")
    9. |   \-... %>% purrr::map_chr(custom_stop_bullet)
   10. \-base::loadNamespace(x)
   11.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-count_imgs-examples.R:6'): `count_frames()` works --------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_equal(...) at test-count_imgs-examples.R:6:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. +-ijtiff::frames_count(test_path("testthat-figs", "2ch_ij.tif"))
    5. | \-ijtiff::count_frames(path = path)
    6. |   \-ijtiff:::prep_read(...)
    7. |     \-... %>% unlist()
    8. +-base::unlist(.)
    9. \-base::loadNamespace(x)
   10.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-io.R:3'): Package 2-channel example I/O works ------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-ijtiff::read_tif(test_path("testthat-figs", "2ch_ij.tif"), msg = FALSE) at test-io.R:3:2
   2. | \-ijtiff:::prep_read(path, frames, tags1, tags = FALSE)
   3. |   \-... %>% unlist()
   4. +-base::unlist(.)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-io.R:117'): Float (real-numbered) TIFF I/O works ---------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-io.R:117:2
    2. | \-testthat:::expect_condition_matching(...)
    3. |   \-testthat:::quasi_capture(...)
    4. |     +-testthat (local) .capture(...)
    5. |     | \-base::withCallingHandlers(...)
    6. |     \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. +-ijtiff::write_tif(a2345, tmptif, msg = FALSE)
    8. | +-... %<-% ...
    9. | | +-base::tryCatch(...)
   10. | | | \-base (local) tryCatchList(expr, classes, parentenv, handlers)
   11. | | |   +-base (local) tryCatchOne(...)
   12. | | |   | \-base (local) doTryCatch(return(expr), name, parentenv, handler)
   13. | | |   \-base (local) tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
   14. | | |     \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   15. | | |       \-base (local) doTryCatch(return(expr), name, parentenv, handler)
   16. | | \-zeallot:::multi_assign(substitute(x), value, parent.frame())
   17. | \-ijtiff:::argchk_write_tif(...)
   18. |   \-ijtiff:::custom_stop(...)
   19. |     \-... %>% purrr::map_chr(custom_stop_bullet)
   20. \-base::loadNamespace(x)
   21.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-io.R:159'): List returning works -------------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. \-base::loadNamespace(x) at test-io.R:159:2
   2.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-io.R:180'): write_tif() errors correctly -----------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-io.R:180:2
    2. | \-testthat:::expect_condition_matching(...)
    3. |   \-testthat:::quasi_capture(...)
    4. |     +-testthat (local) .capture(...)
    5. |     | \-base::withCallingHandlers(...)
    6. |     \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. +-ijtiff::write_tif(aaaa, "a", bits_per_sample = "abc", msg = FALSE)
    8. | +-... %<-% ...
    9. | | +-base::tryCatch(...)
   10. | | | \-base (local) tryCatchList(expr, classes, parentenv, handlers)
   11. | | |   +-base (local) tryCatchOne(...)
   12. | | |   | \-base (local) doTryCatch(return(expr), name, parentenv, handler)
   13. | | |   \-base (local) tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
   14. | | |     \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   15. | | |       \-base (local) doTryCatch(return(expr), name, parentenv, handler)
   16. | | \-zeallot:::multi_assign(substitute(x), value, parent.frame())
   17. | \-ijtiff:::argchk_write_tif(...)
   18. |   \-ijtiff:::custom_stop(...)
   19. |     \-... %>% purrr::map_chr(custom_stop_bullet)
   20. \-base::loadNamespace(x)
   21.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-io.R:299'): text-image-io works --------------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-ijtiff::txt_img_write(mm, tmpfl, msg = FALSE) at test-io.R:299:2
   2. | \-... %T>% ...
   3. \-base::loadNamespace(x)
   4.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-io.R:378'): reading certain frames works -----------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-ijtiff::read_tif(path, "A", msg = FALSE) at test-io.R:378:2
   2. | \-ijtiff:::prep_read(path, frames, tags1, tags = FALSE)
   3. |   \-... %>% unlist()
   4. +-base::unlist(.)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-io.R:437'): Reading Mathieu's file works -----------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-ijtiff::read_tif(test_path("testthat-figs", "image2.tif"), msg = FALSE) at test-io.R:437:2
   2. | \-out %<>% purrr::map(compute_desired_plane)
   3. \-base::loadNamespace(x)
   4.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-linescan_to_stack-examples.R:13'): `linescan_to_stack()` works --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-linescan_to_stack-examples.R:13:2
    2. | \-testthat:::expect_condition_matching(...)
    3. |   \-testthat:::quasi_capture(...)
    4. |     +-testthat (local) .capture(...)
    5. |     | \-base::withCallingHandlers(...)
    6. |     \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. +-ijtiff::linescan_to_stack(arr)
    8. | \-ijtiff:::custom_stop(...)
    9. |   \-... %>% purrr::map_chr(custom_stop_bullet)
   10. \-base::loadNamespace(x)
   11.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-print.R:2'): print method works --------------------------------
  `read_tif(test_path("testthat-figs", "Rlogo-banana-red.tif"))` threw an unexpected error.
  Message: DLL 'purrr' not found: maybe not installed for this architecture?
  Class:   simpleError/error/condition
  -- Error ('test-utils.R:3'): extract_desired_plane() works ---------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equal(extract_desired_plane(aaa), aaa[, , 1]) at test-utils.R:3:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-ijtiff:::extract_desired_plane(aaa)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-utils.R:31'): prep_frames() errors correctly -------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_error(prep_frames("xyz"), paste0("If.+frames.+is a string.+must be.+all.+You have.+frames.+xyz")) at test-utils.R:31:2
    2. | \-testthat:::expect_condition_matching(...)
    3. |   \-testthat:::quasi_capture(...)
    4. |     +-testthat (local) .capture(...)
    5. |     | \-base::withCallingHandlers(...)
    6. |     \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. +-ijtiff:::prep_frames("xyz")
    8. | \-ijtiff:::custom_stop(...)
    9. |   \-... %>% purrr::map_chr(custom_stop_bullet)
   10. \-base::loadNamespace(x)
   11.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-utils.R:63'): prep_read() errors correctly in unusual circumstances --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-utils.R:63:2
    2. | \-testthat:::expect_condition_matching(...)
    3. |   \-testthat:::quasi_capture(...)
    4. |     +-testthat (local) .capture(...)
    5. |     | \-base::withCallingHandlers(...)
    6. |     \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. +-ijtiff:::prep_read(...)
    8. | \-ijtiff:::custom_stop(...)
    9. |   \-... %>% purrr::map_chr(custom_stop_bullet)
   10. \-base::loadNamespace(x)
   11.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_class_constructors.R:7'): ijtiff_img works ---------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test_class_constructors.R:7:2
    2. | \-testthat:::expect_condition_matching(...)
    3. |   \-testthat:::quasi_capture(...)
    4. |     +-testthat (local) .capture(...)
    5. |     | \-base::withCallingHandlers(...)
    6. |     \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. +-ijtiff::ijtiff_img(img, 8)
    8. | \-ijtiff:::custom_stop("All arguments in ... must be named.", "Your argument {dots[[1]]} is not named.")
    9. |   \-... %>% purrr::map_chr(custom_stop_bullet)
   10. \-base::loadNamespace(x)
   11.   \-base::library.dynam(lib, package, package.lib)
  
  [ FAIL 16 | WARN 0 | SKIP 1 | PASS 45 ]
  Deleting unused snapshots:
  * graphics/r-logo-banana-red.svg
  * graphics/raster-grey-r-logo-blue-channel.svg
  * graphics/raster-grey-r-logo.svg
  * graphics/raster-r-logo-green-channel.svg
  * graphics/reduced-resolution-basic-r-logo.svg
  Error: Test failures
  Execution halted