Running ‘aggregate.R’ [1s/1s]
  Comparing ‘aggregate.Rout’ to ‘aggregate.Rout.save’ ...4c4
< Linking to GEOS 3.7.1, GDAL 2.4.0, PROJ 5.2.0
---
> Linking to GEOS 3.7.0, GDAL 2.3.2, PROJ 5.2.0
  Running ‘cast.R’ [1s/1s]
  Comparing ‘cast.Rout’ to ‘cast.Rout.save’ ... OK
  Running ‘crs.R’ [1s/1s]
  Comparing ‘crs.Rout’ to ‘crs.Rout.save’ ... OK
  Running ‘dist.R’ [2s/2s]
  Comparing ‘dist.Rout’ to ‘dist.Rout.save’ ... OK
  Running ‘dplyr.R’ [5s/5s]
  Comparing ‘dplyr.Rout’ to ‘dplyr.Rout.save’ ... OK
  Running ‘empty.R’ [1s/1s]
  Comparing ‘empty.Rout’ to ‘empty.Rout.save’ ... OK
  Running ‘gdal_geom.R’ [2s/2s]
  Comparing ‘gdal_geom.Rout’ to ‘gdal_geom.Rout.save’ ...106c106
< GDAL has 88 drivers
---
> GDAL has 85 drivers
  Running ‘geos.R’ [10s/10s]
  Comparing ‘geos.Rout’ to ‘geos.Rout.save’ ... OK
  Running ‘graticule.R’ [4s/4s]
  Running ‘grid.R’ [2s/2s]
  Comparing ‘grid.Rout’ to ‘grid.Rout.save’ ... OK
  Running ‘plot.R’ [10s/11s]
  Comparing ‘plot.Rout’ to ‘plot.Rout.save’ ... OK
  Running ‘read.R’ [3s/4s]
  Comparing ‘read.Rout’ to ‘read.Rout.save’ ...336c336
< Reading layer `Parcely' from data source `/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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'
354c354
< Reading layer `Parcely' from data source `/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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'
386c386
< Reading layer `tst__' from data source `/home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/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’ [8s/9s]
  Comparing ‘roundtrip.Rout’ to ‘roundtrip.Rout.save’ ... OK
  Running ‘sfc.R’ [7s/7s]
  Comparing ‘sfc.Rout’ to ‘sfc.Rout.save’ ...388c388
