File: ignore_test_using_rgeos.patch

package info (click to toggle)
r-cran-spacetime 1.2-4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,308 kB
  • sloc: sh: 13; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 549 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Skip test using rgeos which is not packaged
Author: Andreas Tille <tille@debian.org>
Last-Update: Fri, 24 Jan 2020 11:34:31 +0100

--- a/tests/rw.R
+++ b/tests/rw.R
@@ -24,11 +24,3 @@ stplot(sttdf[1])
 
 p = Polygon(cbind(x=c(-20,-15,-15,-20,-20),y=c(10,10,15,15,10)))
 pol=SpatialPolygons(list(Polygons(list(p), "ID")))
-suppressPackageStartupMessages(library(rgeos))
-stplot(sttdf[pol])
-names(sttdf[pol]@traj)
-stplot(sttdf[1:2],col=1:2)
-stplot(sttdf[,t0])
-stplot(sttdf[,"2013"])
-stplot(sttdf[pol,"2013"])
-is.null(sttdf[pol,t0])