CRAN Package Check Results for Package ursa

Last updated on 2018-06-10 07:47:17 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.8.8 6.24 206.46 212.70 ERROR
r-devel-linux-x86_64-debian-gcc 3.8.8 5.61 153.89 159.50 ERROR
r-devel-linux-x86_64-fedora-clang 3.8.8 402.58 WARN
r-devel-linux-x86_64-fedora-gcc 3.8.8 390.05 OK
r-devel-windows-ix86+x86_64 3.8.8 21.00 720.00 741.00 OK
r-patched-linux-x86_64 3.8.8 6.76 196.05 202.81 ERROR
r-patched-solaris-x86 3.8.8 189.30 ERROR
r-release-linux-x86_64 3.8.8 7.70 197.27 204.97 ERROR
r-release-windows-ix86+x86_64 3.8.8 16.00 572.00 588.00 OK
r-release-osx-x86_64 3.8.8 WARN
r-oldrel-windows-ix86+x86_64 3.8.8 19.00 732.00 751.00 OK

Additional issues

clang-ASAN gcc-ASAN

Check Details

Version: 3.8.8
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     ursa.c:3252:37: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
     ursa.c:3252:56: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
     ursa.c:3252:75: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-fedora-clang, r-release-osx-x86_64

Version: 3.8.8
Check: examples
Result: ERROR
    Running examples in ‘ursa-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: open_gdal
    > ### Title: Open GDAL file
    > ### Aliases: open_gdal ursa_open
    > ### Keywords: connection
    >
    > ### ** Examples
    >
    > session_grid(NULL)
    > fname1 <- system.file("pictures/cea.tif",package="rgdal")
    > message(fname1)
    /tmp/RtmpGEVnxU/RLIBS_78ca1587edb8/rgdal/pictures/cea.tif
    > a1 <- open_gdal(fname1)
    > print(a1)
    List of 11
     $ columns : int 514
     $ rows : int 515
     $ resx : num 60
     $ resy : num 60
     $ minx : num -28493
     $ maxx : num 2358
     $ miny : num 4224973
     $ maxy : num 4255885
     $ proj4 : chr "+proj=cea +lon_0=-117.333333333333 +lat_ts=33.75 +x_0=0 +y_0=0 +datum=NAD27 +units=m +no_defs "
     $ mode : chr [1:2] "raw" "logical"
     $ bandname: chr "Band 1"
     - attr(*, "class")= chr "ursaMetadata"
    NULL
    > print(a1[])
     name mean sd sum min max n nNA
    [1] Band 1 103.149 58.8975 27304701 0 255 264710 0
    > close(a1)
    > fname2 <- system.file("pictures/test_envi_class.envi",package="rgdal")
    > message(fname2)
    /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/rgdal/pictures/test_envi_class.envi
    > b1 <- open_gdal(fname2)
    > b2 <- open_envi(fname2)
    Warning in file("/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/rgdal/pictures/test_envi_class.envi", :
     cannot open file '/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/rgdal/pictures/test_envi_class.envi': Read-only file system
    Error in file("/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/rgdal/pictures/test_envi_class.envi", :
     cannot open the connection
    Calls: open_envi -> do.call -> file
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 3.8.8
Check: examples
Result: ERROR
    Running examples in ‘ursa-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: open_gdal
    > ### Title: Open GDAL file
    > ### Aliases: open_gdal ursa_open
    > ### Keywords: connection
    >
    > ### ** Examples
    >
    > session_grid(NULL)
    > fname1 <- system.file("pictures/cea.tif",package="rgdal")
    > message(fname1)
    /home/hornik/tmp/scratch/RtmpiatXgA/RLIBS_584e3f35203d/rgdal/pictures/cea.tif
    > a1 <- open_gdal(fname1)
    > print(a1)
    List of 11
     $ columns : int 514
     $ rows : int 515
     $ resx : num 60
     $ resy : num 60
     $ minx : num -28493
     $ maxx : num 2358
     $ miny : num 4224973
     $ maxy : num 4255885
     $ proj4 : chr "+proj=cea +lon_0=-117.333333333333 +lat_ts=33.75 +x_0=0 +y_0=0 +datum=NAD27 +units=m +no_defs "
     $ mode : chr [1:2] "raw" "logical"
     $ bandname: chr "Band 1"
     - attr(*, "class")= chr "ursaMetadata"
    NULL
    > print(a1[])
     name mean sd sum min max n nNA
    [1] Band 1 103.149 58.8975 27304701 0 255 264710 0
    > close(a1)
    > fname2 <- system.file("pictures/test_envi_class.envi",package="rgdal")
    > message(fname2)
    /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rgdal/pictures/test_envi_class.envi
    > b1 <- open_gdal(fname2)
    > b2 <- open_envi(fname2)
    Warning in file("/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rgdal/pictures/test_envi_class.envi", :
     cannot open file '/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rgdal/pictures/test_envi_class.envi': Read-only file system
    Error in file("/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rgdal/pictures/test_envi_class.envi", :
     cannot open the connection
    Calls: open_envi -> do.call -> file
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 3.8.8
Check: examples
Result: ERROR
    Running examples in ‘ursa-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: open_gdal
    > ### Title: Open GDAL file
    > ### Aliases: open_gdal ursa_open
    > ### Keywords: connection
    >
    > ### ** Examples
    >
    > session_grid(NULL)
    > fname1 <- system.file("pictures/cea.tif",package="rgdal")
    > message(fname1)
    /tmp/RtmpBN9cQ7/RLIBS_8a91ff17f53/rgdal/pictures/cea.tif
    > a1 <- open_gdal(fname1)
    > print(a1)
    List of 11
     $ columns : int 514
     $ rows : int 515
     $ resx : num 60
     $ resy : num 60
     $ minx : num -28493
     $ maxx : num 2358
     $ miny : num 4224973
     $ maxy : num 4255885
     $ proj4 : chr "+proj=cea +lon_0=-117.333333333333 +lat_ts=33.75 +x_0=0 +y_0=0 +datum=NAD27 +units=m +no_defs "
     $ mode : chr [1:2] "raw" "logical"
     $ bandname: chr "Band 1"
     - attr(*, "class")= chr "ursaMetadata"
    NULL
    > print(a1[])
     name mean sd sum min max n nNA
    [1] Band 1 103.149 58.8975 27304701 0 255 264710 0
    > close(a1)
    > fname2 <- system.file("pictures/test_envi_class.envi",package="rgdal")
    > message(fname2)
    /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rgdal/pictures/test_envi_class.envi
    > b1 <- open_gdal(fname2)
    > b2 <- open_envi(fname2)
    Warning in file("/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rgdal/pictures/test_envi_class.envi", :
     cannot open file '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rgdal/pictures/test_envi_class.envi': Read-only file system
    Error in file("/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rgdal/pictures/test_envi_class.envi", :
     cannot open the connection
    Calls: open_envi -> do.call -> file
    Execution halted
Flavor: r-patched-linux-x86_64

Version: 3.8.8
Check: examples
Result: ERROR
    Running examples in ‘ursa-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: focal_median
    > ### Title: Median spatial filter for image
    > ### Aliases: focal_median
    > ### Keywords: spatial
    >
    > ### ** Examples
    >
    > session_grid(NULL)
    > a <- ursa_dummy(1,mul=1/8,elements=0,bandname="src")
    > a[a<80] <- NA
    > bF <- c(fillNA.F=focal_median(a[1],size=5,cover=0.5,fillNA=FALSE))
    > bT <- c(fillNA.T=focal_median(a[1],size=5,cover=0.5,fillNA=TRUE))
    > print(c(diff=bT-bF))
     name mean sd sum min max n nNA
    [1] diff 0 0 0 0 0 1448 680
    > d <- c(a,bF,bT)
    > print(d)
     name mean sd sum min max n nNA
    [1] src 166.996 51.8000 241810 80.1129 254.982 1448 680
    [2] fillNA.F 168.790 11.5996 244408 98.2269 206.501 1448 680
    [3] fillNA.T 169.015 11.8619 359664 98.0943 206.501 2128 0
    > display(d)
    Use 'session_pngviewer(TRUE)'
    to open '/tmp/Rtmp4faWK6/___ursa09_5c3b.png' in external software.
    
     *** caught segfault ***
    address ad55800c, cause 'memory not mapped'
    
    Traceback:
     1: .C(...)
     2: .Cursa("internalMargin", x = as.numeric(x), dim = as.integer(dimx), indr = integer(dimx[1]), indc = integer(dimx[2]), NAOK = TRUE)
     3: .crop("/tmp/Rtmp4faWK6/___ursa09_5c3b.png", 5L, FALSE)
     4: do.call(paste0(".", kind), list(fileout, border, verbose))
     5: .compose_close(kind = kind, border = border, bpp = bpp, execute = execute, verbose = verbose)
     6: compose_close(...)
     7: display_brick(obj, ...)
     8: display(d)
    An irrecoverable exception occurred. R is aborting now ...
Flavor: r-patched-solaris-x86

Version: 3.8.8
Check: examples
Result: ERROR
    Running examples in ‘ursa-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: open_gdal
    > ### Title: Open GDAL file
    > ### Aliases: open_gdal ursa_open
    > ### Keywords: connection
    >
    > ### ** Examples
    >
    > session_grid(NULL)
    > fname1 <- system.file("pictures/cea.tif",package="rgdal")
    > message(fname1)
    /tmp/Rtmp65PTvM/RLIBS_4fc3762055e8/rgdal/pictures/cea.tif
    > a1 <- open_gdal(fname1)
    > print(a1)
    List of 11
     $ columns : int 514
     $ rows : int 515
     $ resx : num 60
     $ resy : num 60
     $ minx : num -28493
     $ maxx : num 2358
     $ miny : num 4224973
     $ maxy : num 4255885
     $ proj4 : chr "+proj=cea +lon_0=-117.333333333333 +lat_ts=33.75 +x_0=0 +y_0=0 +datum=NAD27 +units=m +no_defs "
     $ mode : chr [1:2] "raw" "logical"
     $ bandname: chr "Band 1"
     - attr(*, "class")= chr "ursaMetadata"
    NULL
    > print(a1[])
     name mean sd sum min max n nNA
    [1] Band 1 103.149 58.8975 27304701 0 255 264710 0
    > close(a1)
    > fname2 <- system.file("pictures/test_envi_class.envi",package="rgdal")
    > message(fname2)
    /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/rgdal/pictures/test_envi_class.envi
    > b1 <- open_gdal(fname2)
    > b2 <- open_envi(fname2)
    Warning in file("/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/rgdal/pictures/test_envi_class.envi", :
     cannot open file '/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/rgdal/pictures/test_envi_class.envi': Read-only file system
    Error in file("/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/rgdal/pictures/test_envi_class.envi", :
     cannot open the connection
    Calls: open_envi -> do.call -> file
    Execution halted
Flavor: r-release-linux-x86_64