Running 'spelling.R' [1s]
  Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(nandb)
  > 
  > test_check("nandb")
  -- 1. Error: brightness works (@test-brightness.R#5)  --------------------------
   The function `ijtiff::read_tif()` is not available on 32-bit windows machines. 
      * 64-bit windows and any Linux or Mac will work.
      * I am sorry about this, I spent many hours trying to get it to work on 32-bit Windows machines but I failed.
  Backtrace:
    1. nandb::brightness(...)
    2. [ `%<>%`(...) ] with 7 more calls
   10. nandb:::nb_get_img(.)
   11. [ `%<>%`(...) ] with 7 more calls
   19. ijtiff::read_tif(.)
   20. ijtiff:::err_on_win32bit("read_tif")
   21. ijtiff:::custom_stop(...)
  
  -- 2. Error: brightness_folder works (@test-brightness.R#40)  ------------------
   The function `ijtiff::read_tif()` is not available on 32-bit windows machines. 
      * 64-bit windows and any Linux or Mac will work.
      * I am sorry about this, I spent many hours trying to get it to work on 32-bit Windows machines but I failed.
  Backtrace:
   1. ijtiff::read_tif(system.file("extdata", "50.tif", package = "nandb"))
   2. ijtiff:::err_on_win32bit("read_tif")
   3. ijtiff:::custom_stop(...)
  
  -- 3. Error: brightness_timeseries works (@test-brightness.R#92)  --------------
   The function `ijtiff::read_tif()` is not available on 32-bit windows machines. 
      * 64-bit windows and any Linux or Mac will work.
      * I am sorry about this, I spent many hours trying to get it to work on 32-bit Windows machines but I failed.
  Backtrace:
    1. nandb::brightness(img, "e")
    2. [ `%<>%`(...) ] with 7 more calls
   10. nandb:::nb_get_img(.)
   11. [ `%<>%`(...) ] with 7 more calls
   19. ijtiff::read_tif(.)
   20. ijtiff:::err_on_win32bit("read_tif")
   21. ijtiff:::custom_stop(...)
  
  -- 4. Error: cc_brightness() works (@test-cc_brightness.R#3)  ------------------
   The function `ijtiff::read_tif()` is not available on 32-bit windows machines. 
      * 64-bit windows and any Linux or Mac will work.
      * I am sorry about this, I spent many hours trying to get it to work on 32-bit Windows machines but I failed.
  Backtrace:
   1. ijtiff::read_tif(system.file("extdata", "two_ch.tif", package = "nandb"))
   2. ijtiff:::err_on_win32bit("read_tif")
   3. ijtiff:::custom_stop(...)
  
  -- 5. Error: cc_brightness_timeseries() works (@test-cc_brightness.R#61)  ------
   The function `ijtiff::read_tif()` is not available on 32-bit windows machines. 
      * 64-bit windows and any Linux or Mac will work.
      * I am sorry about this, I spent many hours trying to get it to work on 32-bit Windows machines but I failed.
  Backtrace:
   1. ijtiff::read_tif(system.file("extdata", "two_ch.tif", package = "nandb"))
   2. ijtiff:::err_on_win32bit("read_tif")
   3. ijtiff:::custom_stop(...)
  
  -- 6. Error: cc_brightness_folder() works (@test-cc_brightness.R#149)  ---------
   The function `ijtiff::read_tif()` is not available on 32-bit windows machines. 
      * 64-bit windows and any Linux or Mac will work.
      * I am sorry about this, I spent many hours trying to get it to work on 32-bit Windows machines but I failed.
  Backtrace:
   1. ijtiff::read_tif(system.file("extdata", "two_ch.tif", package = "nandb"))
   2. ijtiff:::err_on_win32bit("read_tif")
   3. ijtiff:::custom_stop(...)
  
  -- 7. Error: cc_brightness_timeseries_folder() works (@test-cc_brightness.R#175)
   The function `ijtiff::read_tif()` is not available on 32-bit windows machines. 
      * 64-bit windows and any Linux or Mac will work.
      * I am sorry about this, I spent many hours trying to get it to work on 32-bit Windows machines but I failed.
  Backtrace:
   1. ijtiff::read_tif(system.file("extdata", "two_ch.tif", package = "nandb"))
   2. ijtiff:::err_on_win32bit("read_tif")
   3. ijtiff:::custom_stop(...)
  
  -- 8. Error: cc_number() works (@test-cc_number.R#3)  --------------------------
   The function `ijtiff::read_tif()` is not available on 32-bit windows machines. 
      * 64-bit windows and any Linux or Mac will work.
      * I am sorry about this, I spent many hours trying to get it to work on 32-bit Windows machines but I failed.
  Backtrace:
   1. ijtiff::read_tif(system.file("extdata", "two_ch.tif", package = "nandb"))
   2. ijtiff:::err_on_win32bit("read_tif")
   3. ijtiff:::custom_stop(...)
  
  -- 9. Error: cc_number_timeseries() works (@test-cc_number.R#61)  --------------
   The function `ijtiff::read_tif()` is not available on 32-bit windows machines. 
      * 64-bit windows and any Linux or Mac will work.
      * I am sorry about this, I spent many hours trying to get it to work on 32-bit Windows machines but I failed.
  Backtrace:
   1. ijtiff::read_tif(system.file("extdata", "two_ch.tif", package = "nandb"))
   2. ijtiff:::err_on_win32bit("read_tif")
   3. ijtiff:::custom_stop(...)
  
  -- 10. Error: cc_number_folder() works (@test-cc_number.R#151)  ----------------
   The function `ijtiff::read_tif()` is not available on 32-bit windows machines. 
      * 64-bit windows and any Linux or Mac will work.
      * I am sorry about this, I spent many hours trying to get it to work on 32-bit Windows machines but I failed.
  Backtrace:
   1. ijtiff::read_tif(system.file("extdata", "two_ch.tif", package = "nandb"))
   2. ijtiff:::err_on_win32bit("read_tif")
   3. ijtiff:::custom_stop(...)
  
  -- 11. Error: cc_number_timeseries_folder() works (@test-cc_number.R#178)  -----
   The function `ijtiff::read_tif()` is not available on 32-bit windows machines. 
      * 64-bit windows and any Linux or Mac will work.
      * I am sorry about this, I spent many hours trying to get it to work on 32-bit Windows machines but I failed.
  Backtrace:
   1. ijtiff::read_tif(system.file("extdata", "two_ch.tif", package = "nandb"))
   2. ijtiff:::err_on_win32bit("read_tif")
   3. ijtiff:::custom_stop(...)
  
  -- 12. Error: matrix_raster_plot is ggplot (@test-graphics.R#4)  ---------------
   The function `ijtiff::read_tif()` is not available on 32-bit windows machines. 
      * 64-bit windows and any Linux or Mac will work.
      * I am sorry about this, I spent many hours trying to get it to work on 32-bit Windows machines but I failed.
  Backtrace:
   1. ijtiff::read_tif(system.file("extdata", "50.tif", package = "nandb"))
   2. ijtiff:::err_on_win32bit("read_tif")
   3. ijtiff:::custom_stop(...)
  
  -- 13. Error: number works (@test-number.R#5)  ---------------------------------
   The function `ijtiff::read_tif()` is not available on 32-bit windows machines. 
      * 64-bit windows and any Linux or Mac will work.
      * I am sorry about this, I spent many hours trying to get it to work on 32-bit Windows machines but I failed.
  Backtrace:
    1. nandb::number(img, "n", thresh = "Huang", filt = "median", detrend = TRUE)
    2. [ `%<>%`(...) ] with 7 more calls
   10. nandb:::nb_get_img(.)
   11. [ `%<>%`(...) ] with 7 more calls
   19. ijtiff::read_tif(.)
   20. ijtiff:::err_on_win32bit("read_tif")
   21. ijtiff:::custom_stop(...)
  
  -- 14. Error: number_folder works (@test-number.R#34)  -------------------------
   The function `ijtiff::read_tif()` is not available on 32-bit windows machines. 
      * 64-bit windows and any Linux or Mac will work.
      * I am sorry about this, I spent many hours trying to get it to work on 32-bit Windows machines but I failed.
  Backtrace:
   1. ijtiff::read_tif(system.file("extdata", "50.tif", package = "nandb"))
   2. ijtiff:::err_on_win32bit("read_tif")
   3. ijtiff:::custom_stop(...)
  
  -- 15. Error: number_timeseries works (@test-number.R#82)  ---------------------
   The function `ijtiff::read_tif()` is not available on 32-bit windows machines. 
      * 64-bit windows and any Linux or Mac will work.
      * I am sorry about this, I spent many hours trying to get it to work on 32-bit Windows machines but I failed.
  Backtrace:
    1. nandb::number(img, "N")
    2. [ `%<>%`(...) ] with 7 more calls
   10. nandb:::nb_get_img(.)
   11. [ `%<>%`(...) ] with 7 more calls
   19. ijtiff::read_tif(.)
   20. ijtiff:::err_on_win32bit("read_tif")
   21. ijtiff:::custom_stop(...)
  
  -- 16. Error: make_cc_nb_filename_ending() edge cases work correctly (@test-util
   The function `ijtiff::read_tif()` is not available on 32-bit windows machines. 
      * 64-bit windows and any Linux or Mac will work.
      * I am sorry about this, I spent many hours trying to get it to work on 32-bit Windows machines but I failed.
  Backtrace:
   1. ijtiff::read_tif(system.file("extdata", "two_ch.tif", package = "nandb"))
   2. ijtiff:::err_on_win32bit("read_tif")
   3. ijtiff:::custom_stop(...)
  
  -- 17. Error: `make_nb_filename_ending()` works (@test-utils.R#158)  -----------
   The function `ijtiff::read_tif()` is not available on 32-bit windows machines. 
      * 64-bit windows and any Linux or Mac will work.
      * I am sorry about this, I spent many hours trying to get it to work on 32-bit Windows machines but I failed.
  Backtrace:
   1. ijtiff::read_tif(system.file("extdata", "two_ch.tif", package = "nandb"))
   2. ijtiff:::err_on_win32bit("read_tif")
   3. ijtiff:::custom_stop(...)
  
  == testthat results  ===========================================================
  [ OK: 48 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 17 ]
  1. Error: brightness works (@test-brightness.R#5) 
  2. Error: brightness_folder works (@test-brightness.R#40) 
  3. Error: brightness_timeseries works (@test-brightness.R#92) 
  4. Error: cc_brightness() works (@test-cc_brightness.R#3) 
  5. Error: cc_brightness_timeseries() works (@test-cc_brightness.R#61) 
  6. Error: cc_brightness_folder() works (@test-cc_brightness.R#149) 
  7. Error: cc_brightness_timeseries_folder() works (@test-cc_brightness.R#175) 
  8. Error: cc_number() works (@test-cc_number.R#3) 
  9. Error: cc_number_timeseries() works (@test-cc_number.R#61) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted