* using log directory 'd:/Rcompile/CRANpkg/local/3.5/autothresholdr.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 'autothresholdr/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'autothresholdr' version '1.3.5' * 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 'autothresholdr' 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 ... [4s] 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 'autothresholdr-Ex.R' failed The error most likely occurred in: > ### Name: auto_thresh > ### Title: Automatically threshold an array of non-negative integers. > ### Aliases: auto_thresh auto_thresh_mask auto_thresh_apply_mask mask > ### apply_mask > > ### ** Examples > > img_location <- system.file("extdata", "eg.tif", package = "autothresholdr") > img <- ijtiff::read_tif(img_location) 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(img_location) 2. \-ijtiff:::err_on_win32bit("read_tif") 3. \-ijtiff:::custom_stop(...) Execution halted ** running examples for arch 'x64' ... [7s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... ** running tests for arch 'i386' ... [5s] ERROR Running 'spelling.R' [0s] Running 'testthat.R' [3s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(autothresholdr) > > test_check("autothresholdr") -- 1. Error: (unknown) (@test_auto_thresh_methods.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. base::system.file("extdata", "eg.tif", package = "autothresholdr") 9. ijtiff::read_tif(.) 10. ijtiff:::err_on_win32bit("read_tif") 11. ijtiff:::custom_stop(...) -- 2. Error: mean_stack_thresh works (@test_stack_thresh.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", "50.tif", package = "autothresholdr")) 2. ijtiff:::err_on_win32bit("read_tif") 3. ijtiff:::custom_stop(...) -- 3. Error: auto_thresh works (@test_thresh.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. base::system.file("extdata", "eg.tif", package = "autothresholdr") 9. ijtiff::read_tif(.) 10. ijtiff:::err_on_win32bit("read_tif") 11. ijtiff:::custom_stop(...) -- 4. Error: auto_thresh works with matrices (@test_thresh.R#73) -------------- 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. base::system.file("extdata", "eg.tif", package = "autothresholdr") 8. ijtiff::read_tif(.) 9. ijtiff:::err_on_win32bit("read_tif") 10. ijtiff:::custom_stop(...) == 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 ** running tests for arch 'x64' ... [7s] OK Running 'spelling.R' [0s] Running 'testthat.R' [6s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [16s] OK * checking PDF version of manual ... OK * DONE Status: 2 ERRORs