* using log directory 'd:/Rcompile/CRANpkg/local/3.5/nandb.Rcheck' * using R version 3.5.3 (2019-03-11) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'nandb/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'nandb' version '2.0.6' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'nandb' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * loading checks for arch 'i386' ** checking whether the package can be loaded ... OK ** checking whether the package can be loaded with stated dependencies ... OK ** checking whether the package can be unloaded cleanly ... OK ** checking whether the namespace can be loaded with stated dependencies ... OK ** checking whether the namespace can be unloaded cleanly ... OK ** checking loading without being on the library search path ... OK ** checking use of S3 registration ... OK * loading checks for arch 'x64' ** checking whether the package can be loaded ... OK ** checking whether the package can be loaded with stated dependencies ... OK ** checking whether the package can be unloaded cleanly ... OK ** checking whether the namespace can be loaded with stated dependencies ... OK ** checking whether the namespace can be unloaded cleanly ... OK ** checking loading without being on the library search path ... OK ** checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [8s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... ** running examples for arch 'i386' ... ERROR Running examples in 'nandb-Ex.R' failed The error most likely occurred in: > ### Name: brightness > ### Title: Calculate brightness from image series. > ### Aliases: brightness > > ### ** Examples > > img <- ijtiff::read_tif(system.file("extdata", "50.tif", package = "nandb")) Error: 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: x 1. \-ijtiff::read_tif(system.file("extdata", "50.tif", package = "nandb")) 2. \-ijtiff:::err_on_win32bit("read_tif") 3. \-ijtiff:::custom_stop(...) Execution halted ** running examples for arch 'x64' ... [26s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... ** running tests for arch 'i386' ... [5s] ERROR Running 'spelling.R' [0s] Running 'testthat.R' [4s] 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 ** running tests for arch 'x64' ... [121s] OK Running 'spelling.R' [0s] Running 'testthat.R' [120s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [56s] OK * checking PDF version of manual ... OK * DONE Status: 2 ERRORs