Running ‘aggregate.R’ [2s/3s]
  Comparing ‘aggregate.Rout’ to ‘aggregate.Rout.save’ ...4c4
< Linking to GEOS 3.9.0, GDAL 3.2.0, PROJ 7.2.0
---
> Linking to GEOS 3.8.0, GDAL 3.0.2, PROJ 6.2.1
26c26
< 1       1 1.5 POLYGON ((0 1, 1 1, 1 0, 0 ...
---
> 1       1 1.5 POLYGON ((1 1, 1 0, 0 0, 0 ...
  Running ‘cast.R’ [2s/4s]
  Comparing ‘cast.Rout’ to ‘cast.Rout.save’ ... OK
  Running ‘crs.R’ [2s/3s]
  Comparing ‘crs.Rout’ to ‘crs.Rout.save’ ...70,159c70
< > x0 = sp::CRS("+init=epsg:4326")
< > cat(sp::wkt(x0), "\n")
< GEOGCRS["WGS 84",
<     DATUM["World Geodetic System 1984",
<         ELLIPSOID["WGS 84",6378137,298.257223563,
<             LENGTHUNIT["metre",1]],
<         ID["EPSG",6326]],
<     PRIMEM["Greenwich",0,
<         ANGLEUNIT["degree",0.0174532925199433],
<         ID["EPSG",8901]],
<     CS[ellipsoidal,2],
<         AXIS["longitude",east,
<             ORDER[1],
<             ANGLEUNIT["degree",0.0174532925199433,
<                 ID["EPSG",9122]]],
<         AXIS["latitude",north,
<             ORDER[2],
<             ANGLEUNIT["degree",0.0174532925199433,
<                 ID["EPSG",9122]]],
<     USAGE[
<         SCOPE["unknown"],
<         AREA["World."],
<         BBOX[-90,-180,90,180]]] 
< > x = st_crs(x0)
< > x
< Coordinate Reference System:
<   User input: WGS 84 
<   wkt:
< GEOGCRS["WGS 84",
<     DATUM["World Geodetic System 1984",
<         ELLIPSOID["WGS 84",6378137,298.257223563,
<             LENGTHUNIT["metre",1]],
<         ID["EPSG",6326]],
<     PRIMEM["Greenwich",0,
<         ANGLEUNIT["degree",0.0174532925199433],
<         ID["EPSG",8901]],
<     CS[ellipsoidal,2],
<         AXIS["longitude",east,
<             ORDER[1],
<             ANGLEUNIT["degree",0.0174532925199433,
<                 ID["EPSG",9122]]],
<         AXIS["latitude",north,
<             ORDER[2],
<             ANGLEUNIT["degree",0.0174532925199433,
<                 ID["EPSG",9122]]],
<     USAGE[
<         SCOPE["unknown"],
<         AREA["World."],
<         BBOX[-90,-180,90,180]]]
< > 
< > y0 = st_crs(4326)
< > y0
< 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]]
< > y = as(y0, "CRS")
< > cat(sp::wkt(y), "\n")
< GEOGCRS["WGS 84 (with axis order normalized for visualization)",
<     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 longitude (Lon)",east,
<             ORDER[1],
<             ANGLEUNIT["degree",0.0174532925199433,
<                 ID["EPSG",9122]]],
<         AXIS["geodetic latitude (Lat)",north,
<             ORDER[2],
<             ANGLEUNIT["degree",0.0174532925199433,
<                 ID["EPSG",9122]]]] 
---
> > x = st_crs(sp::CRS("+proj=longlat +ellps=WGS84 +no_defs"))
  Running ‘dist.R’ [2s/3s]
  Comparing ‘dist.Rout’ to ‘dist.Rout.save’ ... OK
  Running ‘dplyr.R’ [5s/7s]
  Comparing ‘dplyr.Rout’ to ‘dplyr.Rout.save’ ...78,81c78,81
< 1 (0,0.1]          0.0760 (((-9349959 4195534, -9351260 4199567, -9354263 42037…
< 2 (0.1,0.12]       0.112  (((-9355589 4200996, -9354263 4203717, -9351260 41995…
< 3 (0.12,0.1…       0.134  (((-9302071 4171499, -9311146 4181234, -9311292 41833…
< 4 (0.15,0.2…       0.190  (((-9173717 4227806, -9181049 4224455, -9186013 42243…
---
> 1 (0,0.1]          0.0760 (((-8678517 4054264, -8679088 4061405, -8680136 40615…
> 2 (0.1,0.12]       0.112  (((-9383227 4192541, -9375980 4199500, -9370835 41966…
> 3 (0.12,0.1…       0.134  (((-8520830 4108031, -8522040 4111119, -8520104 41115…
> 4 (0.15,0.2…       0.190  (((-8685774 4073056, -8684147 4070879, -8683670 40671…
184c184
< 1 2.593234e-06 (((446521.1 133561, 441668.6 140459.3, 436812.5 146953.9, 433885…
---
> 1 2.593234e-06 (((705429.2 49248.34, 705861.5 27435.66, 698897.7 18679.88, 6485…
194c194
< 1     2.589362e-06 (((154399.2 148898.9, 142569.6 149407.8, 123829 150481.4, 12…
---
> 1     2.589362e-06 (((724644.4 62316.58, 714305.9 49733.25, 711692 35996.55, 70…
206c206
< 1             329962 (((446521.1 133561, 441668.6 140459.3, 436812.5 146953.9, …
---
> 1             329962 (((705429.2 49248.34, 705861.5 27435.66, 698897.7 18679.88…
216c216
< 1             329962 (((154399.2 148898.9, 142569.6 149407.8, 123829 150481.4, …
---
> 1             329962 (((724644.4 62316.58, 714305.9 49733.25, 711692 35996.55, …
  Running ‘empty.R’ [2s/2s]
  Comparing ‘empty.Rout’ to ‘empty.Rout.save’ ... OK
  Running ‘gdal_geom.R’ [2s/3s]
  Comparing ‘gdal_geom.Rout’ to ‘gdal_geom.Rout.save’ ... OK
  Running ‘geos.R’ [7s/8s]
  Comparing ‘geos.Rout’ to ‘geos.Rout.save’ ...93a94
> although coordinates are longitude/latitude, st_relate_pattern assumes that they are planar
116a118
> although coordinates are longitude/latitude, st_relate_pattern assumes that they are planar
  Running ‘graticule.R’ [3s/5s]
  Comparing ‘graticule.Rout’ to ‘graticule.Rout.save’ ...55,73c55,56
< > (wrld2 = st_as_sf(map('world2', plot=FALSE, fill=TRUE )))
< Simple feature collection with 253 features and 1 field
< geometry type:  MULTIPOLYGON
< dimension:      XY
< bbox:           xmin: 0 ymin: -89.99001 xmax: 360 ymax: 83.59961
< geographic CRS: WGS 84
< First 10 features:
<                      ID                           geom
< 1                 Aruba MULTIPOLYGON (((290.1009 12...
< 2           Afghanistan MULTIPOLYGON (((74.89131 37...
< 3                Angola MULTIPOLYGON (((23.9665 -10...
< 4              Anguilla MULTIPOLYGON (((296.9988 18...
< 5               Albania MULTIPOLYGON (((20.06396 42...
< 6               Finland MULTIPOLYGON (((20.61133 60...
< 7               Andorra MULTIPOLYGON (((1.706055 42...
< 8  United Arab Emirates MULTIPOLYGON (((53.92783 24...
< 9             Argentina MULTIPOLYGON (((295.4508 -5...
< 10              Armenia MULTIPOLYGON (((45.55235 40...
< > try(plot(wrld2, graticule = TRUE))
---
> > wrld2 = st_as_sf(map('world2', plot=FALSE, fill=TRUE ))
> > plot(wrld2, graticule = TRUE)
  Running ‘grid.R’ [2s/3s]
  Comparing ‘grid.Rout’ to ‘grid.Rout.save’ ... OK
  Running ‘maps.R’ [3s/5s]
  Comparing ‘maps.Rout’ to ‘maps.Rout.save’ ... OK
  Running ‘plot.R’ [8s/11s]
  Comparing ‘plot.Rout’ to ‘plot.Rout.save’ ... OK
  Running ‘read.R’ [3s/5s]
  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
333c330
< Reading layer `tst__' from data source `/home/hornik/tmp/R.check/r-devel-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/10s]
  Comparing ‘roundtrip.Rout’ to ‘roundtrip.Rout.save’ ...146c146
< Reading layer `nc.gpkg' from data source `/home/hornik/tmp/R.check/r-devel-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'
155,156d154
< [3] "Component 15: Attributes: < Component \"crs\": Component \"input\": 1 string mismatch >"
< [4] "Component 15: Attributes: < Component \"crs\": Component \"wkt\": 1 string mismatch >"  
  Running ‘s2.R’ [2s/3s]
  Running ‘sample.R’ [2s/3s]
  Comparing ‘sample.Rout’ to ‘sample.Rout.save’ ... OK
  Running ‘sfc.R’ [9s/12s]
  Comparing ‘sfc.Rout’ to ‘sfc.Rout.save’ ...335c335
< "3.9.0" "3.2.0" "7.2.0" 
---
> "3.8.0" "3.0.4" "7.0.0" 
568,570c568,570
< 1  1 5 b POINT (0 0)
< 2  2 6 c POINT (1 1)
< 3 NA 2 a POINT EMPTY
---
> 1 NA 2 a POINT EMPTY
> 2  1 5 b POINT (0 0)
> 3  2 6 c POINT (1 1)
641c641
< 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'
710a711
> although coordinates are longitude/latitude, st_relate_pattern assumes that they are planar
729,731c730,745
< > #FIXME:
< > # if (sf_extSoftVersion()["proj.4"] >= "4.9.0") # lwgeom breaks on this
< > #   (p <- st_sample(x, 10))
---
> > if (sf_extSoftVersion()["proj.4"] >= "4.9.0") # lwgeom breaks on this
> +   (p <- st_sample(x, 10))
> although coordinates are longitude/latitude, st_relate_pattern assumes that they are planar
> although coordinates are longitude/latitude, st_intersects assumes that they are planar
> although coordinates are longitude/latitude, st_intersects assumes that they are planar
> Geometry set for 10 features 
> geometry type:  POINT
> dimension:      XY
> bbox:           xmin: -148.196 ymin: -51.7878 xmax: 164.644 ymax: 79.4122
> geographic CRS: WGS 84
> First 5 geometries:
> POINT (-148.196 72.3139)
> POINT (143.075 54.9954)
> POINT (-143.112 25.5397)
> POINT (-89.2235 -18.4014)
> POINT (-104.569 79.4122)
737c751
< bbox:           xmin: 41.0557 ymin: 27.8024 xmax: 80.9558 ymax: 65.5424
---
> bbox:           xmin: -112.989 ymin: -51.7878 xmax: 53.2886 ymax: 79.4122
739c753
< MULTIPOINT ((57.2118 52.329), (80.9558 65.5424)...
---
> MULTIPOINT ((-104.569 79.4122), (-112.989 30.33...
741,748c755
< Geometry set for 1 feature 
< geometry type:  MULTIPOINT
< dimension:      XY
< bbox:           xmin: 19.3415 ymin: 9.17624 xmax: 80.9558 ymax: 65.5424
< CRS:            NA
< MULTIPOINT ((19.3415 18.6622), (57.1389 9.17624...
< Warning message:
< In st_sample.sfc(p, 3.3) : size is not an integer
---
> Error in st_sample.sfc(p, 3.3) : size should be an integer
757c764
< bbox:           xmin: 0 ymin: 0 xmax: 0.0914728 ymax: 1
---
> bbox:           xmin: 0 ymin: 0 xmax: 0.0875734 ymax: 1
759,761c766,768
< MULTIPOINT ((0 0.137868), (0 0.777635), (0 0.40...
< MULTIPOINT ((0.0914728 0), (0.073852 0), (0.003...
< MULTIPOINT ((0.0488222 1), (0.0716508 1), (0.08...
---
> MULTIPOINT ((0 0.40852), (0 0.415459), (0 0.999...
> MULTIPOINT ((0.00320272 0), (0.0642832 0), (0.0...
> MULTIPOINT ((0.0147658 1), (0.0201495 1), (0.04...
767c774
< bbox:           xmin: 1216510 ymin: 935867 xmax: 1428880 ymax: 1031510
---
> bbox:           xmin: 1200740 ymin: 942550 xmax: 1425790 ymax: 1036860
770,774c777,781
< POINT (1264558 935867)
< POINT (1256623 949384)
< POINT (1222665 972639)
< POINT (1333530 968278)
< POINT (1310838 958645)
---
> POINT (1228809 1011255)
> POINT (1233859 956721)
> POINT (1260039 1007661)
> POINT (1271553 1021505)
> POINT (1222552 980314)
782c789
< bbox:           xmin: -81.6893 ymin: 36.2492 xmax: -80.914 ymax: 36.5726
---
> bbox:           xmin: -81.7408 ymin: 36.2735 xmax: -80.9188 ymax: 36.5821
784,785c791,792
< MULTIPOINT ((-81.2401 36.3717), (-81.6893 36.36...
< MULTIPOINT ((-81.2629 36.4076), (-81.1374 36.56...
---
> MULTIPOINT ((-81.3308 36.5204), (-81.5205 36.58...
> MULTIPOINT ((-81.3127 36.4804), (-81.2655 36.43...
790c797
< bbox:           xmin: 0 ymin: 0 xmax: 0.095454 ymax: 1
---
> bbox:           xmin: 0 ymin: 0 xmax: 0.0987443 ymax: 1
792,794c799,801
< MULTIPOINT ((0 0.0104441), (0 0.0254442), (0 0....
< MULTIPOINT ((0.000452334 0), (0.0154525 0), (0....
< MULTIPOINT ((0.00545321 1), (0.0204533 1), (0.0...
---
> MULTIPOINT ((0 0.00373519), (0 0.0187353), (0 0...
> MULTIPOINT ((0.00874356 0), (0.0237437 0), (0.0...
> MULTIPOINT ((0.0137444 1), (0.0287446 1), (0.04...
798c805
<  [1] 104 106 110  96  98 120  87 105 104  99
---
>  [1] 106 107 111  92  95 122  86 105 105 101
808,814d814
< New names:
< * AREA -> AREA...1
< * PERIMETER -> PERIMETER...2
< * CNTY_ -> CNTY_...3
< * AREA -> AREA...16
< * PERIMETER -> PERIMETER...17
< * ...
844c844
< bbox:           xmin: -0.0500922 ymin: 0.992953 xmax: -0.0500922 ymax: 0.992953
---
> bbox:           xmin: 0.0102133 ymin: 1.06372 xmax: 0.0102133 ymax: 1.06372
846c846
< POINT (-0.0500922 0.992953)
---
> POINT (0.0102133 1.06372)
851,853d850
< Warning message:
< In showSRID(uprojargs, format = "PROJ", multiline = "NO", prefer_proj = prefer_proj) :
<   Discarded datum Amersfoort in CRS definition
1023c1020
< POLYGON ((0 0.915082, 0.0169559 0.934935, 0.040...
---
> POLYGON ((1 0.0849179, 0.983044 0.0650651, 0.95...
1030c1027
< POLYGON ((0 0.915082, 0.0169559 0.934935, 0.040...
---
> POLYGON ((1 0.0849179, 0.983044 0.0650651, 0.95...
1038c1035
< 1 1 POLYGON ((0 0.915082, 0.016...
---
> 1 1 POLYGON ((1 0.0849179, 0.98...
1048c1045
< 1 1 POLYGON ((0 0.915082, 0.016...
---
> 1 1 POLYGON ((1 0.0849179, 0.98...
  Running ‘sfg.R’ [1s/2s]
  Comparing ‘sfg.Rout’ to ‘sfg.Rout.save’ ... OK
  Running ‘spatstat.R’ [4s/7s]
  Comparing ‘spatstat.Rout’ to ‘spatstat.Rout.save’ ...35,44c35,44
< 1  window  <NA>   <NA>       <NA> POLYGON ((584712 674237.1, ...
< 2   point major    dry 2006-01-06      POINT (582518.4 676886.2)
< 3   point major    dry 2006-01-10        POINT (581823 677422.7)
< 4   point major    dry 2006-01-15        POINT (582131 676937.9)
< 5   point major    dry 2006-01-24        POINT (582111.9 677420)
< 6   point minor    dry 2006-01-27      POINT (582585.1 677509.7)
< 7   point major    dry 2006-01-28      POINT (582302.3 677521.6)
< 8   point major    dry 2006-02-01      POINT (583167.2 676730.5)
< 9   point major    dry 2006-02-03      POINT (583584.5 677207.1)
< 10  point major    dry 2006-02-13      POINT (583117.8 676850.3)
---
> NA window  <NA>   <NA>       <NA> POLYGON ((584712 674237.1, ...
> 1   point major    dry 2006-01-06      POINT (582518.4 676886.2)
> 2   point major    dry 2006-01-10        POINT (581823 677422.7)
> 3   point major    dry 2006-01-15        POINT (582131 676937.9)
> 4   point major    dry 2006-01-24        POINT (582111.9 677420)
> 5   point minor    dry 2006-01-27      POINT (582585.1 677509.7)
> 6   point major    dry 2006-01-28      POINT (582302.3 677521.6)
> 7   point major    dry 2006-02-01      POINT (583167.2 676730.5)
> 8   point major    dry 2006-02-03      POINT (583584.5 677207.1)
> 9   point major    dry 2006-02-13      POINT (583117.8 676850.3)
95c95
< Error in st_poly_sample(x, size = size, ..., type = type, by_polygon = by_polygon) : 
---
> Error in st_poly_sample(x, size = size, ..., type = type) : 
98c98
< Error in st_poly_sample(x, size = size, ..., type = type, by_polygon = by_polygon) : 
---
> Error in st_poly_sample(x, size = size, ..., type = type) : 
198c198
< Reading layer `nc.gpkg' from data source `/home/hornik/tmp/R.check/r-devel-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 ‘stars.R’ [3s/4s]
  Comparing ‘stars.Rout’ to ‘stars.Rout.save’ ...125c125
< Reading layer `nc.gpkg' from data source `/home/hornik/tmp/R.check/r-devel-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’ [11s/17s]
  Running ‘units.R’ [2s/3s]
  Comparing ‘units.Rout’ to ‘units.Rout.save’ ... OK
  Running ‘wkb.R’ [2s/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_as_proj_string: Cannot find proj.db
  proj_as_wkt: Cannot find proj.db
  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_as_proj_string: Cannot find proj.db
  proj_as_wkt: Cannot find proj.db
  proj_create: Cannot find proj.db
  proj_as_wkt: Cannot find proj.db
  proj_as_proj_string: Cannot find proj.db
  proj_as_wkt: Cannot find proj.db
  proj_create: Cannot find proj.db
  proj_as_wkt: Cannot find proj.db
  proj_create: Cannot find proj.db
  proj_as_proj_string: Cannot find proj.db
  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
  proj_as_proj_string: 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
  proj_as_proj_string: Cannot find proj.db
  proj_as_wkt: Cannot find proj.db
  proj_create: Cannot find proj.db
  proj_as_wkt: Cannot find proj.db
  proj_create: Cannot find proj.db
  proj_as_proj_string: Cannot find proj.db
  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
  proj_as_proj_string: Cannot find proj.db
  proj_as_wkt: Cannot find proj.db
  proj_create: Cannot find proj.db
  proj_as_wkt: Cannot find proj.db
  proj_create: Cannot find proj.db
  proj_as_proj_string: Cannot find proj.db
  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
  proj_as_proj_string: Cannot find proj.db
  proj_as_wkt: Cannot find proj.db
  proj_create: Cannot find proj.db
  proj_as_wkt: Cannot find proj.db
  proj_create: Cannot find proj.db
  proj_as_proj_string: Cannot find proj.db
  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
  proj_as_proj_string: Cannot find proj.db
  proj_as_wkt: Cannot find proj.db
  proj_create: Cannot find proj.db
  proj_as_wkt: Cannot find proj.db
  proj_create: Cannot find proj.db
  proj_as_proj_string: Cannot find proj.db
  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
  Failed to create feature 1 in x
  Failed to create feature 1 in x
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● Sys.getenv("USER") %in% c("edzer", "travis") is not TRUE (3)
  ● could not connect to postgis database (46)
  ● empty test (6)
  ● sf_extSoftVersion()[["GDAL"]] < "2.5.0" && sf_extSoftVersion()[["proj.4"]] <  is not TRUE
      "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)
  
  ══ Warnings ════════════════════════════════════════════════════════════════════
  ── Warning (test_crs.R:22:5): st_crs works ─────────────────────────────────────
  GDAL Error 1: PROJ: proj_create: Error -5 (unknown projection id)
  Backtrace:
   1. testthat::expect_error(st_crs("+proj=ll"), "invalid crs") test_crs.R:22:4
   7. sf:::st_crs.character("+proj=ll")
   8. sf:::make_crs(x)
   9. sf:::CPL_crs_from_input(x)
  ── Warning (test_gdal.R:12:3): st_transform works ──────────────────────────────
  Discarded ellps WGS 84 in CRS definition: +proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +nadgrids=@null +wktext +no_defs +type=crs
  Backtrace:
   1. sp::spTransform(sp, CRS("+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +nadgrids=@null +no_defs")) test_gdal.R:12:2
   2. sp::CRS("+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +nadgrids=@null +no_defs")
   3. rgdal::checkCRSArgs_ng(...)
   9. rgdal::showSRID(...)
  ── Warning (test_gdal.R:12:3): st_transform works ──────────────────────────────
  Discarded datum World Geodetic System 1984 in CRS definition
  Backtrace:
   1. sp::spTransform(sp, CRS("+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +nadgrids=@null +no_defs")) test_gdal.R:12:2
   2. sp::CRS("+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +nadgrids=@null +no_defs")
   3. rgdal::checkCRSArgs_ng(...)
   9. rgdal::showSRID(...)
  ── Warning (test_geos.R:264:2): binary operations work on sf objects with common column names ──
  attribute variables are assumed to be spatially constant throughout all geometries
  Backtrace:
   1. testthat::expect_is(st_intersection(sf1, sf2), "sf") test_geos.R:264:8
   5. sf:::st_intersection.sf(sf1, sf2)
   6. sf:::geos_op2_df(x, y, geos_op2_geom("intersection", x, y))
  ── Warning (test_geos.R:268:2): binary operations work on sf objects with common column names ──
  attribute variables are assumed to be spatially constant throughout all geometries
  Backtrace:
   1. testthat::expect_is(st_intersection(sf1, sf2), c("sf", "tbl_df")) test_geos.R:268:8
   5. sf:::st_intersection.sf(sf1, sf2)
   6. sf:::geos_op2_df(x, y, geos_op2_geom("intersection", x, y))
  ── Warning (test_read.R:200:2): Missing data sources have useful error message (#967) ──
  GDAL Error 1: PQconnectdb failed.
  could not translate host name "wrong" to address: Name or service not known
  
  Backtrace:
   1. testthat::expect_error(st_read("PG:host=wrong"), "Check connection parameters.") test_read.R:200:8
   7. sf:::st_read.character("PG:host=wrong")
   8. sf:::CPL_read_ogr(...)
  ── Warning (test_read.R:201:2): Missing data sources have useful error message (#967) ──
  GDAL Error 4: ERROR parsing kml /home/hornik/tmp/scratch/Rtmp2SBaVA/filecef6bd0c7c6.kml :syntax error on line 1 at offset 0
  Backtrace:
   1. testthat::expect_error(st_read(x), "The source could be corrupt or not supported.") test_read.R:201:8
   7. sf:::st_read.character(x)
   8. sf:::CPL_read_ogr(...)
  ── Warning (test_tidy.R:7:3): select works ─────────────────────────────────────
  `select_()` is deprecated as of dplyr 0.7.0.
  Please use `select()` instead.
  This warning is displayed once every 8 hours.
  Call `lifecycle::last_warnings()` to see where this warning was generated.
  Backtrace:
   1. testthat::expect_true(...) test_tidy.R:7:2
   6. dplyr::select_(., "AREA", attr(., "sf_column"))
   7. dplyr:::lazy_deprec("select", hint = FALSE)
  ── Warning (test_write.R:155:3): non-spatial tables can be written to GPKG; #1345 ──
  GDAL Error 1: sqlite3_exec(DROP TRIGGER rtree_nc.gpkg_geom_update3) failed: no such trigger: rtree_nc.gpkg_geom_update3
  Backtrace:
   1. sf::write_sf(...) test_write.R:155:2
   3. sf:::st_write.data.frame(...)
   4. sf:::st_write.sf(obj, dsn = dsn, layer = layer, ...)
   5. sf:::CPL_write_ogr(...)
  ── Warning (test_write.R:155:3): non-spatial tables can be written to GPKG; #1345 ──
  GDAL Error 1: sqlite3_exec(CREATE TRIGGER "rtree_nc.gpkg_geom_update3" AFTER UPDATE ON "nc.gpkg" WHEN OLD."fid" != NEW."fid" AND (NEW."geom" NOTNULL AND NOT ST_IsEmpty(NEW."geom")) BEGIN DELETE FROM "rtree_nc.gpkg_geom" WHERE id = OLD."fid"; INSERT OR REPLACE INTO "rtree_nc.gpkg_geom" VALUES (NEW."fid",ST_MinX(NEW."geom"), ST_MaxX(NEW."geom"),ST_MinY(NEW."geom"), ST_MaxY(NEW."geom")); END) failed: trigger "rtree_nc.gpkg_geom_update3" already exists
  Backtrace:
   1. sf::write_sf(...) test_write.R:155:2
   3. sf:::st_write.data.frame(...)
   4. sf:::st_write.sf(obj, dsn = dsn, layer = layer, ...)
   5. sf:::CPL_write_ogr(...)
  ── Warning (test_write.R:155:3): non-spatial tables can be written to GPKG; #1345 ──
  GDAL Error 1: sqlite3_exec(DROP TRIGGER rtree_nc.gpkg_geom_update3) failed: no such trigger: rtree_nc.gpkg_geom_update3
  Backtrace:
   1. sf::write_sf(...) test_write.R:155:2
   3. sf:::st_write.data.frame(...)
   4. sf:::st_write.sf(obj, dsn = dsn, layer = layer, ...)
   5. sf:::CPL_write_ogr(...)
  ── Warning (test_write.R:155:3): non-spatial tables can be written to GPKG; #1345 ──
  GDAL Error 1: sqlite3_exec(CREATE TRIGGER "rtree_nc.gpkg_geom_update3" AFTER UPDATE ON "nc.gpkg" WHEN OLD."fid" != NEW."fid" AND (NEW."geom" NOTNULL AND NOT ST_IsEmpty(NEW."geom")) BEGIN DELETE FROM "rtree_nc.gpkg_geom" WHERE id = OLD."fid"; INSERT OR REPLACE INTO "rtree_nc.gpkg_geom" VALUES (NEW."fid",ST_MinX(NEW."geom"), ST_MaxX(NEW."geom"),ST_MinY(NEW."geom"), ST_MaxY(NEW."geom")); END) failed: trigger "rtree_nc.gpkg_geom_update3" already exists
  Backtrace:
   1. sf::write_sf(...) test_write.R:155:2
   3. sf:::st_write.data.frame(...)
   4. sf:::st_write.sf(obj, dsn = dsn, layer = layer, ...)
   5. sf:::CPL_write_ogr(...)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test_geos.R:214:2): st_difference works with partially overlapping geometries ──
  out1[[2]][[1]] not equal to correct_geom[[2]][[1]].
  11/14 mismatches (average diff: 0.682)
  [1]  0.0 - 0.5 == -0.5
  [2]  1.0 - 0.0 ==  1.0
  [3]  2.0 - 1.0 ==  1.0
  [4]  1.5 - 2.0 == -0.5
  [5]  1.0 - 1.5 == -0.5
  [6]  0.5 - 1.0 == -0.5
  [7]  0.0 - 0.5 == -0.5
  [9]  1.5 - 0.5 ==  1.0
  [10] 0.5 - 1.5 == -1.0
  ...
  ── Failure (test_geos.R:215:2): st_difference works with partially overlapping geometries ──
  out1[[3]][[1]] not equal to correct_geom[[3]][[1]].
  11/14 mismatches (average diff: 0.705)
  [1]  0.00 - 0.75 == -0.75
  [2]  1.00 - 0.00 ==  1.00
  [3]  2.00 - 1.00 ==  1.00
  [4]  1.25 - 2.00 == -0.75
  [5]  1.00 - 1.25 == -0.25
  [6]  0.75 - 1.00 == -0.25
  [7]  0.00 - 0.75 == -0.75
  [9]  2.50 - 1.25 ==  1.25
  [10] 1.25 - 2.50 == -1.25
  ...
  
  [ FAIL 2 | WARN 12 | SKIP 60 | PASS 733 ]
  Error: Test failures
  Execution halted