CRAN Package Check Results for Package gpclib

Last updated on 2023-04-05 10:51:20 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.5-6 7.02 27.67 34.69 ERROR
r-devel-linux-x86_64-debian-gcc 1.5-6 5.70 21.89 27.59 ERROR
r-devel-linux-x86_64-fedora-clang 1.5-6 45.56 ERROR
r-devel-linux-x86_64-fedora-gcc 1.5-6 44.44 ERROR
r-devel-windows-x86_64 1.5-6 12.00 66.00 78.00 ERROR
r-patched-linux-x86_64 1.5-6 6.78 26.53 33.31 ERROR
r-release-linux-x86_64 1.5-6 5.32 28.40 33.72 OK
r-release-macos-arm64 1.5-6 26.00 OK
r-release-macos-x86_64 1.5-6 26.00 OK
r-release-windows-x86_64 1.5-6 17.00 66.00 83.00 OK
r-oldrel-macos-arm64 1.5-6 24.00 OK
r-oldrel-macos-x86_64 1.5-6 37.00 OK
r-oldrel-windows-ix86+x86_64 1.5-6 20.00 51.00 71.00 OK

Check Details

Version: 1.5-6
Check: examples
Result: ERROR
    Running examples in ‘gpclib-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: gpc.poly-class
    > ### Title: Class "gpc.poly"
    > ### Aliases: gpc.poly-class [,gpc.poly,ANY,ANY-method [,gpc.poly-method
    > ### append.poly,gpc.poly,gpc.poly-method area.poly,gpc.poly-method
    > ### coerce,matrix,gpc.poly-method coerce,data.frame,gpc.poly-method
    > ### coerce,gpc.poly,matrix-method coerce,gpc.poly,numeric-method
    > ### coerce,numeric,gpc.poly-method coerce,list,gpc.poly-method
    > ### get.bbox,gpc.poly-method get.pts,gpc.poly-method
    > ### intersect,gpc.poly,gpc.poly-method plot,gpc.poly-method
    > ### scale.poly,gpc.poly-method setdiff,gpc.poly,gpc.poly-method
    > ### show,gpc.poly-method union,gpc.poly,gpc.poly-method
    > ### tristrip,gpc.poly-method triangulate,gpc.poly-method
    > ### Keywords: classes
    >
    > ### ** Examples
    >
    > ## Make some random polygons
    > set.seed(100)
    > a <- cbind(rnorm(100), rnorm(100))
    > a <- a[chull(a), ]
    >
    > ## Convert `a' from matrix to "gpc.poly"
    > a <- as(a, "gpc.poly")
    >
    > b <- cbind(rnorm(100), rnorm(100))
    > b <- as(b[chull(b), ], "gpc.poly")
    >
    > ## More complex polygons with an intersection
    > p1 <- read.polyfile(system.file("poly-ex/ex-poly1.txt", package = "gpclib"))
    > p2 <- read.polyfile(system.file("poly-ex/ex-poly2.txt", package = "gpclib"))
    >
    > ## Plot both polygons and highlight their intersection in red
    > plot(append.poly(p1, p2))
    > plot(intersect(p1, p2), poly.args = list(col = 2), add = TRUE)
    >
    > ## Highlight the difference p1 \ p2 in green
    > plot(setdiff(p1, p2), poly.args = list(col = 3), add = TRUE)
    >
    > ## Highlight the difference p2 \ p1 in blue
    > plot(setdiff(p2, p1), poly.args = list(col = 4), add = TRUE)
    >
    > ## Plot the union of the two polygons
    > plot(union(p1, p2))
    Error in h(simpleError(msg, call)) :
     error in evaluating the argument 'x' in selecting a method for function 'plot': DLL requires the use of native symbols
    Calls: plot -> union -> union -> .handleSimpleError -> h
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64

