- using R version 4.6.1 Patched (2026-09-08 r90508)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.2.0-1) 16.2.0
GNU Fortran (Debian 16.2.0-1) 16.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-09-09 20:47:43 UTC
- checking for file ‘sf/DESCRIPTION’ ... OK
- this is package ‘sf’ version ‘1.1-2’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘sf’ can be installed ... OK
See the install log for details.
- used C++ compiler: ‘g++-16 (Debian 16.2.0-1) 16.2.0’
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/2s] OK
- checking loading without being on the library search path ... [1s/2s] OK
- checking whether startup messages can be suppressed ... [1s/1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [37s/52s] OK
- checking Rd files ... [1s/2s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking line endings in shell scripts ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [31s/43s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
interpolate_aw 11.008 0.08 16.406
- checking for unstated dependencies in ‘demo’ ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [130s/161s] ERROR
Running ‘aggregate.R’ [1s/2s]
Comparing ‘aggregate.Rout’ to ‘aggregate.Rout.save’ ...
25c25
< 1 1 1.5 POLYGON ((1 1, 1 0, 0 0, 0 ...
---
> 1 1 1.5 POLYGON ((1 0, 0 0, 0 1, 1 ...
Running ‘cast.R’ [2s/3s]
Comparing ‘cast.Rout’ to ‘cast.Rout.save’ ... OK
Running ‘crs.R’ [1s/2s]
Comparing ‘crs.Rout’ to ‘crs.Rout.save’ ... OK
Running ‘dist.R’ [2s/2s]
Comparing ‘dist.Rout’ to ‘dist.Rout.save’ ... OK
Running ‘dplyr.R’ [4s/5s]
Comparing ‘dplyr.Rout’ to ‘dplyr.Rout.save’ ... OK
Running ‘empty.R’ [1s/1s]
Comparing ‘empty.Rout’ to ‘empty.Rout.save’ ... OK
Running ‘full.R’ [2s/2s]
Comparing ‘full.Rout’ to ‘full.Rout.save’ ... OK
Running ‘gdal_geom.R’ [2s/2s]
Comparing ‘gdal_geom.Rout’ to ‘gdal_geom.Rout.save’ ... OK
Running ‘geos.R’ [30s/35s]
Comparing ‘geos.Rout’ to ‘geos.Rout.save’ ... OK
Running ‘graticule.R’ [4s/5s]
Comparing ‘graticule.Rout’ to ‘graticule.Rout.save’ ... OK
Running ‘grid.R’ [2s/2s]
Comparing ‘grid.Rout’ to ‘grid.Rout.save’ ... OK
Running ‘maps.R’ [3s/3s]
Comparing ‘maps.Rout’ to ‘maps.Rout.save’ ... OK
Running ‘plot.R’ [9s/11s]
Comparing ‘plot.Rout’ to ‘plot.Rout.save’ ... OK
Running ‘read.R’ [3s/5s]
Comparing ‘read.Rout’ to ‘read.Rout.save’ ... OK
Running ‘roundtrip.R’ [2s/3s]
Comparing ‘roundtrip.Rout’ to ‘roundtrip.Rout.save’ ... OK
Running ‘s2.R’ [3s/3s]
Comparing ‘s2.Rout’ to ‘s2.Rout.save’ ... OK
Running ‘sample.R’ [1s/2s]
Comparing ‘sample.Rout’ to ‘sample.Rout.save’ ... OK
Running ‘sfc.R’ [17s/20s]
Comparing ‘sfc.Rout’ to ‘sfc.Rout.save’ ...
970c970
< POLYGON ((1 0.0849179, 0.983044 0.0650651, 0.95...
---
> POLYGON ((0.983044 0.0650651, 0.959619 0.040380...
977c977
< POLYGON ((1 0.0849179, 0.983044 0.0650651, 0.95...
---
> POLYGON ((0.983044 0.0650651, 0.959619 0.040380...
985c985
< 1 1 POLYGON ((1 0.0849179, 0.98...
---
> 1 1 POLYGON ((0.983044 0.065065...
995c995
< 1 1 POLYGON ((1 0.0849179, 0.98...
---
> 1 1 POLYGON ((0.983044 0.065065...
Running ‘sfg.R’ [1s/2s]
Comparing ‘sfg.Rout’ to ‘sfg.Rout.save’ ... OK
Running ‘spatstat.R’ [5s/7s]
Comparing ‘spatstat.Rout’ to ‘spatstat.Rout.save’ ... OK
Running ‘stars.R’ [4s/6s]
Comparing ‘stars.Rout’ to ‘stars.Rout.save’ ... OK
Running ‘test-by-element.R’ [1s/1s]
Comparing ‘test-by-element.Rout’ to ‘test-by-element.Rout.save’ ... OK
Running ‘testthat.R’ [26s/31s]
Running ‘units.R’ [1s/1s]
Comparing ‘units.Rout’ to ‘units.Rout.save’ ... OK
Running ‘wkb.R’ [1s/1s]
Comparing ‘wkb.Rout’ to ‘wkb.Rout.save’ ... OK
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> if (require(testthat, quietly = TRUE)) {
+ suppressPackageStartupMessages(library(sf))
+ test_check("sf")
+ }
Coordinate Reference System:
User input: EPSG:4326
wkt:
GEOGCRS["WGS 84",
ENSEMBLE["World Geodetic System 1984 ensemble",
MEMBER["World Geodetic System 1984 (Transit)"],
MEMBER["World Geodetic System 1984 (G730)"],
MEMBER["World Geodetic System 1984 (G873)"],
MEMBER["World Geodetic System 1984 (G1150)"],
MEMBER["World Geodetic System 1984 (G1674)"],
MEMBER["World Geodetic System 1984 (G1762)"],
MEMBER["World Geodetic System 1984 (G2139)"],
MEMBER["World Geodetic System 1984 (G2296)"],
ELLIPSOID["WGS 84",6378137,298.257223563,
LENGTHUNIT["metre",1]],
ENSEMBLEACCURACY[2.0]],
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",
ENSEMBLE["World Geodetic System 1984 ensemble",
MEMBER["World Geodetic System 1984 (Transit)"],
MEMBER["World Geodetic System 1984 (G730)"],
MEMBER["World Geodetic System 1984 (G873)"],
MEMBER["World Geodetic System 1984 (G1150)"],
MEMBER["World Geodetic System 1984 (G1674)"],
MEMBER["World Geodetic System 1984 (G1762)"],
MEMBER["World Geodetic System 1984 (G2139)"],
MEMBER["World Geodetic System 1984 (G2296)"],
ELLIPSOID["WGS 84",6378137,298.257223563,
LENGTHUNIT["metre",1]],
ENSEMBLEACCURACY[2.0]],
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]]
Saving _problems/test-geos-204.R
Saving _problems/test-geos-205.R
Cannot open layer foo
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 `nc' from data source
`/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/sf/shape/nc.shp'
using driver `ESRI Shapefile'
Simple feature collection with 100 features and 14 fields
Geometry type: MULTIPOLYGON
Dimension: XY
Bounding box: xmin: -84.32385 ymin: 33.88199 xmax: -75.45698 ymax: 36.58965
Geodetic CRS: NAD27
OGR: Unsupported geometry type
Failed to create feature 1 in x
Failed to create feature 1 in x
[ FAIL 2 | WARN 3 | SKIP 65 | PASS 827 ]
══ Skipped tests (65) ══════════════════════════════════════════════════════════
• On CRAN (1): 'test-gdal.R:101:5'
• Sys.getenv("USER") == "edzer" is not TRUE (3): 'test-gdal.R:55:3',
'test-write.R:47:3', 'test-write.R:130:3'
• could not connect to postgis database (47): 'test-postgis_ODBC.R:33:2',
'test-postgis_ODBC.R:46:2', 'test-postgis_ODBC.R:68:2',
'test-postgis_ODBC.R:80:2', 'test-postgis_ODBC.R:103:2',
'test-postgis_ODBC.R:124:2', 'test-postgis_ODBC.R:137:2',
'test-postgis_ODBC.R:168:2', 'test-postgis_ODBC.R:191:2',
'test-postgis_ODBC.R:252:2', 'test-postgis_ODBC.R:267:2',
'test-postgis_ODBC.R:281:2', 'test-postgis_RPostgreSQL.R:33:2',
'test-postgis_RPostgreSQL.R:46:2', 'test-postgis_RPostgreSQL.R:68:2',
'test-postgis_RPostgreSQL.R:83:2', 'test-postgis_RPostgreSQL.R:95:2',
'test-postgis_RPostgreSQL.R:119:2', 'test-postgis_RPostgreSQL.R:140:2',
'test-postgis_RPostgreSQL.R:153:2', 'test-postgis_RPostgreSQL.R:193:2',
'test-postgis_RPostgreSQL.R:216:2', 'test-postgis_RPostgreSQL.R:277:2',
'test-postgis_RPostgreSQL.R:301:2', 'test-postgis_RPostgreSQL.R:315:2',
'test-postgis_RPostgres.R:48:5', 'test-postgis_RPostgres.R:73:2',
'test-postgis_RPostgres.R:82:5', 'test-postgis_RPostgres.R:104:5',
'test-postgis_RPostgres.R:116:5', 'test-postgis_RPostgres.R:123:5',
'test-postgis_RPostgres.R:130:5', 'test-postgis_RPostgres.R:139:5',
'test-postgis_RPostgres.R:148:5', 'test-postgis_RPostgres.R:159:5',
'test-postgis_RPostgres.R:170:5', 'test-postgis_RPostgres.R:195:5',
'test-postgis_RPostgres.R:217:5', 'test-postgis_RPostgres.R:230:5',
'test-postgis_RPostgres.R:261:5', 'test-postgis_RPostgres.R:285:5',
'test-postgis_RPostgres.R:346:5', 'test-postgis_RPostgres.R:370:2',
'test-postgis_RPostgres.R:385:5', 'test-postgis_RPostgres.R:422:2',
'test-postgis_RPostgres.R:436:5', 'test-postgis_RPostgres.R:446:5'
• empty test (8): 'test-crs.R:66:1', 'test-crs.R:99:1',
'test-normalize.R:29:1', 'test-proj.R:1:1', 'test-read.R:7:1',
'test-s2.R:20:1', 'test-sf.R:52:1', 'test-tidyverse-vctrs.R:347:1'
• sf_extSoftVersion()[["GDAL"]] < "2.5.0" && sf_extSoftVersion()[["proj.4"]] <
"6.0.0" is not TRUE (1): 'test-crs.R:61:3'
• sf_extSoftVersion()[["GDAL"]] >= "2.5.0" is TRUE (1): 'test-gdal.R:46:3'
• sf_extSoftVersion()[["proj.4"]] >= "6.0.0" is TRUE (3): 'test-crs.R:44:3',
'test-crs.R:49:3', 'test-crs.R:55:3'
• sf_use_s2() is TRUE (1): 'test-geos.R:20:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-geos.R:204:2'): st_difference works with partially overlapping geometries ──
Expected `out1[[2]][[1]]` to equal `correct_geom[[2]][[1]]`.
Differences:
11/14 mismatches (average diff: 0.682)
[1] 0.5 - 0.0 == 0.5
[2] 0.0 - 1.0 == -1.0
[3] 1.0 - 2.0 == -1.0
[4] 2.0 - 1.5 == 0.5
[5] 1.5 - 1.0 == 0.5
[6] 1.0 - 0.5 == 0.5
[7] 0.5 - 0.0 == 0.5
[9] 0.5 - 1.5 == -1.0
[10] 1.5 - 0.5 == 1.0
...
── Failure ('test-geos.R:205:2'): st_difference works with partially overlapping geometries ──
Expected `out1[[3]][[1]]` to equal `correct_geom[[3]][[1]]`.
Differences:
11/14 mismatches (average diff: 0.705)
[1] 0.75 - 0.00 == 0.75
[2] 0.00 - 1.00 == -1.00
[3] 1.00 - 2.00 == -1.00
[4] 2.00 - 1.25 == 0.75
[5] 1.25 - 1.00 == 0.25
[6] 1.00 - 0.75 == 0.25
[7] 0.75 - 0.00 == 0.75
[9] 1.25 - 2.50 == -1.25
[10] 2.50 - 1.25 == 1.25
...
[ FAIL 2 | WARN 3 | SKIP 65 | PASS 827 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [51s/63s] OK
- checking PDF version of manual ... [10s/13s] OK
- checking HTML version of manual ... [9s/15s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR