Last updated on 2018-10-04 07:48:47 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.1.9.0 | 5.64 | 54.37 | 60.01 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.1.9.0 | 6.90 | 43.82 | 50.72 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.1.9.0 | 73.45 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 1.1.9.0 | 72.49 | OK | |||
r-devel-windows-ix86+x86_64 | 1.1.9.0 | 16.00 | 94.00 | 110.00 | OK | |
r-patched-linux-x86_64 | 1.1.9.0 | 6.34 | 50.80 | 57.14 | OK | |
r-patched-solaris-x86 | 1.1.9.0 | 83.50 | ERROR | |||
r-release-linux-x86_64 | 1.1.9.0 | 7.44 | 50.54 | 57.98 | OK | |
r-release-windows-ix86+x86_64 | 1.1.9.0 | 20.00 | 75.00 | 95.00 | OK | |
r-release-osx-x86_64 | 1.1.9.0 | OK | ||||
r-oldrel-windows-ix86+x86_64 | 1.1.9.0 | 7.00 | 74.00 | 81.00 | OK | |
r-oldrel-osx-x86_64 | 1.1.9.0 | OK |
Version: 1.1.9.0
Check: examples
Result: ERROR
Running examples in ‘RTest-Ex.R’ failed
The error most likely occurred in:
> ### Name: test_returnValue_image
> ### Title: Tests an image file with ImageMagick ('RTestTest_image')
> ### Aliases: test_returnValue_image
>
> ### ** Examples
>
>
> # Cleaning up
>
> tryCatch(unloadNamespace("RTest"))
> tryCatch(unloadNamespace("testthat"))
> library(RTest)
Loading required package: testthat
>
> # create some definition of tests
>
> data <- '<test_image desc="Compare a value" diff-type="relative"
+ compare-type="equal" tolerance="0"/>'
> xmlTestSpec <- XML::xmlRoot(XML::xmlParse(data,asText=TRUE))
> location <- find.package("RTest")
>
> # Create a test with equal images
>
> result <- paste0(location,"/images/Roche_Logo.png")
> reference <- paste0(location,"/images/Roche_Logo.png")
>
> test_returnValue_image(result,reference,xmlTestSpec)
Error: Test failed: 'Compare a value'
* NA not equal to 0.
1/1 mismatches
[1] NA - 0 == NA
{"Test":"Equal Value", "Name":"Compare a value", "Received":"/data/gannet/ripley/R/packages/tests-clang/RTest.Rcheck/RTest/images/Roche_Logo.png", "Data Type":"Image", "Expected":"/data/gannet/ripley/R/packages/tests-clang/RTest.Rcheck/RTest/images/Roche_Logo.png", "Data Type":"Image", "Diff in percent":"NA", "Diff Image":"<img width=200 src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB9AAAAQ7CAMAAADgjcWXAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAADAFBMVEX////v9vvk8fj4/P3v9/vM5PPM5PPT6PT7/f70+fzO5fPY6vb+/v/5/P7R5/Td7ff////8/f7V6fXm8vn+///a7PbM5PPs9frg7vfN5fPy+Pzo8/nQ5vT4+/3t9vvT6PT7/f70+fzO5fPY6vb4+/3Q5vTf7vf8/f7U6PXm8vnY6/bt9fvf7vfz+fzm8vnU6PX+/v/3+/3f7vfn8vnd7ffl8fn4+/3s9frx+PzN5fPZ6/b2+v3P5fP6/f7S5/To8/n9/v/W6vX////d7ffO5fP0+fzk8PjR5/T5/P3q9PrU6PXw9/vN5PP2+v3P5fPg7/f5/P7R5/To8/r9/v7W6fXv9/v+///b7Pbi8Pj5/P7p8/r8/f7b7Pbi8Pjp8/rO5fP1+v3W6fXi8Pjp9Prw9/vZ6
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.1.9.0
Check: examples
Result: ERROR
Running examples in ‘RTest-Ex.R’ failed
The error most likely occurred in:
> ### Name: test_returnValue_image
> ### Title: Tests an image file with ImageMagick ('RTestTest_image')
> ### Aliases: test_returnValue_image
>
> ### ** Examples
>
>
> # Cleaning up
>
> tryCatch(unloadNamespace("RTest"))
> tryCatch(unloadNamespace("testthat"))
> library(RTest)
Loading required package: testthat
>
> # create some definition of tests
>
> data <- '<test_image desc="Compare a value" diff-type="relative"
+ compare-type="equal" tolerance="0"/>'
> xmlTestSpec <- XML::xmlRoot(XML::xmlParse(data,asText=TRUE))
> location <- find.package("RTest")
>
> # Create a test with equal images
>
> result <- paste0(location,"/images/Roche_Logo.png")
> reference <- paste0(location,"/images/Roche_Logo.png")
>
> test_returnValue_image(result,reference,xmlTestSpec)
Error: Test failed: 'Compare a value'
* path[1]="/tmp/RtmpDYaGNN/file4f3c75d461cc.png": No such file or directory
1: base64::encode(difference_png_name, difference_png_name_text)
2: normalizePath(input, mustWork = TRUE)
Execution halted
Flavor: r-patched-solaris-x86