Version: 1.5-6
Check: tests
Result: ERROR
     Running ‘reg-tests.R’ [1s/1s]
    Running the tests in ‘tests/reg-tests.R’ failed.
    Complete output:
     > suppressMessages(library(gpclib))
     >
     > ## Make some random polygons
     > set.seed(100)
     > a <- cbind(rnorm(100), rnorm(100))
     > a <- a[chull(a), ]
     >
     > ## Convert `a' from matrix to "gpc.poly"
     > a <- as(a, "gpc.poly")
     > show(a)
     GPC Polygon
     Num. Contours: 1
     Num. Vertices: 9
     BBox (X): -2.271925 --> 2.581959
     BBox (Y): -2.136494 --> 2.1686
     >
     > b <- cbind(rnorm(100), rnorm(100))
     > b <- as(b[chull(b), ], "gpc.poly")
     > show(b)
     GPC Polygon
     Num. Contours: 1
     Num. Vertices: 9
     BBox (X): -3.020814 --> 2.727888
     BBox (Y): -2.676379 --> 3.304151
     >
     > ## More complex polygons with an intersection
     > p1 <- read.polyfile(system.file("poly-ex/ex-poly1.txt", package = "gpclib"))
     > p2 <- read.polyfile(system.file("poly-ex/ex-poly2.txt", package = "gpclib"))
     >
     > ## Plot both polygons and highlight their intersection in red
     > plot(app <- append.poly(p1, p2))
     > show(app)
     GPC Polygon
     Num. Contours: 2
     BBox (X): 316.1636 --> 319.2698
     BBox (Y): 91.66837 --> 93.8952
     > plot(int <- intersect(p1, p2), poly.args = list(col = 2), add = TRUE)
     > show(int)
     GPC Polygon
     Num. Contours: 2
     BBox (X): 317.0437 --> 318.0591
     BBox (Y): 91.81092 --> 93.14354
     >
     > ## Highlight the difference p1 \ p2 in green
     > plot(sdif <- setdiff(p1, p2), poly.args = list(col = 3), add = TRUE)
     > show(sdif)
     GPC Polygon
     Num. Contours: 1
     Num. Vertices: 112
     BBox (X): 316.1636 --> 317.9963
     BBox (Y): 91.66837 --> 93.8952
     >
     > ## Highlight the difference p2 \ p1 in blue
     > plot(sdif <- setdiff(p2, p1), poly.args = list(col = 4), add = TRUE)
     > str(sdif)
     Formal class 'gpc.poly' [package "gpclib"] with 1 slot
     ..@ pts:List of 1
     .. ..$ :List of 3
     .. .. ..$ x : num [1:71] 319 319 319 319 319 ...
     .. .. ..$ y : num [1:71] 93.3 93.2 93 92.9 92.8 ...
     .. .. ..$ hole: logi FALSE
     >
     > ## Plot the union of the two polygons
     > plot(un <- union(p1, p2))
     Error in h(simpleError(msg, call)) :
     error in evaluating the argument 'x' in selecting a method for function 'plot': DLL requires the use of native symbols
     Calls: plot -> union -> union -> .handleSimpleError -> h
     Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-patched-linux-x86_64

