Running ‘aggregate.R’ [2s/4s]
  Comparing ‘aggregate.Rout’ to ‘aggregate.Rout.save’ ...4c4
< Linking to GEOS 3.9.0, GDAL 3.2.2, PROJ 7.2.1
---
> Linking to GEOS 3.9.0, GDAL 3.2.1, PROJ 7.2.1
  Running ‘cast.R’ [2s/5s]
  Comparing ‘cast.Rout’ to ‘cast.Rout.save’ ... OK
  Running ‘crs.R’ [2s/4s]
  Comparing ‘crs.Rout’ to ‘crs.Rout.save’ ... OK
  Running ‘dist.R’ [2s/5s]
  Comparing ‘dist.Rout’ to ‘dist.Rout.save’ ... OK
  Running ‘dplyr.R’ [6s/14s]
  Comparing ‘dplyr.Rout’ to ‘dplyr.Rout.save’ ... OK
  Running ‘empty.R’ [2s/3s]
  Comparing ‘empty.Rout’ to ‘empty.Rout.save’ ... OK
  Running ‘gdal_geom.R’ [3s/6s]
  Comparing ‘gdal_geom.Rout’ to ‘gdal_geom.Rout.save’ ... OK
  Running ‘geos.R’ [21s/46s]
  Comparing ‘geos.Rout’ to ‘geos.Rout.save’ ... OK
  Running ‘graticule.R’ [4s/9s]
  Comparing ‘graticule.Rout’ to ‘graticule.Rout.save’ ... OK
  Running ‘grid.R’ [2s/5s]
  Comparing ‘grid.Rout’ to ‘grid.Rout.save’ ... OK
  Running ‘maps.R’ [3s/7s]
  Comparing ‘maps.Rout’ to ‘maps.Rout.save’ ... OK
  Running ‘plot.R’ [9s/20s]
  Comparing ‘plot.Rout’ to ‘plot.Rout.save’ ... OK
  Running ‘read.R’ [3s/7s]
  Comparing ‘read.Rout’ to ‘read.Rout.save’ ...318,320d317
