Last updated on 2020-08-07 01:50:12 CEST.
Package | ERROR | OK |
---|---|---|
LearnGeom | 2 | 10 |
Current CRAN status: ERROR: 2, OK: 10
Version: 1.5
Check: examples
Result: ERROR
Running examples in ‘LearnGeom-Ex.R’ failed
The error most likely occurred in:
> ### Name: Rotate
> ### Title: Rotates a geometric object
> ### Aliases: Rotate
>
> ### ** Examples
>
> x_min <- -5
> x_max <- 5
> y_min <- -5
> y_max <- 5
> CoordinatePlane(x_min, x_max, y_min, y_max)
NULL
> P1 <- c(0,0)
> P2 <- c(1,1)
> P3 <- c(2,0)
> Poly <- CreatePolygon(P1, P2, P3)
[1] "Some of the inserted points are collinear. This could lead to a defective polygon."
> Draw(Poly, "blue")
NULL
> fixed <- c(-1,-1)
> angle <- 30
> Poly_rotated <- Rotate(Poly, fixed, angle)
Error in Rotate(Poly, fixed, angle) : object 'object_new' not found
Execution halted
Flavors: r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64