Version: 1.5-6
Check: tests
Result: ERROR
     Running ‘reg-tests.R’ [0s/1s]
    Running the tests in ‘tests/reg-tests.R’ failed.
    Complete output:
     > suppressMessages(library(gpclib))
     >
     > ## Make some random polygons
     > set.seed(100)
     > a <- cbind(rnorm(100), rnorm(100))
     > a <- a[chull(a), ]
     >
     > ## Convert `a' from matrix to "gpc.poly"
     > a <- as(a, "gpc.poly")
     > show(a)
     GPC Polygon
     Num. Contours: 1
     Num. Vertices: 9
     BBox (X): -2.271925 --> 2.581959
     BBox (Y): -2.136494 --> 2.1686
     >
     > b <- cbind(rnorm(100), rnorm(100))
     > b <- as(b[chull(b), ], "gpc.poly")
     > show(b)
     GPC Polygon
     Num. Contours: 1
     Num. Vertices: 9
     BBox (X): -3.020814 --> 2.727888
     BBox (Y): -2.676379 --> 3.304151
     >
     > ## More complex polygons with an intersection
     > p1 <- read.polyfile(system.file("poly-ex/ex-poly1.txt", package = "gpclib"))
     > p2 <- read.polyfile(system.file("poly-ex/ex-poly2.txt", package = "gpclib"))
     >
     > ## Plot both polygons and highlight their intersection in red
     > plot(app <- append.poly(p1, p2))
     > show(app)
     GPC Polygon
     Num. Contours: 2
     BBox (X): 316.1636 --> 319.2698
     BBox (Y): 91.66837 --> 93.8952
     > plot(int <- intersect(p1, p2), poly.args = list(col = 2), add = TRUE)
     > show(int)
     GPC Polygon
     Num. Contours: 2
     BBox (X): 317.0437 --> 318.0591
     BBox (Y): 91.81092 --> 93.14354
     >
     > ## Highlight the difference p1 \ p2 in green
     > plot(sdif <- setdiff(p1, p2), poly.args = list(col = 3), add = TRUE)
     > show(sdif)
     GPC Polygon
     Num. Contours: 1
     Num. Vertices: 112
     BBox (X): 316.1636 --> 317.9963
     BBox (Y): 91.66837 --> 93.8952
     >
     > ## Highlight the difference p2 \ p1 in blue
     > plot(sdif <- setdiff(p2, p1), poly.args = list(col = 4), add = TRUE)
     > str(sdif)
     Formal class 'gpc.poly' [package "gpclib"] with 1 slot
     ..@ pts:List of 1
     .. ..$ :List of 3
     .. .. ..$ x : num [1:71] 319 319 319 319 319 ...
     .. .. ..$ y : num [1:71] 93.3 93.2 93 92.9 92.8 ...
     .. .. ..$ hole: logi FALSE
     >
     > ## Plot the union of the two polygons
     > plot(un <- union(p1, p2))
     Error in h(simpleError(msg, call)) :
     error in evaluating the argument 'x' in selecting a method for function 'plot': DLL requires the use of native symbols
     Calls: plot -> union -> union -> .handleSimpleError -> h
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.5-6
Check: examples
Result: ERROR
    Running examples in ‘gpclib-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: gpc.poly-class
    > ### Title: Class "gpc.poly"
    > ### Aliases: gpc.poly-class [,gpc.poly,ANY,ANY-method [,gpc.poly-method
    > ### append.poly,gpc.poly,gpc.poly-method area.poly,gpc.poly-method
    > ### coerce,matrix,gpc.poly-method coerce,data.frame,gpc.poly-method
    > ### coerce,gpc.poly,matrix-method coerce,gpc.poly,numeric-method
    > ### coerce,numeric,gpc.poly-method coerce,list,gpc.poly-method
    > ### get.bbox,gpc.poly-method get.pts,gpc.poly-method
    > ### intersect,gpc.poly,gpc.poly-method plot,gpc.poly-method
    > ### scale.poly,gpc.poly-method setdiff,gpc.poly,gpc.poly-method
    > ### show,gpc.poly-method union,gpc.poly,gpc.poly-method
    > ### tristrip,gpc.poly-method triangulate,gpc.poly-method
    > ### Keywords: classes
    >
    > ### ** Examples
    >
    > ## Make some random polygons
    > set.seed(100)
    > a <- cbind(rnorm(100), rnorm(100))
    > a <- a[chull(a), ]
    >
    > ## Convert `a' from matrix to "gpc.poly"
    > a <- as(a, "gpc.poly")
    >
    > b <- cbind(rnorm(100), rnorm(100))
    > b <- as(b[chull(b), ], "gpc.poly")
    >
    > ## More complex polygons with an intersection
    > p1 <- read.polyfile(system.file("poly-ex/ex-poly1.txt", package = "gpclib"))
    > p2 <- read.polyfile(system.file("poly-ex/ex-poly2.txt", package = "gpclib"))
    >
    > ## Plot both polygons and highlight their intersection in red
    > plot(append.poly(p1, p2))
    > plot(intersect(p1, p2), poly.args = list(col = 2), add = TRUE)
    >
    > ## Highlight the difference p1 \ p2 in green
    > plot(setdiff(p1, p2), poly.args = list(col = 3), add = TRUE)
    >
    > ## Highlight the difference p2 \ p1 in blue
    > plot(setdiff(p2, p1), poly.args = list(col = 4), add = TRUE)
    >
    > ## Plot the union of the two polygons
    > plot(union(p1, p2))
    Error in h(simpleError(msg, call)) :
     error in evaluating the argument 'x' in selecting a method for function 'plot': DLL requires the use of native symbols
    Calls: plot -> union -> union -> .handleSimpleError -> h
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 1.5-6
Check: tests
Result: ERROR
     Running ‘reg-tests.R’
    Running the tests in ‘tests/reg-tests.R’ failed.
    Complete output:
     > suppressMessages(library(gpclib))
     >
     > ## Make some random polygons
     > set.seed(100)
     > a <- cbind(rnorm(100), rnorm(100))
     > a <- a[chull(a), ]
     >
     > ## Convert `a' from matrix to "gpc.poly"
     > a <- as(a, "gpc.poly")
     > show(a)
     GPC Polygon
     Num. Contours: 1
     Num. Vertices: 9
     BBox (X): -2.271925 --> 2.581959
     BBox (Y): -2.136494 --> 2.1686
     >
     > b <- cbind(rnorm(100), rnorm(100))
     > b <- as(b[chull(b), ], "gpc.poly")
     > show(b)
     GPC Polygon
     Num. Contours: 1
     Num. Vertices: 9
     BBox (X): -3.020814 --> 2.727888
     BBox (Y): -2.676379 --> 3.304151
     >
     > ## More complex polygons with an intersection
     > p1 <- read.polyfile(system.file("poly-ex/ex-poly1.txt", package = "gpclib"))
     > p2 <- read.polyfile(system.file("poly-ex/ex-poly2.txt", package = "gpclib"))
     >
     > ## Plot both polygons and highlight their intersection in red
     > plot(app <- append.poly(p1, p2))
     > show(app)
     GPC Polygon
     Num. Contours: 2
     BBox (X): 316.1636 --> 319.2698
     BBox (Y): 91.66837 --> 93.8952
     > plot(int <- intersect(p1, p2), poly.args = list(col = 2), add = TRUE)
     > show(int)
     GPC Polygon
     Num. Contours: 2
     BBox (X): 317.0437 --> 318.0591
     BBox (Y): 91.81092 --> 93.14354
     >
     > ## Highlight the difference p1 \ p2 in green
     > plot(sdif <- setdiff(p1, p2), poly.args = list(col = 3), add = TRUE)
     > show(sdif)
     GPC Polygon
     Num. Contours: 1
     Num. Vertices: 112
     BBox (X): 316.1636 --> 317.9963
     BBox (Y): 91.66837 --> 93.8952
     >
     > ## Highlight the difference p2 \ p1 in blue
     > plot(sdif <- setdiff(p2, p1), poly.args = list(col = 4), add = TRUE)
     > str(sdif)
     Formal class 'gpc.poly' [package "gpclib"] with 1 slot
     ..@ pts:List of 1
     .. ..$ :List of 3
     .. .. ..$ x : num [1:71] 319 319 319 319 319 ...
     .. .. ..$ y : num [1:71] 93.3 93.2 93 92.9 92.8 ...
     .. .. ..$ hole: logi FALSE
     >
     > ## Plot the union of the two polygons
     > plot(un <- union(p1, p2))
     Error in h(simpleError(msg, call)) :
     error in evaluating the argument 'x' in selecting a method for function 'plot': DLL requires the use of native symbols
     Calls: plot -> union -> union -> .handleSimpleError -> h
     Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.5-6
