Running ‘aggregate.R’
  Comparing ‘aggregate.Rout’ to ‘aggregate.Rout.save’ ...4c4
< Linking to GEOS 3.7.1, GDAL 2.3.2, PROJ 5.2.0
---
> Linking to GEOS 3.7.1, GDAL 2.4.2, PROJ 5.2.0
  Running ‘cast.R’
  Comparing ‘cast.Rout’ to ‘cast.Rout.save’ ... OK
  Running ‘crs.R’
  Comparing ‘crs.Rout’ to ‘crs.Rout.save’ ...81,86d80
< > suppressWarnings(
< +   sf_project("+proj=longlat", "+proj=lcc +lat_1=30 +lat_2=60", cbind(c(0,0),c(-80,-90)), keep = TRUE)
< + )
<      [,1]      [,2]
< [1,]    0 -53554590
< [2,]  Inf       Inf
96c90
< > if (Sys.getenv("USER") %in% c("edzer", "travis")) { # causes memory leaks:
---
> > if (Sys.getenv("USER") %in% c("edzer", "travis")) { # memory leaks:
99a94,97
> Error in CPL_proj_direct(as.character(c(from[1], to[1])), as.matrix(pts)) : 
>   unknown projection id
> Error in CPL_proj_direct(as.character(c(from[1], to[1])), as.matrix(pts)) : 
>   unknown projection id
120,121d117
< > 
< > 
  Running ‘dist.R’
  Comparing ‘dist.Rout’ to ‘dist.Rout.save’ ...81,82c81,82
< MULTIPOINT ((0 0.5))
< MULTIPOINT ((0.5 0), (1.5 0), (2.5 0), (3.5 0),...
---
> MULTIPOINT (0 0.5)
> MULTIPOINT (0.5 0, 1.5 0, 2.5 0, 3.5 0, 4.5 0, ...
100,101c100,101
< MULTIPOINT ((0 501.4646), (0 1504.394), (0 2507...
< MULTIPOINT ((505.9977 0), (1517.993 0), (2529.9...
---
> MULTIPOINT (0 501.4646, 0 1504.394, 0 2507.323,...
> MULTIPOINT (505.9977 0, 1517.993 0, 2529.988 0,...
  Running ‘dplyr.R’ [6s/14s]
  Comparing ‘dplyr.Rout’ to ‘dplyr.Rout.save’ ... OK
  Running ‘empty.R’
  Comparing ‘empty.Rout’ to ‘empty.Rout.save’ ... OK
  Running ‘gdal_geom.R’
  Comparing ‘gdal_geom.Rout’ to ‘gdal_geom.Rout.save’ ...108c108
< GDAL has 85 drivers
---
> GDAL has 88 drivers
242d241
< z_range:        zmin: 0 zmax: 0
  Running ‘geos.R’ [13s/32s]
  Comparing ‘geos.Rout’ to ‘geos.Rout.save’ ... OK
  Running ‘graticule.R’ [4s/12s]
  Comparing ‘graticule.Rout’ to ‘graticule.Rout.save’ ... OK
  Running ‘grid.R’
  Comparing ‘grid.Rout’ to ‘grid.Rout.save’ ... OK
  Running ‘maps.R’
  Comparing ‘maps.Rout’ to ‘maps.Rout.save’ ... OK
  Running ‘plot.R’ [12s/27s]
  Comparing ‘plot.Rout’ to ‘plot.Rout.save’ ... OK
  Running ‘read.R’
  Comparing ‘read.Rout’ to ‘read.Rout.save’ ...39c39,40
< [1] "1028678842"
---
> [1] 1028678842
> Levels: 1028678842
329c330
< Reading layer `Parcely' from data source `/data/gannet/ripley/R/packages/tests-clang/sf.Rcheck/sf/gml/20170930_OB_530964_UKSH.xml.gz' using driver `GML'
---
> Reading layer `Parcely' from data source `/home/edzer/git/sf.Rcheck/sf/gml/20170930_OB_530964_UKSH.xml.gz' using driver `GML'
347c348
< Reading layer `Parcely' from data source `/data/gannet/ripley/R/packages/tests-clang/sf.Rcheck/sf/gml/20170930_OB_530964_UKSH.xml.gz' using driver `GML'
---
> Reading layer `Parcely' from data source `/home/edzer/git/sf.Rcheck/sf/gml/20170930_OB_530964_UKSH.xml.gz' using driver `GML'
377c378
< Reading layer `tst__' from data source `/data/gannet/ripley/R/packages/tests-clang/sf.Rcheck/tests/tst__.gpkg' using driver `GPKG'
---
> Reading layer `tst__' from data source `/home/edzer/git/sf.Rcheck/tests/tst__.gpkg' using driver `GPKG'
  Running ‘roundtrip.R’ [10s/22s]
  Comparing ‘roundtrip.Rout’ to ‘roundtrip.Rout.save’ ... OK
  Running ‘sample.R’
  Comparing ‘sample.Rout’ to ‘sample.Rout.save’ ... OK
  Running ‘sfc.R’ [10s/19s]
  Comparing ‘sfc.Rout’ to ‘sfc.Rout.save’ ...206c206
< MULTIPOINT ((0 1))
---
> MULTIPOINT (0 1)
213c213
< MULTIPOINT ((0 1), (2 2))
---
> MULTIPOINT (0 1, 2 2)
221c221
< MULTIPOINT ((0 1), (2 2))
---
> MULTIPOINT (0 1, 2 2)
223c223
< MULTIPOINT ((0 1))
---
> MULTIPOINT (0 1)
290,291c290,291
< MULTIPOINT ((0 1))
< MULTIPOINT ((0 1))
---
> MULTIPOINT (0 1)
> MULTIPOINT (0 1)
344c344
< MULTIPOINT ((0 1))
---
> MULTIPOINT (0 1)
388c388
< "3.7.1" "2.3.2" "5.2.0" 
---
> "3.7.1" "2.4.2" "5.2.0" 
468,469c468,469
<  $ NAME     : chr  "Ashe" "Alleghany" "Surry" "Currituck" ...
<  $ FIPS     : chr  "37009" "37005" "37171" "37053" ...
---
>  $ NAME     : Factor w/ 100 levels "Alamance","Alexander",..: 5 3 86 27 66 46 15 37 93 85 ...
>  $ FIPS     : Factor w/ 100 levels "37001","37003",..: 5 3 86 27 66 46 15 37 93 85 ...
705c705
< Reading layer `nc' from data source `/data/gannet/ripley/R/packages/tests-clang/sf.Rcheck/sf/shape/nc.shp' using driver `ESRI Shapefile'
---
> Reading layer `nc' from data source `/home/edzer/git/sf.Rcheck/sf/shape/nc.shp' using driver `ESRI Shapefile'
820c820
< MULTIPOINT ((48.8473 9.37328), (143.823 27.1614...
---
> MULTIPOINT (48.8473 9.37328, 143.823 27.1614, -...
834,836c834,836
< MULTIPOINT ((0 0.302591), (0 0.251439), (0 0.22...
< MULTIPOINT ((0.0914728 0), (0.073852 0), (0.003...
< MULTIPOINT ((0.0488222 1), (0.0716508 1), (0.08...
---
> MULTIPOINT (0 0.302591, 0 0.251439, 0 0.223373,...
> MULTIPOINT (0.0914728 0, 0.073852 0, 0.00320272...
> MULTIPOINT (0.0488222 1, 0.0716508 1, 0.0897947...
861,862c861,862
< MULTIPOINT ((-81.3189 36.4974), (-81.4017 36.57...
< MULTIPOINT ((-80.9809 36.3787), (-81.1251 36.42...
---
> MULTIPOINT (-81.3189 36.4974, -81.4017 36.5759,...
> MULTIPOINT (-80.9809 36.3787, -81.1251 36.4256,...
870,872c870,872
< MULTIPOINT ((0 0.00175127), (0 0.0167514), (0 0...
< MULTIPOINT ((0.00675965 0), (0.0217598 0), (0.0...
< MULTIPOINT ((0.0117605 1), (0.0267606 1), (0.04...
---
> MULTIPOINT (0 0.00175127, 0 0.0167514, 0 0.0317...
> MULTIPOINT (0.00675965 0, 0.0217598 0, 0.036759...
> MULTIPOINT (0.0117605 1, 0.0267606 1, 0.0417608...
  Running ‘sfg.R’
  Comparing ‘sfg.Rout’ to ‘sfg.Rout.save’ ... OK
  Running ‘spatstat.R’
  Comparing ‘spatstat.Rout’ to ‘spatstat.Rout.save’ ...205c205
< Reading layer `nc.gpkg' from data source `/data/gannet/ripley/R/packages/tests-clang/sf.Rcheck/sf/gpkg/nc.gpkg' using driver `GPKG'
---
> Reading layer `nc.gpkg' from data source `/home/edzer/git/sf.Rcheck/sf/gpkg/nc.gpkg' using driver `GPKG'
269c269
< > (x = st_as_sf(as.psp(sf)))
---
> > st_as_sf(as.psp(sf))
283,297d282
< > (y = st_as_sfc(as.psp(sf)))
< Geometry set for 6 features 
< geometry type:  GEOMETRY
< dimension:      XY
< bbox:           xmin: 0 ymin: 0 xmax: 4 ymax: 3
< epsg (SRID):    NA
< proj4string:    NA
< First 5 geometries:
< POLYGON ((0 0, 4 0, 4 3, 0 3, 0 0))
< LINESTRING (0 0, 1 1)
< LINESTRING (1 1, 2 0)
< LINESTRING (0 0, 1 1)
< LINESTRING (1 1, 2 0)
< > all.equal(st_geometry(x), y)
< [1] TRUE
  Running ‘stars.R’
  Comparing ‘stars.Rout’ to ‘stars.Rout.save’ ...121c121
< Reading layer `nc.gpkg' from data source `/data/gannet/ripley/R/packages/tests-clang/sf.Rcheck/sf/gpkg/nc.gpkg' using driver `GPKG'
---
> Reading layer `nc.gpkg' from data source `/home/edzer/git/sf.Rcheck/sf/gpkg/nc.gpkg' using driver `GPKG'
138c138
<  NA's   :30904  
---
>  NA's   :30726  
141,143c141,143
< x    1 461 -84.3239  0.0192484 +proj=longlat +datum=NAD2... FALSE   NULL [x]
< y    1 141  36.5896 -0.0192484 +proj=longlat +datum=NAD2... FALSE   NULL [y]
< Simple feature collection with 34097 features and 1 field
---
> x    1 360 -84.3239  0.0246302 +proj=longlat +datum=NAD2... FALSE   NULL [x]
> y    1 180  36.5896 -0.0150425 +proj=longlat +datum=NAD2... FALSE   NULL [y]
> Simple feature collection with 34074 features and 1 field
146c146
< bbox:           xmin: -84.32385 ymin: 33.87563 xmax: -75.45034 ymax: 36.58965
---
> bbox:           xmin: -84.32385 ymin: 33.88199 xmax: -75.45698 ymax: 36.58965
151,161c151,161
< 1  0.114 POLYGON ((-81.66757 36.5896...
< 2  0.114 POLYGON ((-81.64833 36.5896...
< 3  0.114 POLYGON ((-81.62908 36.5896...
< 4  0.114 POLYGON ((-81.60983 36.5896...
< 5  0.114 POLYGON ((-81.59058 36.5896...
< 6  0.114 POLYGON ((-81.57133 36.5896...
< 7  0.114 POLYGON ((-81.55208 36.5896...
< 8  0.114 POLYGON ((-81.53283 36.5896...
< 9  0.114 POLYGON ((-81.51359 36.5896...
< 10 0.114 POLYGON ((-81.49434 36.5896...
< Simple feature collection with 34097 features and 1 field
---
> 1  0.114 POLYGON ((-81.66379 36.5896...
> 2  0.114 POLYGON ((-81.63916 36.5896...
> 3  0.114 POLYGON ((-81.61453 36.5896...
> 4  0.114 POLYGON ((-81.5899 36.58965...
> 5  0.114 POLYGON ((-81.56527 36.5896...
> 6  0.114 POLYGON ((-81.54064 36.5896...
> 7  0.114 POLYGON ((-81.68842 36.5746...
> 8  0.114 POLYGON ((-81.66379 36.5746...
> 9  0.114 POLYGON ((-81.63916 36.5746...
> 10 0.114 POLYGON ((-81.61453 36.5746...
> Simple feature collection with 34074 features and 1 field
164c164
< bbox:           xmin: -84.32385 ymin: 33.87563 xmax: -75.45034 ymax: 36.58965
---
> bbox:           xmin: -84.32385 ymin: 33.88199 xmax: -75.45698 ymax: 36.58965
169,179c169,179
< 1  0.114 POLYGON ((-81.66757 36.5896...
< 2  0.114 POLYGON ((-81.64833 36.5896...
< 3  0.114 POLYGON ((-81.62908 36.5896...
< 4  0.114 POLYGON ((-81.60983 36.5896...
< 5  0.114 POLYGON ((-81.59058 36.5896...
< 6  0.114 POLYGON ((-81.57133 36.5896...
< 7  0.114 POLYGON ((-81.55208 36.5896...
< 8  0.114 POLYGON ((-81.53283 36.5896...
< 9  0.114 POLYGON ((-81.51359 36.5896...
< 10 0.114 POLYGON ((-81.49434 36.5896...
< Simple feature collection with 34097 features and 1 field
---
> 1  0.114 POLYGON ((-81.66379 36.5896...
> 2  0.114 POLYGON ((-81.63916 36.5896...
> 3  0.114 POLYGON ((-81.61453 36.5896...
> 4  0.114 POLYGON ((-81.5899 36.58965...
> 5  0.114 POLYGON ((-81.56527 36.5896...
> 6  0.114 POLYGON ((-81.54064 36.5896...
> 7  0.114 POLYGON ((-81.68842 36.5746...
> 8  0.114 POLYGON ((-81.66379 36.5746...
> 9  0.114 POLYGON ((-81.63916 36.5746...
> 10 0.114 POLYGON ((-81.61453 36.5746...
> Simple feature collection with 34074 features and 1 field
182c182
< bbox:           xmin: -84.31423 ymin: 33.88525 xmax: -75.45997 ymax: 36.58003
---
> bbox:           xmin: -84.31154 ymin: 33.88951 xmax: -75.46929 ymax: 36.58213
187,196c187,200
< 1  0.114 POINT (-81.65795 36.58003)
< 2  0.114  POINT (-81.6387 36.58003)
< 3  0.114 POINT (-81.61945 36.58003)
< 4  0.114  POINT (-81.6002 36.58003)
< 5  0.114 POINT (-81.58096 36.58003)
< 6  0.114 POINT (-81.56171 36.58003)
< 7  0.114 POINT (-81.54246 36.58003)
< 8  0.114 POINT (-81.52321 36.58003)
< 9  0.114 POINT (-81.50396 36.58003)
< 10 0.114 POINT (-81.48471 36.58003)
---
> 1  0.114 POINT (-81.65148 36.58213)
> 2  0.114 POINT (-81.62684 36.58213)
> 3  0.114 POINT (-81.60221 36.58213)
> 4  0.114 POINT (-81.57758 36.58213)
> 5  0.114 POINT (-81.55295 36.58213)
> 6  0.114 POINT (-81.52832 36.58213)
> 7  0.114 POINT (-81.67611 36.56709)
> 8  0.114 POINT (-81.65148 36.56709)
> 9  0.114 POINT (-81.62684 36.56709)
> 10 0.114 POINT (-81.60221 36.56709)
> ================================================================================
> ================================================================================
> ================================================================================
> ================================================================================
  Running ‘testthat.R’ [13s/20s]
  Running ‘units.R’
  Comparing ‘units.Rout’ to ‘units.Rout.save’ ... OK
  Running ‘wkb.R’
  Comparing ‘wkb.Rout’ to ‘wkb.Rout.save’ ... OK
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > suppressPackageStartupMessages(library(sf))
  > 
  > test_check("sf")
  Cannot open layer foo
  Reading layer `nospatial' from data source `/data/gannet/ripley/R/packages/tests-clang/sf.Rcheck/sf/gpkg/nospatial.gpkg' using driver `GPKG'
  Reading layer `nospatial' from data source `/data/gannet/ripley/R/packages/tests-clang/sf.Rcheck/sf/gpkg/nospatial.gpkg' using driver `GPKG'
  ── 1. Failure: we can subset sf objects (@test_sf.R#7)  ────────────────────────
  s1[[1]] not equal to factor(c("x", "y")).
  Types not compatible: character is not integer
  
  OGR: Unsupported geometry type
  Reading layer `nc' from data source `/data/gannet/ripley/R/packages/tests-clang/sf.Rcheck/sf/shape/nc.shp' using driver `ESRI Shapefile'
  Simple feature collection with 100 features and 14 fields
  geometry type:  MULTIPOLYGON
  dimension:      XY
  bbox:           xmin: -84.32385 ymin: 33.88199 xmax: -75.45698 ymax: 36.58965
  epsg (SRID):    4267
  proj4string:    +proj=longlat +datum=NAD27 +no_defs
  Failed to create feature 1 in x
  Failed to create feature 1 in x
  Reading layer `storms_xyzm' from data source `/data/gannet/ripley/R/packages/tests-clang/sf.Rcheck/sf/shape/storms_xyzm.shp' using driver `ESRI Shapefile'
  Simple feature collection with 71 features and 0 fields
  geometry type:  LINESTRING
  dimension:      XYM
  bbox:           xmin: -102.2 ymin: 8.3 xmax: 0 ymax: 59.5
  m_range:        zmin: 924 zmax: 1017
  epsg (SRID):    NA
  proj4string:    NA
  Reading layer `storms_xyz' from data source `/data/gannet/ripley/R/packages/tests-clang/sf.Rcheck/sf/shape/storms_xyz.shp' using driver `ESRI Shapefile'
  Simple feature collection with 71 features and 0 fields
  geometry type:  LINESTRING
  dimension:      XYZ
  bbox:           xmin: -102.2 ymin: 8.3 xmax: 0 ymax: 59.5
  z_range:        zmin: 924 zmax: 1017
  epsg (SRID):    NA
  proj4string:    NA
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 719 | SKIPPED: 60 | WARNINGS: 4 | FAILED: 1 ]
  1. Failure: we can subset sf objects (@test_sf.R#7) 
  
  Error: testthat unit tests failed
  Execution halted