CRAN Package Check Results for Package fieldRS

Last updated on 2019-07-20 17:46:48 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.1 17.94 312.30 330.24 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.1 14.86 253.16 268.02 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.1 385.40 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.1 428.99 ERROR
r-devel-windows-ix86+x86_64 0.2.1 37.00 415.00 452.00 ERROR
r-patched-linux-x86_64 0.2.1 17.32 302.76 320.08 ERROR
r-patched-solaris-x86 0.2.1 625.00 ERROR
r-release-linux-x86_64 0.2.1 14.90 305.65 320.55 ERROR
r-release-windows-ix86+x86_64 0.2.1 39.00 284.00 323.00 ERROR
r-release-osx-x86_64 0.2.1 OK
r-oldrel-windows-ix86+x86_64 0.2.1 27.00 390.00 417.00 ERROR
r-oldrel-osx-x86_64 0.2.1 OK

Check Details

Version: 0.2.1
Check: examples
Result: ERROR
    Running examples in 'fieldRS-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: extractFields
    > ### Title: extractFields
    > ### Aliases: extractFields
    >
    > ### ** Examples
    >
    > {
    +
    + require(raster)
    +
    + # read raster data
    + r <- brick(system.file("extdata", "ndvi.tif", package="fieldRS"))
    +
    + # spatial change labeling
    + or <- ccLabel(r, method="temporal", change.threshold=50)$regions
    +
    + # convert to polygons and plot (simple)
    + ef <- extractFields(or[1:50,1:50, drop=FALSE])
    + plot(ef)
    +
    + # convert to polygons and plot (complex)
    + ef <- extractFields(or[1:50,1:50, drop=FALSE], method="complex")
    + plot(ef, border="red", add=TRUE)
    +
    + # convert to polygons and plot (complex and smoothed)
    + ef <- extractFields(or[1:50,1:50, drop=FALSE], method="complex", smooth.x=TRUE)
    + plot(ef, border="blue", add=TRUE)
    +
    + }
    Loading required package: raster
    Loading required package: sp
    Error in CPL_geos_is_empty(st_geometry(x)) :
     Evaluation error: IllegalArgumentException: Invalid number of points in LinearRing found 3 - must be 0 or >= 4.
    Calls: extractFields ... as_Spatial -> .as_Spatial -> st_is_empty -> CPL_geos_is_empty
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.2.1
Check: examples
Result: ERROR
    Running examples in ‘fieldRS-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: extractFields
    > ### Title: extractFields
    > ### Aliases: extractFields
    >
    > ### ** Examples
    >
    > {
    +
    + require(raster)
    +
    + # read raster data
    + r <- brick(system.file("extdata", "ndvi.tif", package="fieldRS"))
    +
    + # spatial change labeling
    + or <- ccLabel(r, method="temporal", change.threshold=50)$regions
    +
    + # convert to polygons and plot (simple)
    + ef <- extractFields(or[1:50,1:50, drop=FALSE])
    + plot(ef)
    +
    + # convert to polygons and plot (complex)
    + ef <- extractFields(or[1:50,1:50, drop=FALSE], method="complex")
    + plot(ef, border="red", add=TRUE)
    +
    + # convert to polygons and plot (complex and smoothed)
    + ef <- extractFields(or[1:50,1:50, drop=FALSE], method="complex", smooth.x=TRUE)
    + plot(ef, border="blue", add=TRUE)
    +
    + }
    Loading required package: raster
    Loading required package: sp
    Error in CPL_geos_is_empty(st_geometry(x)) :
     Evaluation error: IllegalArgumentException: Invalid number of points in LinearRing found 3 - must be 0 or >= 4.
    Calls: extractFields ... as_Spatial -> .as_Spatial -> st_is_empty -> CPL_geos_is_empty
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-solaris-x86, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64