Check: tests
Result: ERROR
     Running 'reg-tests.R' [1s]
    Running the tests in 'tests/reg-tests.R' failed.
    Complete output:
     > suppressMessages(library(gpclib))
     >
     > ## Make some random polygons
     > set.seed(100)
     > a <- cbind(rnorm(100), rnorm(100))
     > a <- a[chull(a), ]
     >
     > ## Convert `a' from matrix to "gpc.poly"
     > a <- as(a, "gpc.poly")
     > show(a)
     GPC Polygon
     Num. Contours: 1
     Num. Vertices: 9
     BBox (X): -2.271925 --> 2.581959
     BBox (Y): -2.136494 --> 2.1686
     >
     > b <- cbind(rnorm(100), rnorm(100))
     > b <- as(b[chull(b), ], "gpc.poly")
     > show(b)
     GPC Polygon
     Num. Contours: 1
     Num. Vertices: 9
     BBox (X): -3.020814 --> 2.727888
     BBox (Y): -2.676379 --> 3.304151
     >
     > ## More complex polygons with an intersection
     > p1 <- read.polyfile(system.file("poly-ex/ex-poly1.txt", package = "gpclib"))
     > p2 <- read.polyfile(system.file("poly-ex/ex-poly2.txt", package = "gpclib"))
     >
     > ## Plot both polygons and highlight their intersection in red
     > plot(app <- append.poly(p1, p2))
     > show(app)
     GPC Polygon
     Num. Contours: 2
     BBox (X): 316.1636 --> 319.2698
     BBox (Y): 91.66837 --> 93.8952
     > plot(int <- intersect(p1, p2), poly.args = list(col = 2), add = TRUE)
     > show(int)
     GPC Polygon
     Num. Contours: 2
     BBox (X): 317.0437 --> 318.0591
     BBox (Y): 91.81092 --> 93.14354
     >
     > ## Highlight the difference p1 \ p2 in green
     > plot(sdif <- setdiff(p1, p2), poly.args = list(col = 3), add = TRUE)
     > show(sdif)
     GPC Polygon
     Num. Contours: 1
     Num. Vertices: 112
     BBox (X): 316.1636 --> 317.9963
     BBox (Y): 91.66837 --> 93.8952
     >
     > ## Highlight the difference p2 \ p1 in blue
     > plot(sdif <- setdiff(p2, p1), poly.args = list(col = 4), add = TRUE)
     > str(sdif)
     Formal class 'gpc.poly' [package "gpclib"] with 1 slot
     ..@ pts:List of 1
     .. ..$ :List of 3
     .. .. ..$ x : num [1:71] 319 319 319 319 319 ...
     .. .. ..$ y : num [1:71] 93.3 93.2 93 92.9 92.8 ...
     .. .. ..$ hole: logi FALSE
     >
     > ## Plot the union of the two polygons
     > plot(un <- union(p1, p2))
     Error in h(simpleError(msg, call)) :
     error in evaluating the argument 'x' in selecting a method for function 'plot': DLL requires the use of native symbols
     Calls: plot -> union -> union -> .handleSimpleError -> h
     Execution halted
Flavor: r-devel-windows-x86_64