< "3.7.1" "2.4.0" "5.2.0" 
---
> "3.7.0" "2.3.2" "5.2.0" 
702c702
< Reading layer `nc' from data source `/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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'
811c811
< bbox:           xmin: 32.5151 ymin: -52.7577 xmax: 158.155 ymax: 74.44
---
> bbox:           xmin: -15.7773 ymin: -22.4681 xmax: 143.823 ymax: 27.1614
814c814
< MULTIPOINT (158.155 -47.3308, 32.5151 74.44, 48...
---
> MULTIPOINT (48.8473 9.37328, 143.823 27.1614, -...
826c826
< MULTIPOINT (0 0.777635, 0 0.400904, 0 0.858689,...
---
> MULTIPOINT (0 0.302591, 0 0.251439, 0 0.223373,...
831c831
< Geometry set for 29 features 
---
> Geometry set for 30 features 
834c834
< bbox:           xmin: 1216510 ymin: 916982 xmax: 1428880 ymax: 1026650
---
> bbox:           xmin: 1215230 ymin: 935867 xmax: 1428880 ymax: 1031900
837a838,840
> POINT (1215227 1031901)
> POINT (1271918 979879)
> POINT (1264558 935867)
840,842d842
< POINT (1333530 968278)
< POINT (1310838 958645)
< POINT (1332854 982867)
850c850
< bbox:           xmin: -81.5442 ymin: 36.238 xmax: -80.9477 ymax: 36.578
---
> bbox:           xmin: -81.6893 ymin: 36.2492 xmax: -80.914 ymax: 36.583
853,854c853,854
< MULTIPOINT (-81.4288 36.5773, -81.5442 36.2728,...
< MULTIPOINT (-81.026 36.5675, -81 36.3675, -81.3...
---
> MULTIPOINT (-81.3189 36.4974, -81.4017 36.5759,...
> MULTIPOINT (-80.9809 36.3787, -81.1251 36.4256,...
859c859
< bbox:           xmin: 0 ymin: 0 xmax: 0.0932793 ymax: 1
---
> bbox:           xmin: 0 ymin: 0 xmax: 0.0967604 ymax: 1
862,864c862,864
< MULTIPOINT (0 0.0082694, 0 0.0232695, 0 0.03826...
< MULTIPOINT (0.0132778 0, 0.0282779 0, 0.043278 ...
< MULTIPOINT (0.00327853 1, 0.0182787 1, 0.033278...
---
> 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...
868c868
<  [1] 104 107 109  96  96 120  88 105 105 100
---
>  [1] 103 107 109  97  97 119  87 106 103 100
908c908
< bbox:           xmin: 0.00074562 ymin: 1.0715 xmax: 0.00074562 ymax: 1.0715
---
> bbox:           xmin: -0.0070472 ymin: 1.09548 xmax: -0.0070472 ymax: 1.09548
911c911
< POINT (0.00074562 1.0715)
---
> POINT (-0.0070472 1.09548)
  Running ‘sfg.R’ [1s/1s]
  Comparing ‘sfg.Rout’ to ‘sfg.Rout.save’ ... OK
  Running ‘stars.R’ [4s/4s]
  Comparing ‘stars.Rout’ to ‘stars.Rout.save’ ...121c121
< Reading layer `nc.gpkg' from data source `/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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'
  Running ‘testthat.R’ [8s/10s]
  Comparing ‘testthat.Rout’ to ‘testthat.Rout.save’ ...8,9c8,9
< Reading layer `nospatial' from data source `/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/sf/gpkg/nospatial.gpkg' using driver `GPKG'
< Reading layer `nospatial' from data source `/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/sf/gpkg/nospatial.gpkg' using driver `GPKG'
---
> Reading layer `nospatial' from data source `/home/edzer/git/sf.Rcheck/sf/gpkg/nospatial.gpkg' using driver `GPKG'
> Reading layer `nospatial' from data source `/home/edzer/git/sf.Rcheck/sf/gpkg/nospatial.gpkg' using driver `GPKG'
11c11
< Reading layer `nc' from data source `/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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'
19c19
< Dataset /tmp/RtmpxyXkwQ/file5ac714fbbcda.gpkg already exists: remove first, use update=TRUE to append,
---
> Dataset /tmp/Rtmpqy1Eav/file3d17054db2a.gpkg already exists: remove first, use update=TRUE to append,
26c26
< OK: 654 SKIPPED: 54 FAILED: 0
---
> OK: 619 SKIPPED: 53 FAILED: 0
  Running ‘units.R’ [1s/1s]
  Comparing ‘units.Rout’ to ‘units.Rout.save’ ... OK
  Running ‘wkb.R’ [1s/2s]
  Comparing ‘wkb.Rout’ to ‘wkb.Rout.save’ ... OK
  Running ‘zzz.R’ [3s/4s]
  Comparing ‘zzz.Rout’ to ‘zzz.Rout.save’ ... OK
Running the tests in ‘tests/graticule.R’ failed.
Complete output:
  > library(maps)
  > m = map('usa', plot = FALSE, fill = TRUE)
  > suppressPackageStartupMessages(library(sf))
  > m0 <- st_as_sfc(m)
  > m <- st_as_sf(m)
  > 
  > laea = st_crs("+proj=laea +lat_0=30 +lon_0=-95") # Lambert equal area
  > m <- st_transform(st_as_sf(m), laea)
  > 
  > bb = st_bbox(m)
  > bbox = st_linestring(rbind(c( bb[1],bb[2]),c( bb[3],bb[2]),c( bb[3],bb[4]),c( bb[1],bb[4]),c( bb[1],bb[2])))
  > 
  > g = st_graticule(m)
  > plot(m, xlim = 1.2 * c(-2450853.4, 2186391.9))
  > plot(g[1], add = TRUE, col = 'grey')
  > plot(bbox, add = TRUE)
  > points(g$x_start, g$y_start, col = 'red')
  > points(g$x_end, g$y_end, col = 'blue')
  > 
  > invisible(lapply(seq_len(nrow(g)), function(i) {
  + 	if (g$type[i] == "N" && g$x_start[i] - min(g$x_start) < 1000)
  + 		text(g[i,"x_start"], g[i,"y_start"], labels = parse(text = g[i,"degree_label"]), 
  + 			srt = g$angle_start[i], pos = 2, cex = .7)
  + 	if (g$type[i] == "E" && g$y_start[i] - min(g$y_start) < 1000)
  + 		text(g[i,"x_start"], g[i,"y_start"], labels = parse(text = g[i,"degree_label"]), 
  + 			srt = g$angle_start[i] - 90, pos = 1, cex = .7)
  + 	if (g$type[i] == "N" && g$x_end[i] - max(g$x_end) > -1000)
  + 		text(g[i,"x_end"], g[i,"y_end"], labels = parse(text = g[i,"degree_label"]), 
  + 			srt = g$angle_end[i], pos = 4, cex = .7)
  + 	if (g$type[i] == "E" && g$y_end[i] - max(g$y_end) > -1000)
  + 		text(g[i,"x_end"], g[i,"y_end"], labels = parse(text = g[i,"degree_label"]), 
  + 			srt = g$angle_end[i] - 90, pos = 3, cex = .7)
  + }))
  > 
  > plot(m, graticule = st_crs(4326))
  > nc = st_read(system.file("shape/nc.shp", package="sf"), quiet = TRUE)
  > # options(warn=2)
  > g = st_graticule(nc, datum = st_crs(nc))
  > #g = st_graticule(nc)
  > 
  > plot(nc[1], graticule = st_crs(nc))
  > 
  > plot(nc[1], graticule = st_crs(nc), axes = TRUE)
  > 
  > g = st_graticule()
  > 
  > library(ggplot2)
  > if (utils::packageVersion("ggplot2") > "2.2.1") {
  +   ggplot() + geom_sf(data = st_set_crs(nc, NA_crs_)) # NA_crs_ for crs
  + }
  Error in grid.Call.graphics(C_setviewport, vp, TRUE) : 
    VECTOR_ELT() can only be applied to a 'list', not a 'double'
  Calls: <Anonymous> ... lapply -> FUN -> push.vp.viewport -> grid.Call.graphics
  Execution halted