Running 'spelling.R' [0s]
  Running 'testthat.R' [2s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(autothresholdr)
  > 
  > if (!autothresholdr:::win32bit()) test_check("autothresholdr")
  -- 1. Error: (unknown) (@test_auto_thresh_methods.R#3)  ------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. base::system.file("extdata", "eg.tif", package = "autothresholdr")
    9. ijtiff::read_tif(.)
   15. dplyr::setdiff
   16. base::getExportedValue(pkg, name)
   17. base::asNamespace(ns)
   18. base::getNamespace(ns)
   19. base::loadNamespace(name)
   20. base::library.dynam(lib, package, package.lib)
  
  -- 2. Error: mean_stack_thresh works (@test_stack_thresh.R#3)  -----------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. ijtiff::read_tif(system.file("extdata", "50.tif", package = "autothresholdr"))
    7. dplyr::setdiff
    8. base::getExportedValue(pkg, name)
    9. base::asNamespace(ns)
   10. base::getNamespace(ns)
   11. base::loadNamespace(name)
   12. base::library.dynam(lib, package, package.lib)
  
  -- 3. Error: auto_thresh works (@test_thresh.R#4)  -----------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. base::system.file("extdata", "eg.tif", package = "autothresholdr")
    9. ijtiff::read_tif(.)
   15. dplyr::setdiff
   16. base::getExportedValue(pkg, name)
   17. base::asNamespace(ns)
   18. base::getNamespace(ns)
   19. base::loadNamespace(name)
   20. base::library.dynam(lib, package, package.lib)
  
  -- 4. Error: auto_thresh works with matrices (@test_thresh.R#73)  --------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. base::system.file("extdata", "eg.tif", package = "autothresholdr")
    8. ijtiff::read_tif(.)
   14. dplyr::setdiff
   15. base::getExportedValue(pkg, name)
   16. base::asNamespace(ns)
   17. base::getNamespace(ns)
   18. base::loadNamespace(name)
   19. base::library.dynam(lib, package, package.lib)
  
  == testthat results  ===========================================================
  [ OK: 6 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 4 ]
  1. Error: (unknown) (@test_auto_thresh_methods.R#3) 
  2. Error: mean_stack_thresh works (@test_stack_thresh.R#3) 
  3. Error: auto_thresh works (@test_thresh.R#4) 
  4. Error: auto_thresh works with matrices (@test_thresh.R#73) 
  
  Error: testthat unit tests failed
  Execution halted