Running ‘aggregate.R’
  Comparing ‘aggregate.Rout’ to ‘aggregate.Rout.save’ ...4c4
< Linking to GEOS 3.6.1, GDAL 2.1.3, proj.4 4.9.3
---
> Linking to GEOS 3.5.1, GDAL 2.2.1, proj.4 4.9.3
  Running ‘cast.R’
  Comparing ‘cast.Rout’ to ‘cast.Rout.save’ ... OK
  Running ‘crs.R’
  Comparing ‘crs.Rout’ to ‘crs.Rout.save’ ...8,9c8
<   GDAL Error 6: EPSG PCS/GCS code -1 not found in EPSG support files.  Is this a valid
< EPSG coordinate system?
---
>   GDAL Error 6: EPSG PCS/GCS code -1 not found in EPSG support files.  Is this a valid EPSG coordinate system?
14,15c13
<   GDAL Error 6: EPSG PCS/GCS code 999999 not found in EPSG support files.  Is this a valid
< EPSG coordinate system?
---
>   GDAL Error 6: EPSG PCS/GCS code 999999 not found in EPSG support files.  Is this a valid EPSG coordinate system?
  Running ‘dist.R’
  Comparing ‘dist.Rout’ to ‘dist.Rout.save’ ... OK
  Running ‘dplyr.R’
  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’ ...100c100
< GDAL has 78 drivers
---
> GDAL has 80 drivers
  Running ‘geos.R’ [12s/12s]
  Comparing ‘geos.Rout’ to ‘geos.Rout.save’ ... OK
  Running ‘graticule.R’
  Comparing ‘graticule.Rout’ to ‘graticule.Rout.save’ ... OK
  Running ‘grid.R’
  Comparing ‘grid.Rout’ to ‘grid.Rout.save’ ... OK
  Running ‘plot.R’ [13s/13s]
  Comparing ‘plot.Rout’ to ‘plot.Rout.save’ ... OK
  Running ‘read.R’
  Comparing ‘read.Rout’ to ‘read.Rout.save’ ...141c141
< Error in guess_driver(dns) : length(dsn) == 1 is not TRUE
---
> Error : length(dsn) == 1 is not TRUE
334c334
< 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'
352c352
< 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'
  Running ‘roundtrip.R’ [13s/13s]
  Comparing ‘roundtrip.Rout’ to ‘roundtrip.Rout.save’ ...43a44,46
> Warning message:
> In data.row.names(row.names, rowsi, i) :
>   some row.names duplicated: 2,3,5,6,7,8,10,11,12,13,14,15 --> row.names NOT used
  Running ‘sfc.R’
  Comparing ‘sfc.Rout’ to ‘sfc.Rout.save’ ...363,364c363
< Error in st_polygonize.sfc(st_sfc(x)) : 
<   inherits(x, "sfc_LINESTRING") || inherits(x, "sfc_MULTILINESTRING") is not TRUE
---
> Error : inherits(x, "sfc_LINESTRING") || inherits(x, "sfc_MULTILINESTRING") is not TRUE
388c387
< "3.6.1" "2.1.3" "4.9.3" 
---
> "3.5.1" "2.2.1" "4.9.3" 
460c459
< sfc_POINT of length 2; first list element:  'XY' num [1:2] -90 35
---
> sfc_POINT of length 2; first list element: Classes 'XY', 'POINT', 'sfg'  num [1:2] -90 35
702c701
< 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'
  Running ‘sfg.R’
  Comparing ‘sfg.Rout’ to ‘sfg.Rout.save’ ... OK
  Running ‘stars.R’
  Comparing ‘stars.Rout’ to ‘stars.Rout.save’ ...10c10
< [1] "IMAGE_STRUCTURE" ""               
---
> [1] "IMAGE_STRUCTURE"     "DERIVED_SUBDATASETS" ""                   
21,22c21
< Error in gdal_metadata(tif, c("DERIVED_SUBDATASETS")) : 
<   domain_item[1] not found in available metadata domains
---
> [1] 2
  Running ‘testthat.R’
  Running ‘units.R’
  Comparing ‘units.Rout’ to ‘units.Rout.save’ ... OK
  Running ‘wkb.R’
  Comparing ‘wkb.Rout’ to ‘wkb.Rout.save’ ... OK
  Running ‘zzz.R’
  Comparing ‘zzz.Rout’ to ‘zzz.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 `ogr_empty_table' from data source `/data/gannet/ripley/R/packages/tests-clang/sf.Rcheck/sf/gpkg/nospatial.gpkg' using driver `GPKG'
  Simple feature collection with 0 features and 0 fields
  bbox:           xmin: NA ymin: NA xmax: NA ymax: NA
  epsg (SRID):    NA
  proj4string:    NA
  ── 1. Failure: reading non-spatial table works (@test_read.R#163)  ─────────────
  `st_read(system.file("gpkg/nospatial.gpkg", package = "sf"))` did not produce any warnings.
  
  Reading layer `ogr_empty_table' from data source `/data/gannet/ripley/R/packages/tests-clang/sf.Rcheck/sf/gpkg/nospatial.gpkg' using driver `GPKG'
  Simple feature collection with 0 features and 0 fields
  bbox:           xmin: NA ymin: NA xmax: NA ymax: NA
  epsg (SRID):    NA
  proj4string:    NA
  ── 2. Failure: reading non-spatial table works (@test_read.R#167)  ─────────────
  read_sf(system.file("gpkg/nospatial.gpkg", package = "sf")) inherits from `sf/data.frame` not `tbl_df`.
  
  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
  driver `foo' not available.
  Dataset /tmp/RtmpEjhJS4/file30c651849fed.gpkg already exists: remove first, use update=TRUE to append,
  delete_layer=TRUE to delete layer, or delete_dsn=TRUE to remove the entire data source before writing.
  Creating layer . failed.
  Failed to create feature 1 in x
  Failed to create feature 1 in x
  Failed to create feature 1 in x
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 578 SKIPPED: 46 FAILED: 2
  1. Failure: reading non-spatial table works (@test_read.R#163) 
  2. Failure: reading non-spatial table works (@test_read.R#167) 
  
  Error: testthat unit tests failed
  Execution halted