< Warning message:
< In CPL_read_ogr(dsn, layer, query, as.character(options), quiet,  :
<   GDAL Message 1: GFS file saving asked, but failed
334,335c331
<   `/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/sf.Rcheck/tests/tst__.gpkg' 
<   using driver `GPKG'
---
>   `/home/edzer/git/sf.Rcheck/tests/tst__.gpkg' using driver `GPKG'
  Running ‘roundtrip.R’ [8s/17s]
  Comparing ‘roundtrip.Rout’ to ‘roundtrip.Rout.save’ ...147,148c147
<   `/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/sf/gpkg/nc.gpkg' 
<   using driver `GPKG'
---
>   `/home/edzer/git/sf.Rcheck/sf/gpkg/nc.gpkg' using driver `GPKG'
  Running ‘s2.R’ [3s/7s]
  Comparing ‘s2.Rout’ to ‘s2.Rout.save’ ...4c4
< Linking to GEOS 3.9.0, GDAL 3.2.2, PROJ 7.2.1
---
> Linking to GEOS 3.9.0, GDAL 3.2.1, PROJ 7.2.1
  Running ‘sample.R’ [2s/4s]
  Comparing ‘sample.Rout’ to ‘sample.Rout.save’ ... OK
  Running ‘sfc.R’ [13s/30s]
  Comparing ‘sfc.Rout’ to ‘sfc.Rout.save’ ...335c335
< "3.9.0" "3.2.2" "7.2.1" 
---
> "3.9.0" "3.2.1" "7.2.1" 
641,643c641
< Reading layer `nc' from data source 
<   `/home/hornik/tmp/R.check/r-devel-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'
  Running ‘sfg.R’ [1s/4s]
  Comparing ‘sfg.Rout’ to ‘sfg.Rout.save’ ... OK
  Running ‘spatstat.R’ [5s/11s]
  Comparing ‘spatstat.Rout’ to ‘spatstat.Rout.save’ ...199,200c199
<   `/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/sf/gpkg/nc.gpkg' 
<   using driver `GPKG'
---
>   `/home/edzer/git/sf.Rcheck/sf/gpkg/nc.gpkg' using driver `GPKG'
  Running ‘stars.R’ [4s/10s]
  Comparing ‘stars.Rout’ to ‘stars.Rout.save’ ...126,127c126
<   `/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/sf/gpkg/nc.gpkg' 
<   using driver `GPKG'
---
>   `/home/edzer/git/sf.Rcheck/sf/gpkg/nc.gpkg' using driver `GPKG'
  Running ‘testthat.R’ [11s/26s]
  Running ‘units.R’ [2s/5s]
  Comparing ‘units.Rout’ to ‘units.Rout.save’ ... OK
  Running ‘wkb.R’ [1s/3s]
  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")
  proj_create: Cannot find proj.db
  proj_as_wkt: Cannot find proj.db
  Coordinate Reference System:
    User input: EPSG:4326 
    wkt:
  GEOGCRS["WGS 84",
      DATUM["World Geodetic System 1984",
          ELLIPSOID["WGS 84",6378137,298.257223563,
              LENGTHUNIT["metre",1]]],
      PRIMEM["Greenwich",0,
          ANGLEUNIT["degree",0.0174532925199433]],
      CS[ellipsoidal,2],
          AXIS["geodetic latitude (Lat)",north,
              ORDER[1],
              ANGLEUNIT["degree",0.0174532925199433]],
          AXIS["geodetic longitude (Lon)",east,
              ORDER[2],
              ANGLEUNIT["degree",0.0174532925199433]],
      USAGE[
          SCOPE["Horizontal component of 3D system."],
          AREA["World."],
          BBOX[-90,-180,90,180]],
      ID["EPSG",4326]]
  Coordinate Reference System:
    No user input
    wkt:
  GEOGCRS["WGS 84",
      DATUM["World Geodetic System 1984",
          ELLIPSOID["WGS 84",6378137,298.257223563,
              LENGTHUNIT["metre",1]]],
      PRIMEM["Greenwich",0,
          ANGLEUNIT["degree",0.0174532925199433]],
      CS[ellipsoidal,2],
          AXIS["geodetic latitude (Lat)",north,
              ORDER[1],
              ANGLEUNIT["degree",0.0174532925199433]],
          AXIS["geodetic longitude (Lon)",east,
              ORDER[2],
              ANGLEUNIT["degree",0.0174532925199433]],
      USAGE[
          SCOPE["Horizontal component of 3D system."],
          AREA["World."],
          BBOX[-90,-180,90,180]],
      ID["EPSG",4326]]
  proj_create: Cannot find proj.db
  proj_as_wkt: Cannot find proj.db
  proj_create: Cannot find proj.db
  proj_as_wkt: Cannot find proj.db
  Cannot open layer foo
  Reading layer `nospatial' from data source 
    `/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/sf/gpkg/nospatial.gpkg' 
    using driver `GPKG'
  Reading layer `nospatial' from data source 
    `/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/sf/gpkg/nospatial.gpkg' 
    using driver `GPKG'
  OGR: Unsupported geometry type
  Failed to create feature 1 in x
  Failed to create feature 1 in x
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • !sf_use_s2() is not TRUE (1)
  • Sys.getenv("USER") %in% c("edzer", "travis") is not TRUE (3)
  • could not connect to postgis database (21)
  • empty test (6)
  • sf_extSoftVersion()[["GDAL"]] < "2.5.0" && sf_extSoftVersion()[["proj.4"]] < 
      "6.0.0" is not TRUE (1)
  • sf_extSoftVersion()[["GDAL"]] < "2.5.0" is not TRUE (1)
  • sf_extSoftVersion()[["proj.4"]] < "6.0.0" is not TRUE (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_postgis_ODBC.R:4:1): (code run outside of `test_that()`) ────────
  Error: there is no package called 'RPostgreSQL'
  Backtrace:
      █
   1. └─base::library(RPostgreSQL) test_postgis_ODBC.R:4:0
  ── Error (test_postgis_RPostgreSQL.R:4:1): (code run outside of `test_that()`) ──
  Error: there is no package called 'RPostgreSQL'
  Backtrace:
      █
   1. └─base::library(RPostgreSQL) test_postgis_RPostgreSQL.R:4:0
  
  [ FAIL 2 | WARN 12 | SKIP 36 | PASS 697 ]
  Error: Test failures
  Execution halted