Last updated on 2020-01-16 06:50:16 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.1.1 | 8.02 | 62.36 | 70.38 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 1.1.1 | 6.75 | 52.57 | 59.32 | NOTE | |
r-devel-linux-x86_64-fedora-clang | 1.1.1 | 91.74 | NOTE | |||
r-devel-linux-x86_64-fedora-gcc | 1.1.1 | 86.81 | NOTE | |||
r-devel-windows-ix86+x86_64 | 1.1.1 | 35.00 | 95.00 | 130.00 | OK | |
r-devel-windows-ix86+x86_64-gcc8 | 1.1.1 | 20.00 | 130.00 | 150.00 | OK | |
r-patched-linux-x86_64 | 1.1.1 | 6.65 | 59.35 | 66.00 | OK | |
r-patched-solaris-x86 | 1.1.1 | 120.10 | OK | |||
r-release-linux-x86_64 | 1.1.1 | 6.35 | 59.02 | 65.37 | OK | |
r-release-windows-ix86+x86_64 | 1.1.1 | 28.00 | 74.00 | 102.00 | OK | |
r-release-osx-x86_64 | 1.1.1 | OK | ||||
r-oldrel-windows-ix86+x86_64 | 1.1.1 | 17.00 | 71.00 | 88.00 | OK | |
r-oldrel-osx-x86_64 | 1.1.1 | OK |
Version: 1.1.1
Check: examples
Result: ERROR
Running examples in 'gitter-Ex.R' failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: gitter
> ### Title: Process a single plate image
> ### Aliases: gitter
> ### Keywords: gitter image process sga single
>
> ### ** Examples
>
> # Read sample image
> f = system.file("extdata", "sample.jpg", package="gitter")
> # Process it
> dat = gitter(f)
2020-01-14 23:30:57:INFO::Reading image from: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/gitter/extdata/sample.jpg
2020-01-14 23:30:57:INFO:: Detected color image, extracting greyscale
2020-01-14 23:30:58:INFO::Running fast background correction
2020-01-14 23:30:58:INFO::Opening image with kernel size 31
2020-01-14 23:30:58:INFO::Iteration 0, threshold t = 0.14
2020-01-14 23:30:58:INFO::Iteration 1, threshold t = 0.15
2020-01-14 23:30:58:INFO::Iteration 2, threshold t = 0.15
2020-01-14 23:30:58:INFO::Optimal threshold t = 0.15
2020-01-14 23:30:58:INFO::Thresholding took 0.71 seconds
2020-01-14 23:30:58:INFO::Computing row sums
2020-01-14 23:30:58:INFO::Computing column sums
2020-01-14 23:30:59:INFO::Getting row peaks...
2020-01-14 23:30:59:INFO::Estimated window size: 26
2020-01-14 23:30:59:INFO::Getting column peaks...
2020-01-14 23:30:59:INFO::Estimated window size: 26
2020-01-14 23:31:00:INFO::Fitting bounds...
----------- FAILURE REPORT --------------
--- failure: the condition has length > 1 ---
--- srcref ---
:
--- package (from environment) ---
gitter
--- call from context ---
.drawRect(coords[, 3:6], im.grey, color = "orange")
--- call from argument ---
if (class(im) == "matrix") im = .getColorImage(im)
--- R stacktrace ---
where 1: .drawRect(coords[, 3:6], im.grey, color = "orange")
where 2: gitter(f)
--- value of length: 2 type: logical ---
[1] TRUE FALSE
--- function from context ---
function (rects, im, color = "red", int = 1)
{
col.rgb = col2rgb(color)[, 1]/255
if (class(im) == "matrix")
im = .getColorImage(im)
for (i in 1:nrow(rects)) {
rect = as.numeric(rects[i, ])
im[rect[3]:rect[4], rect[1], 1] = col.rgb[1]
im[rect[3]:rect[4], rect[2], 1] = col.rgb[1]
im[rect[3], rect[1]:rect[2], 1] = col.rgb[1]
im[rect[4], rect[1]:rect[2], 1] = col.rgb[1]
im[rect[3]:rect[4], rect[1], 2] = col.rgb[2]
im[rect[3]:rect[4], rect[2], 2] = col.rgb[2]
im[rect[3], rect[1]:rect[2], 2] = col.rgb[2]
im[rect[4], rect[1]:rect[2], 2] = col.rgb[2]
im[rect[3]:rect[4], rect[1], 3] = col.rgb[3]
im[rect[3]:rect[4], rect[2], 3] = col.rgb[3]
im[rect[3], rect[1]:rect[2], 3] = col.rgb[3]
im[rect[4], rect[1]:rect[2], 3] = col.rgb[3]
}
return(im)
}
<bytecode: 0x6549618>
<environment: namespace:gitter>
--- function search by body ---
Function .drawRect in namespace gitter has this body.
----------- END OF FAILURE REPORT --------------
Error in if (class(im) == "matrix") im = .getColorImage(im) :
the condition has length > 1
Calls: gitter -> .drawRect
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.1.1
Check: for non-standard things in the check directory
Result: NOTE
Found the following files/directories:
‘gridded_sample.jpg’ ‘gridded_sample_dead.jpg’ ‘sample.jpg.dat’
‘sample_dead.jpg.dat’
Flavors: r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc