Running 'spelling.R' [0s]
  Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(detrendr)
  > 
  > if (!detrendr:::win32bit()) test_check("detrendr")
  -- 1. Error: best_swaps() works (@test-best_params.R#109)  ---------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. ijtiff::read_tif(system.file("extdata", "bleached.tif", package = "detrendr"))
    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)
  
  -- 2. Failure: detrended_img works (@test-class-constructors.R#22)  ------------
  `detrended_img(three_d, "rh", 8:9, TRUE)` threw an error with unexpected message.
  Expected match: "The length of the `parameter` argument must be equal to 1 or.+equal to the number of channels in `img`.+Your `img` has 1 channel and your `parameter` argument.+is of length 2."
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. detrendr::detrended_img(three_d, "rh", 8:9, TRUE)
   22. dplyr::if_else
   23. base::getExportedValue(pkg, name)
   24. base::asNamespace(ns)
   25. base::getNamespace(ns)
   26. base::loadNamespace(name)
   27. base::library.dynam(lib, package, package.lib)
  
  -- 3. Error: detrending errors correctly (@test-detrend.R#172)  ----------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. ijtiff::read_tif(...)
    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)
  
  -- 4. Error: brightness_pillars works (@test-pillar-stats.R#4)  ----------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(...)
    4. ijtiff::ijtiff_img(brightness_pillars(aaa))
    8. dplyr::setdiff
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::library.dynam(lib, package, package.lib)
  
  -- 5. Error: pillar-stats works (@test-pillar-stats.R#13)  ---------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(...)
    4. ijtiff::ijtiff_img(mean_pillars(aaa))
    8. dplyr::setdiff
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::library.dynam(lib, package, package.lib)
  
  -- 6. Error: sum_pillars() and mean_pillars() work (@test-utils.R#20)  ---------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. base::system.file("extdata", "bleached.tif", package = "detrendr")
    9. ijtiff::read_tif(., msg = FALSE)
   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)
  
  -- 7. Error: sum_frames() and mean_frames() work (@test-utils.R#26)  -----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. base::system.file("extdata", "bleached.tif", package = "detrendr")
    8. ijtiff::read_tif(., msg = FALSE)
   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)
  
  -- 8. Error: brightness_cols_given_mean() works (@test-utils.R#40)  ------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. base::system.file("extdata", "bleached.tif", package = "detrendr")
    8. ijtiff::read_tif(., msg = FALSE)
   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)
  
  -- 9. Error: var_cols_given_mean() works (@test-utils.R#54)  -------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. base::system.file("extdata", "bleached.tif", package = "detrendr")
    8. ijtiff::read_tif(., msg = FALSE)
   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)
  
  -- 10. Error: var_rows_given_mean() works (@test-utils.R#68)  ------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. base::system.file("extdata", "bleached.tif", package = "detrendr")
    8. ijtiff::read_tif(., msg = FALSE)
   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)
  
  -- 11. Error: rboxes derivatives error correctly (@test-utils.R#87)  -----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. base::system.file("extdata", "bleached.tif", package = "detrendr")
    8. ijtiff::read_tif(., msg = FALSE)
   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: 39 | SKIPPED: 15 | WARNINGS: 0 | FAILED: 11 ]
  1. Error: best_swaps() works (@test-best_params.R#109) 
  2. Failure: detrended_img works (@test-class-constructors.R#22) 
  3. Error: detrending errors correctly (@test-detrend.R#172) 
  4. Error: brightness_pillars works (@test-pillar-stats.R#4) 
  5. Error: pillar-stats works (@test-pillar-stats.R#13) 
  6. Error: sum_pillars() and mean_pillars() work (@test-utils.R#20) 
  7. Error: sum_frames() and mean_frames() work (@test-utils.R#26) 
  8. Error: brightness_cols_given_mean() works (@test-utils.R#40) 
  9. Error: var_cols_given_mean() works (@test-utils.R#54) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted