Running 'spelling.R' [0s]
  Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(autothresholdr)
  > 
  > test_check("autothresholdr")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 60 ]
  
  == Failed tests ================================================================
  -- Error ('test-stack-thresh.R:25'): mean_stack_thresh 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(mean_stack_thresh(real_arr, "tri"), "integer") at test-stack-thresh.R:25: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. +-autothresholdr::mean_stack_thresh(real_arr, "tri")
    8. | \-autothresholdr:::custom_stop(...)
    9. |   \-... %>% purrr::map_chr(custom_stop_bullet)
   10. \-base::loadNamespace(x)
   11.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-thresh.R:51'): auto_thresh 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-thresh.R:51: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. +-autothresholdr::auto_thresh(matrix(1, nrow = 2, ncol = 2), "huang")
    8. | \-autothresholdr:::custom_stop(...)
    9. |   \-... %>% purrr::map_chr(custom_stop_bullet)
   10. \-base::loadNamespace(x)
   11.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-thresh.R:120'): auto_thresh works with matrices ----------------
  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-thresh.R:120: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. +-autothresholdr::auto_thresh(matrix(1, nrow = 2, ncol = 2), "huang")
    8. | \-autothresholdr:::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:7'): translate_fail 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-utils.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. +-autothresholdr:::translate_fail(1:3, -1)
    8. | \-autothresholdr:::custom_stop(...)
    9. |   \-... %>% purrr::map_chr(custom_stop_bullet)
   10. \-base::loadNamespace(x)
   11.   \-base::library.dynam(lib, package, package.lib)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 60 ]
  Error: Test failures
  Execution halted