Running 'spelling.R' [0s]
  Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(ijtiff)
  > 
  > print(Sys.info())
                       sysname                      release 
                     "Windows"            "Server 2008 x64" 
                       version                     nodename 
  "build 6003, Service Pack 2"                    "CRANWIN" 
                       machine                        login 
                      "x86-64"                       "CRAN" 
                          user               effective_user 
                        "CRAN"                       "CRAN" 
  > 
  > test_check("ijtiff")
  -- 1. Error: `as_EBImage()` works (@test-as_EBImage-examples.R#3)  -------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. ijtiff::read_tif(system.file("img", "Rlogo.tif", package = "ijtiff"))
    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. Error: ijtiff_img works (@test-class_constructors.R#6)  ------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(...)
    4. ijtiff::ijtiff_img(img, bits_per_sample = 8)
    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)
  
  -- 3. Error: display works (@test-graphics.R#7)  -------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. ijtiff::read_tif(system.file("img", "Rlogo.tif", package = "ijtiff"))
    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: Package 2-channel example I/O works (@test-io.R#3)  ---------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. ijtiff::read_tif(test_path("testthat-figs", "2ch_ij.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)
  
  -- 5. Error: Package RGB I/O works (@test-io.R#53)  ----------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. ijtiff::read_tif(system.file("img", "Rlogo.tif", package = "ijtiff"))
    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)
  
  -- 6. Error: 8-bit unsigned integer TIFF I/O works (@test-io.R#63)  ------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. ijtiff::write_tif(a2345, tmptif)
   11. ijtiff:::argchk_write_tif(...)
   12. [ `%<>%`(...) ] with 7 more calls
   20. ijtiff::ijtiff_img(.)
   24. dplyr::setdiff
   25. base::getExportedValue(pkg, name)
   26. base::asNamespace(ns)
   27. base::getNamespace(ns)
   28. base::loadNamespace(name)
   29. base::library.dynam(lib, package, package.lib)
  
  -- 7. Error: 16-bit unsigned integer TIFF I/O works (@test-io.R#75)  -----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. ijtiff::tif_write(a6789, tmptif)
    2. ijtiff::write_tif(...)
   12. ijtiff:::argchk_write_tif(...)
   13. [ `%<>%`(...) ] with 7 more calls
   21. ijtiff::ijtiff_img(.)
   25. dplyr::setdiff
   26. base::getExportedValue(pkg, name)
   27. base::asNamespace(ns)
   28. base::getNamespace(ns)
   29. base::loadNamespace(name)
   30. base::library.dynam(lib, package, package.lib)
  
  -- 8. Error: 32-bit unsigned integer TIFF I/O works (@test-io.R#87)  -----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. ijtiff::write_tif(a1m, tmptif)
   11. ijtiff:::argchk_write_tif(...)
   12. [ `%<>%`(...) ] with 7 more calls
   20. ijtiff::ijtiff_img(.)
   24. dplyr::setdiff
   25. base::getExportedValue(pkg, name)
   26. base::asNamespace(ns)
   27. base::getNamespace(ns)
   28. base::loadNamespace(name)
   29. base::library.dynam(lib, package, package.lib)
  
  -- 9. Error: Float (real-numbered) TIFF I/O works (@test-io.R#99)  -------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. ijtiff::write_tif(a2345, paste0(tmptif, "f"))
   11. ijtiff:::argchk_write_tif(...)
   12. [ `%<>%`(...) ] with 7 more calls
   20. ijtiff::ijtiff_img(.)
   24. dplyr::setdiff
   25. base::getExportedValue(pkg, name)
   26. base::asNamespace(ns)
   27. base::getNamespace(ns)
   28. base::loadNamespace(name)
   29. base::library.dynam(lib, package, package.lib)
  
  -- 10. Error: Negative-numbered TIFF I/O works (@test-io.R#120)  ---------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. ijtiff::write_tif(a2345, tmptif)
   11. ijtiff:::argchk_write_tif(...)
   12. [ `%<>%`(...) ] with 7 more calls
   20. ijtiff::ijtiff_img(.)
   24. dplyr::setdiff
   25. base::getExportedValue(pkg, name)
   26. base::asNamespace(ns)
   27. base::getNamespace(ns)
   28. base::loadNamespace(name)
   29. base::library.dynam(lib, package, package.lib)
  
  -- 11. Failure: write_tif() errors correctly (@test-io.R#175)  -----------------
  `write_tif(aaaa, "a")` threw an error with unexpected message.
  Expected match: "The lowest allowable negative value in `img` is -3.40282346638529e+38.\n    * The lowest value in your `img` is -6.80564693277058e+38.\n    *  The `write_txt_img()` function allows you to write images without restriction on the values therein. Maybe you should try that?"
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. ijtiff::write_tif(aaaa, "a")
   16. ijtiff:::argchk_write_tif(...)
   17. [ `%<>%`(...) ] with 7 more calls
   25. ijtiff::ijtiff_img(.)
   29. dplyr::setdiff
   30. base::getExportedValue(pkg, name)
   31. base::asNamespace(ns)
   32. base::getNamespace(ns)
   33. base::loadNamespace(name)
   34. base::library.dynam(lib, package, package.lib)
  
  -- 12. Failure: write_tif() errors correctly (@test-io.R#189)  -----------------
  `write_tif(aaaa, "a")` threw an error with unexpected message.
  Expected match: " If `img` has negative values (which the input `img` does), then the maximum allowed positive value is 3.40282346638529e+38. \n    * The largest value in your `img` is 6.80564693277058e+38.\n    *  The `write_txt_img()` function allows you to write images without restriction on the values therein. Maybe you should try that?"
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. ijtiff::write_tif(aaaa, "a")
   16. ijtiff:::argchk_write_tif(...)
   17. [ `%<>%`(...) ] with 7 more calls
   25. ijtiff::ijtiff_img(.)
   29. dplyr::setdiff
   30. base::getExportedValue(pkg, name)
   31. base::asNamespace(ns)
   32. base::getNamespace(ns)
   33. base::loadNamespace(name)
   34. base::library.dynam(lib, package, package.lib)
  
  -- 13. Failure: write_tif() errors correctly (@test-io.R#204)  -----------------
  `write_tif(aaaa, "a", bits_per_sample = 16)` threw an error with unexpected message.
  Expected match: " Your image needs to be written as floating point numbers (not integers). For this, it is necessary to have 32 bits per sample. \n    * You have selected 16 bits per sample."
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. ijtiff::write_tif(aaaa, "a", bits_per_sample = 16)
   16. ijtiff:::argchk_write_tif(...)
   17. [ `%<>%`(...) ] with 7 more calls
   25. ijtiff::ijtiff_img(.)
   29. dplyr::setdiff
   30. base::getExportedValue(pkg, name)
   31. base::asNamespace(ns)
   32. base::getNamespace(ns)
   33. base::loadNamespace(name)
   34. base::library.dynam(lib, package, package.lib)
  
  -- 14. Failure: write_tif() errors correctly (@test-io.R#215)  -----------------
  `write_tif(aaaa, "a", bits_per_sample = 16)` threw an error with unexpected message.
  Expected match: " The maximum value in 'img' is 8589934592 which is greater than 2 ^ 32 - 1 and therefore too high to be written to a TIFF file. \n    * The `write_txt_img()` function allows you to write images without restriction on the values therein. Maybe you should try that?"
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. ijtiff::write_tif(aaaa, "a", bits_per_sample = 16)
   16. ijtiff:::argchk_write_tif(...)
   17. [ `%<>%`(...) ] with 7 more calls
   25. ijtiff::ijtiff_img(.)
   29. dplyr::setdiff
   30. base::getExportedValue(pkg, name)
   31. base::asNamespace(ns)
   32. base::getNamespace(ns)
   33. base::loadNamespace(name)
   34. base::library.dynam(lib, package, package.lib)
  
  -- 15. Failure: write_tif() errors correctly (@test-io.R#228)  -----------------
  `write_tif(aaaa, "a", bits_per_sample = 16)` threw an error with unexpected message.
  Expected match: " You are trying to write a 16-bit image, however the maximum element in `img` is 1048576, which is too big. \n    *  The largest allowable value in a 16-bit image is 65535.\n    *  To write your `img` to a TIFF file, you need at least 32 bits per sample."
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. ijtiff::write_tif(aaaa, "a", bits_per_sample = 16)
   16. ijtiff:::argchk_write_tif(...)
   17. [ `%<>%`(...) ] with 7 more calls
   25. ijtiff::ijtiff_img(.)
   29. dplyr::setdiff
   30. base::getExportedValue(pkg, name)
   31. base::asNamespace(ns)
   32. base::getNamespace(ns)
   33. base::loadNamespace(name)
   34. base::library.dynam(lib, package, package.lib)
  
  -- 16. Error: text-image-io works (@test-io.R#276)  ----------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. ijtiff::txt_img_write(mm, tmpfl)
    2. [ `%<>%`(...) ] with 7 more calls
   10. ijtiff::ijtiff_img(.)
   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)
  
  -- 17. Error: reading certain frames works (@test-io.R#344)  -------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. ijtiff::read_tif(path, "A")
    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)
  
  -- 18. Error: Reading Mathieu's file works (@test-io.R#397)  -------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. ijtiff::read_tif(test_path("testthat-figs", "image2.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)
  
  -- 19. Error: `linescan_to_stack()` works (@test-linescan_to_stack-examples.R#2)
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. ijtiff::ijtiff_img(...)
    5. dplyr::setdiff
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::library.dynam(lib, package, package.lib)
  
  -- 20. Error: ijtiff_img works (@test_class_constructors.R#6)  -----------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(...)
    4. ijtiff::ijtiff_img(img, bits_per_sample = 8)
    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)
  
  == testthat results  ===========================================================
  [ OK: 27 | SKIPPED: 1 | WARNINGS: 0 | FAILED: 20 ]
  1. Error: `as_EBImage()` works (@test-as_EBImage-examples.R#3) 
  2. Error: ijtiff_img works (@test-class_constructors.R#6) 
  3. Error: display works (@test-graphics.R#7) 
  4. Error: Package 2-channel example I/O works (@test-io.R#3) 
  5. Error: Package RGB I/O works (@test-io.R#53) 
  6. Error: 8-bit unsigned integer TIFF I/O works (@test-io.R#63) 
  7. Error: 16-bit unsigned integer TIFF I/O works (@test-io.R#75) 
  8. Error: 32-bit unsigned integer TIFF I/O works (@test-io.R#87) 
  9. Error: Float (real-numbered) TIFF I/O works (@test-io.R#99) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted