CRAN Package Check Results for Package sf

Last updated on 2021-12-05 19:49:39 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0-4 221.42 362.76 584.18 ERROR
r-devel-linux-x86_64-debian-gcc 1.0-4 153.27 275.74 429.01 ERROR
r-devel-linux-x86_64-fedora-clang 1.0-4 815.95 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0-4 768.15 ERROR
r-devel-windows-x86_64-new-UL 1.0-4 343.00 1051.00 1394.00 NOTE
r-devel-windows-x86_64-new-TK 1.0-4 ERROR
r-devel-windows-x86_64-old 1.0-4 286.00 485.00 771.00 NOTE
r-patched-linux-x86_64 1.0-4 188.59 352.81 541.40 OK
r-release-linux-x86_64 1.0-4 181.83 363.73 545.56 OK
r-release-macos-arm64 1.0-4 NOTE
r-release-macos-x86_64 1.0-4 NOTE
r-release-windows-ix86+x86_64 1.0-4 520.00 1115.00 1635.00 NOTE
r-oldrel-macos-x86_64 1.0-4 NOTE
r-oldrel-windows-ix86+x86_64 1.0-4 534.00 1134.00 1668.00 NOTE

Check Details

Version: 1.0-4
Check: tests
Result: ERROR
     Running 'aggregate.R' [2s/3s]
     Comparing 'aggregate.Rout' to 'aggregate.Rout.save' ...4c4
    < Linking to GEOS 3.10.1, GDAL 3.3.3, PROJ 8.2.0
    ---
    > Linking to GEOS 3.9.0, GDAL 3.2.1, PROJ 7.2.1
    26c26
    < 1 1 1.5 POLYGON ((1 0, 0 0, 0 1, 1 ...
    ---
    > 1 1 1.5 POLYGON ((0 1, 1 1, 1 0, 0 ...
     Running 'cast.R' [3s/4s]
     Comparing 'cast.Rout' to 'cast.Rout.save' ... OK
     Running 'crs.R' [3s/4s]
     Comparing 'crs.Rout' to 'crs.Rout.save' ...73,87c73
    < ENSEMBLE["World Geodetic System 1984 ensemble",
    < MEMBER["World Geodetic System 1984 (Transit)",
    < ID["EPSG",1166]],
    < MEMBER["World Geodetic System 1984 (G730)",
    < ID["EPSG",1152]],
    < MEMBER["World Geodetic System 1984 (G873)",
    < ID["EPSG",1153]],
    < MEMBER["World Geodetic System 1984 (G1150)",
    < ID["EPSG",1154]],
    < MEMBER["World Geodetic System 1984 (G1674)",
    < ID["EPSG",1155]],
    < MEMBER["World Geodetic System 1984 (G1762)",
    < ID["EPSG",1156]],
    < MEMBER["World Geodetic System 1984 (G2139)",
    < ID["EPSG",1309]],
    ---
    > DATUM["World Geodetic System 1984",
    89,91c75
    < LENGTHUNIT["metre",1],
    < ID["EPSG",7030]],
    < ENSEMBLEACCURACY[2.0],
    ---
    > LENGTHUNIT["metre",1]],
    115,129c99
    < ENSEMBLE["World Geodetic System 1984 ensemble",
    < MEMBER["World Geodetic System 1984 (Transit)",
    < ID["EPSG",1166]],
    < MEMBER["World Geodetic System 1984 (G730)",
    < ID["EPSG",1152]],
    < MEMBER["World Geodetic System 1984 (G873)",
    < ID["EPSG",1153]],
    < MEMBER["World Geodetic System 1984 (G1150)",
    < ID["EPSG",1154]],
    < MEMBER["World Geodetic System 1984 (G1674)",
    < ID["EPSG",1155]],
    < MEMBER["World Geodetic System 1984 (G1762)",
    < ID["EPSG",1156]],
    < MEMBER["World Geodetic System 1984 (G2139)",
    < ID["EPSG",1309]],
    ---
    > DATUM["World Geodetic System 1984",
    131,133c101
    < LENGTHUNIT["metre",1],
    < ID["EPSG",7030]],
    < ENSEMBLEACCURACY[2.0],
    ---
    > LENGTHUNIT["metre",1]],
    158,165c126
    < 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)"],
    ---
    > DATUM["World Geodetic System 1984",
    167,168c128
    < LENGTHUNIT["metre",1]],
    < ENSEMBLEACCURACY[2.0]],
    ---
    > LENGTHUNIT["metre",1]]],
    186,193c146
    < 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)"],
    ---
    > DATUM["World Geodetic System 1984",
    195,196c148
    < LENGTHUNIT["metre",1]],
    < ENSEMBLEACCURACY[2.0]],
    ---
    > LENGTHUNIT["metre",1]]],
     Running 'dist.R' [3s/4s]
     Comparing 'dist.Rout' to 'dist.Rout.save' ... OK
     Running 'dplyr.R' [8s/10s]
     Comparing 'dplyr.Rout' to 'dplyr.Rout.save' ...75c75
    < # A tibble: 4 x 3
    ---
    > # A tibble: 4 Ã<c2><97> 3
    78,81c78,81
    < 1 (0,0.1] 0.0760 (((-8863447 4143479, -8857175 4151339, -8858837 4156~
    < 2 (0.1,0.12] 0.112 (((-9362143 4197312, -9355589 4200996, -9354263 4203~
    < 3 (0.12,0.15] 0.134 (((-9302071 4171499, -9311146 4181234, -9311292 4183~
    < 4 (0.15,0.25] 0.190 (((-8830723 4133018, -8832558 4137955, -8832096 4141~
    ---
    > 1 (0,0.1] 0.0760 (((-9349959 4195534, -9351260 4199567, -9354263 4203â<c2><80>Š
    > 2 (0.1,0.12] 0.112 (((-9355589 4200996, -9354263 4203717, -9351260 4199â<c2><80>Š
    > 3 (0.12,0.15] 0.134 (((-9302071 4171499, -9311146 4181234, -9311292 4183â<c2><80>Š
    > 4 (0.15,0.25] 0.190 (((-9173717 4227806, -9181049 4224455, -9186013 4224â<c2><80>Š
    107c107
    < # A tibble: 6 x 4
    ---
    > # A tibble: 6 Ã<c2><97> 4
    110,115c110,115
    < 1 95 (((-8588146 4131923, -8589850 4133303, -8589356 4135198, -8~ SID79 4
    < 2 96 (((-8711999 4081959, -8719511 4077863, -8731642 4078864, -8~ SID79 5
    < 3 97 (((-8685774 4073056, -8697387 4077823, -8700120 4077570, -8~ SID79 3
    < 4 98 (((-8755885 4021935, -8802506 4069795, -8798771 4071779, -8~ SID79 17
    < 5 99 (((-8678517 4054264, -8679088 4061405, -8680136 4061550, -8~ SID79 9
    < 6 100 (((-8755885 4021935, -8753548 4025868, -8753052 4030195, -8~ SID79 6
    ---
    > 1 95 (((-8588146 4131923, -8589850 4133303, -8589356 4135198, -8â<c2><80>Š SID79 4
    > 2 96 (((-8711999 4081959, -8719511 4077863, -8731642 4078864, -8â<c2><80>Š SID79 5
    > 3 97 (((-8685774 4073056, -8697387 4077823, -8700120 4077570, -8â<c2><80>Š SID79 3
    > 4 98 (((-8755885 4021935, -8802506 4069795, -8798771 4071779, -8â<c2><80>Š SID79 17
    > 5 99 (((-8678517 4054264, -8679088 4061405, -8680136 4061550, -8â<c2><80>Š SID79 9
    > 6 100 (((-8755885 4021935, -8753548 4025868, -8753052 4030195, -8â<c2><80>Š SID79 6
    122c122
    < # A tibble: 6 x 4
    ---
    > # A tibble: 6 Ã<c2><97> 4
    125,130c125,130
    < 1 1 (((-9069486 4332934, -9077066 4338201, -9079419 4338351, -9~ 1 0
    < 2 2 (((-9043562 4351030, -9043652 4352973, -9046117 4356516, -9~ 0 3
    < 3 3 (((-8956335 4334068, -8958566 4335747, -8965300 4336025, -8~ 5 6
    < 4 4 (((-8461241 4344709, -8462173 4347214, -8463902 4346972, -8~ 1 2
    < 5 5 (((-8595797 4333852, -8597683 4330212, -8604808 4329788, -8~ 9 3
    < 6 6 (((-8543185 4332878, -8569416 4332369, -8570981 4333107, -8~ 7 5
    ---
    > 1 1 (((-9069486 4332934, -9077066 4338201, -9079419 4338351, -9â<c2><80>Š 1 0
    > 2 2 (((-9043562 4351030, -9043652 4352973, -9046117 4356516, -9â<c2><80>Š 0 3
    > 3 3 (((-8956335 4334068, -8958566 4335747, -8965300 4336025, -8â<c2><80>Š 5 6
    > 4 4 (((-8461241 4344709, -8462173 4347214, -8463902 4346972, -8â<c2><80>Š 1 2
    > 5 5 (((-8595797 4333852, -8597683 4330212, -8604808 4329788, -8â<c2><80>Š 9 3
    > 6 6 (((-8543185 4332878, -8569416 4332369, -8570981 4333107, -8â<c2><80>Š 7 5
    137c137
    < # A tibble: 6 x 4
    ---
    > # A tibble: 6 Ã<c2><97> 4
    140,145c140,145
    < 1 (((-9069486 4332934, -9077066 4338201, -9079419 4338351, -9~ 1 1 0
    < 2 (((-9043562 4351030, -9043652 4352973, -9046117 4356516, -9~ 2 0 3
    < 3 (((-8956335 4334068, -8958566 4335747, -8965300 4336025, -8~ 3 5 6
    < 4 (((-8461241 4344709, -8462173 4347214, -8463902 4346972, -8~ 4 1 2
    < 5 (((-8595797 4333852, -8597683 4330212, -8604808 4329788, -8~ 5 9 3
    < 6 (((-8543185 4332878, -8569416 4332369, -8570981 4333107, -8~ 6 7 5
    ---
    > 1 (((-9069486 4332934, -9077066 4338201, -9079419 4338351, -9â<c2><80>Š 1 1 0
    > 2 (((-9043562 4351030, -9043652 4352973, -9046117 4356516, -9â<c2><80>Š 2 0 3
    > 3 (((-8956335 4334068, -8958566 4335747, -8965300 4336025, -8â<c2><80>Š 3 5 6
    > 4 (((-8461241 4344709, -8462173 4347214, -8463902 4346972, -8â<c2><80>Š 4 1 2
    > 5 (((-8595797 4333852, -8597683 4330212, -8604808 4329788, -8â<c2><80>Š 5 9 3
    > 6 (((-8543185 4332878, -8569416 4332369, -8570981 4333107, -8â<c2><80>Š 6 7 5
    181c181
    < # A tibble: 1 x 2
    ---
    > # A tibble: 1 Ã<c2><97> 2
    184c184
    < 1 0.00000259 (((138426 177699.3, 145548.6 177837.2, 151051.2 180557.6, 152246~
    ---
    > 1 0.00000259 (((446521.1 133561, 441668.6 140459.3, 436812.5 146953.9, 433885â<c2><80>Š
    191c191
    < # A tibble: 1 x 2
    ---
    > # A tibble: 1 Ã<c2><97> 2
    194c194
    < 1 0.00000259 (((154399.2 148898.9, 142569.6 149407.8, 123829 150481.4, 12~
    ---
    > 1 0.00000259 (((154399.2 148898.9, 142569.6 149407.8, 123829 150481.4, 12â<c2><80>Š
    203c203
    < # A tibble: 1 x 2
    ---
    > # A tibble: 1 Ã<c2><97> 2
    206c206
    < 1 329962 (((138426 177699.3, 145548.6 177837.2, 151051.2 180557.6, ~
    ---
    > 1 329962 (((446521.1 133561, 441668.6 140459.3, 436812.5 146953.9, â<c2><80>Š
    213c213
    < # A tibble: 1 x 2
    ---
    > # A tibble: 1 Ã<c2><97> 2
    216c216
    < 1 329962 (((154399.2 148898.9, 142569.6 149407.8, 123829 150481.4,~
    ---
    > 1 329962 (((154399.2 148898.9, 142569.6 149407.8, 123829 150481.4,â<c2><80>Š
     Running 'empty.R' [2s/3s]
     Comparing 'empty.Rout' to 'empty.Rout.save' ... OK
     Running 'gdal_geom.R' [3s/5s]
     Comparing 'gdal_geom.Rout' to 'gdal_geom.Rout.save' ... OK
     Running 'geos.R' [28s/34s]
     Comparing 'geos.Rout' to 'geos.Rout.save' ...165a166,168
    > [1] "XY" "GEOMETRYCOLLECTION" "sfg"
    > [1] "sfc_GEOMETRYCOLLECTION" "sfc"
    > [1] "sf" "data.frame"
    554a558,571
    > LINESTRING (3 3, 2 2, 1 1)
    > Geometry set for 1 feature
    > Geometry type: LINESTRING
    > Dimension: XY
    > Bounding box: xmin: 1 ymin: 1 xmax: 3 ymax: 3
    > CRS: NA
    > LINESTRING (3 3, 2 2, 1 1)
    > Simple feature collection with 1 feature and 1 field
    > Geometry type: LINESTRING
    > Dimension: XY
    > Bounding box: xmin: 1 ymin: 1 xmax: 3 ymax: 3
    > CRS: NA
    > a geom
    > 1 2 LINESTRING (3 3, 2 2, 1 1)
     Running 'graticule.R' [5s/7s]
     Comparing 'graticule.Rout' to 'graticule.Rout.save' ... OK
     Running 'grid.R' [3s/3s]
     Comparing 'grid.Rout' to 'grid.Rout.save' ... OK
     Running 'maps.R' [4s/7s]
     Comparing 'maps.Rout' to 'maps.Rout.save' ... OK
     Running 'plot.R' [12s/13s]
     Comparing 'plot.Rout' to 'plot.Rout.save' ... OK
     Running 'read.R' [4s/7s]
     Comparing 'read.Rout' to 'read.Rout.save' ...178c178
    < Projected CRS: Undefined cartesian SRS
    ---
    > Projected CRS: Undefined Cartesian SRS
    321,323d320
    < Warning message:
    < In CPL_read_ogr(dsn, layer, query, as.character(options), quiet, :
    < GDAL Message 1: GFS file saving asked, but failed
    337,338c334
    < `/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/sf.Rcheck/tests/tst__.gpkg'
    < using driver `GPKG'
    ---
    > `/home/edzer/git/sf.Rcheck/tests/tst__.gpkg' using driver `GPKG'
     Running 'roundtrip.R' [12s/15s]
     Comparing 'roundtrip.Rout' to 'roundtrip.Rout.save' ...147,148c147
    < `/home/hornik/tmp/R.check/r-devel-clang/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' [4s/5s]
     Comparing 's2.Rout' to 's2.Rout.save' ...4c4
    < Linking to GEOS 3.10.1, GDAL 3.3.3, PROJ 8.2.0
    ---
    > Linking to GEOS 3.9.0, GDAL 3.2.1, PROJ 7.2.1
    30a31
    > [1] TRUE
     Running 'sample.R' [2s/3s]
     Comparing 'sample.Rout' to 'sample.Rout.save' ... OK
     Running 'sfc.R' [22s/26s]
     Comparing 'sfc.Rout' to 'sfc.Rout.save' ...335c335
    < "3.10.1" "3.3.3" "8.2.0"
    ---
    > "3.9.0" "3.2.1" "7.2.1"
    641,643c641
    < Reading layer `nc' from data source
    < `/home/hornik/tmp/R.check/r-devel-clang/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'
    1023c1021
    < POLYGON ((0.983044 0.0650651, 0.959619 0.040380...
    ---
    > POLYGON ((0 0.915082, 0.0169559 0.934935, 0.040...
    1030c1028
    < POLYGON ((0.983044 0.0650651, 0.959619 0.040380...
    ---
    > POLYGON ((0 0.915082, 0.0169559 0.934935, 0.040...
    1038c1036
    < 1 1 POLYGON ((0.983044 0.065065...
    ---
    > 1 1 POLYGON ((0 0.915082, 0.016...
    1048c1046
    < 1 1 POLYGON ((0.983044 0.065065...
    ---
    > 1 1 POLYGON ((0 0.915082, 0.016...
     Running 'sfg.R' [2s/3s]
     Comparing 'sfg.Rout' to 'sfg.Rout.save' ... OK
     Running 'spatstat.R' [6s/8s]
     Comparing 'spatstat.Rout' to 'spatstat.Rout.save' ...198,199c198
    < `/home/hornik/tmp/R.check/r-devel-clang/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' [2s/3s]
     Running 'testthat.R' [21s/25s]
     Running 'units.R' [3s/4s]
     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/stars.R' failed.
    Complete output:
     > suppressPackageStartupMessages(library(sf))
     >
     > tif = system.file("tif/geomatrix.tif", package = "sf")
     >
     > gdal_metadata(tif)
     [1] "AREA_OR_POINT=Point"
     > gdal_metadata(tif, NA_character_)
     [1] "IMAGE_STRUCTURE" "DERIVED_SUBDATASETS" ""
     > try(gdal_metadata(tif, "wrongDomain"))
     Error in gdal_metadata(tif, "wrongDomain") :
     domain_item[1] not found in available metadata domains
     > gdal_metadata(tif, c("IMAGE_STRUCTURE"))
     [[1]]
     [1] "BAND"
    
     attr(,"class")
     [1] "gdal_metadata"
     > try(length(gdal_metadata(tif, c("DERIVED_SUBDATASETS")))) # fails on Fedora 26
     [1] 2
     >
     > if (require(stars)) {
     + tif = system.file("tif/geomatrix.tif", package = "sf")
     + r = read_stars(tif)
     + d = (st_dimensions(r))
     + gt = c(1841001.75, 1.5, -5, 1144003.25, -5, -1.5)
     + x1 = st_as_sfc(d, as_points = TRUE, use_cpp = TRUE, geotransform = gt)
     + x2 = st_as_sfc(d, as_points = TRUE, use_cpp = FALSE, geotransform = gt)
     + print(identical(x1, x2))
     + y1 = st_as_sfc(d, as_points = FALSE, use_cpp = TRUE, geotransform = gt)
     + y2 = st_as_sfc(d, as_points = FALSE, use_cpp = FALSE, geotransform = gt)
     + print(identical(y1, y2))
     +
     + # rectilinear grid:
     + m = matrix(1:20, nrow = 5, ncol = 4)
     + x = c(0,0.5,1,2,4,5)
     + y = c(0.3,0.5,1,2,2.2)
     + r = st_as_stars(list(m = m), dimensions = st_dimensions(x = x, y = y, .raster = c("x", "y")))
     + print(st_as_sfc(st_dimensions(r), as_points = TRUE))
     + print(st_as_sfc(st_dimensions(r), as_points = FALSE))
     +
     + # curvilinear grid:
     + lon = st_as_stars(matrix(1:5, 4, 5, byrow = TRUE))
     + lat = st_as_stars(matrix(1:4, 4, 5))
     + ll = c(X1 = lon, X2 = lat)
     + curv = st_as_stars(st_as_stars(t(m)), curvilinear = setNames(ll, c("X1", "X2")))
     + print(st_as_sfc(st_dimensions(curv), as_points = TRUE))
     + print(st_as_sfc(st_dimensions(curv), as_points = FALSE))
     +
     + demo(nc, echo = FALSE, ask = FALSE)
     + print(x <- st_rasterize(nc)) # default grid:
     + print(p <- st_as_sf(x, as_points = FALSE)) # polygonize: follow raster boundaries
     + print(p <- st_as_sf(x, as_points = FALSE, use_integer = TRUE)) # polygonize integers: follow raster boundaries
     + print(try(p <- st_as_sf(x, as_points = TRUE))) # polygonize: contour, requies GDAL >= 2.4.0
     + if (utils::packageVersion("stars") >= "0.2-1") {
     + write_stars(read_stars(tif), tempfile(fileext = ".tif"))
     + write_stars(read_stars(tif, proxy = TRUE), tempfile(fileext = ".tif"))
     + write_stars(read_stars(tif, proxy = TRUE), tempfile(fileext = ".tif"), chunk_size = c(200,200))
     + na.tif = read_stars(system.file("tif/na.tif", package = "stars"))
     + write_stars(na.tif, "na.tif")
     + write_stars(na.tif, "na.tif", NA_value = -999)
     + na.tif = read_stars(system.file("tif/na.tif", package = "stars"), NA_value = -999)
     + write_stars(na.tif, "na.tif")
     + write_stars(na.tif, "na.tif", NA_value = -999)
     + na.tif = read_stars(system.file("tif/na.tif", package = "stars"), NA_value = -999, proxy = TRUE)
     + write_stars(na.tif, "na.tif")
     + write_stars(na.tif, "na.tif", NA_value = -999)
     + }
     + # https://github.com/mtennekes/tmap/issues/368
     + if (utils::packageVersion("stars") > "0.4-0") {
     + lc = system.file('tif/lc.tif', package = 'stars')
     + if (lc != "") {
     + r = read_stars(lc, RAT = "Land Cover Class")
     + r <- droplevels(r)
     + }
     + }
     + }
     Loading required package: stars
     Loading required package: abind
     [1] TRUE
     [1] TRUE
     Geometry set for 20 features
     Geometry type: POINT
     Dimension: XY
     Bounding box: xmin: 0.25 ymin: 0.4 xmax: 4.5 ymax: 2.1
     CRS: NA
     First 5 geometries:
     POINT (0.25 0.4)
     POINT (0.75 0.4)
     POINT (1.5 0.4)
     POINT (3 0.4)
     POINT (4.5 0.4)
     Geometry set for 20 features
     Geometry type: POLYGON
     Dimension: XY
     Bounding box: xmin: 0 ymin: 0.3 xmax: 5 ymax: 2.2
     CRS: NA
     First 5 geometries:
     POLYGON ((0 0.3, 0.5 0.3, 0.5 0.5, 0 0.5, 0 0.3))
     POLYGON ((0.5 0.3, 1 0.3, 1 0.5, 0.5 0.5, 0.5 0...
     POLYGON ((1 0.3, 2 0.3, 2 0.5, 1 0.5, 1 0.3))
     POLYGON ((2 0.3, 4 0.3, 4 0.5, 2 0.5, 2 0.3))
     POLYGON ((4 0.3, 5 0.3, 5 0.5, 4 0.5, 4 0.3))
     Error: C stack usage 15938720 is too close to the limit
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0-4
Check: tests
Result: ERROR
     Running ‘aggregate.R’ [2s/3s]
     Comparing ‘aggregate.Rout’ to ‘aggregate.Rout.save’ ...4c4
    < Linking to GEOS 3.10.1, GDAL 3.3.3, PROJ 8.2.0
    ---
    > Linking to GEOS 3.9.0, GDAL 3.2.1, PROJ 7.2.1
    26c26
    < 1 1 1.5 POLYGON ((1 0, 0 0, 0 1, 1 ...
    ---
    > 1 1 1.5 POLYGON ((0 1, 1 1, 1 0, 0 ...
     Running ‘cast.R’ [2s/4s]
     Comparing ‘cast.Rout’ to ‘cast.Rout.save’ ... OK
     Running ‘crs.R’ [2s/4s]
     Comparing ‘crs.Rout’ to ‘crs.Rout.save’ ...73,87c73
    < ENSEMBLE["World Geodetic System 1984 ensemble",
    < MEMBER["World Geodetic System 1984 (Transit)",
    < ID["EPSG",1166]],
    < MEMBER["World Geodetic System 1984 (G730)",
    < ID["EPSG",1152]],
    < MEMBER["World Geodetic System 1984 (G873)",
    < ID["EPSG",1153]],
    < MEMBER["World Geodetic System 1984 (G1150)",
    < ID["EPSG",1154]],
    < MEMBER["World Geodetic System 1984 (G1674)",
    < ID["EPSG",1155]],
    < MEMBER["World Geodetic System 1984 (G1762)",
    < ID["EPSG",1156]],
    < MEMBER["World Geodetic System 1984 (G2139)",
    < ID["EPSG",1309]],
    ---
    > DATUM["World Geodetic System 1984",
    89,91c75
    < LENGTHUNIT["metre",1],
    < ID["EPSG",7030]],
    < ENSEMBLEACCURACY[2.0],
    ---
    > LENGTHUNIT["metre",1]],
    115,129c99
    < ENSEMBLE["World Geodetic System 1984 ensemble",
    < MEMBER["World Geodetic System 1984 (Transit)",
    < ID["EPSG",1166]],
    < MEMBER["World Geodetic System 1984 (G730)",
    < ID["EPSG",1152]],
    < MEMBER["World Geodetic System 1984 (G873)",
    < ID["EPSG",1153]],
    < MEMBER["World Geodetic System 1984 (G1150)",
    < ID["EPSG",1154]],
    < MEMBER["World Geodetic System 1984 (G1674)",
    < ID["EPSG",1155]],
    < MEMBER["World Geodetic System 1984 (G1762)",
    < ID["EPSG",1156]],
    < MEMBER["World Geodetic System 1984 (G2139)",
    < ID["EPSG",1309]],
    ---
    > DATUM["World Geodetic System 1984",
    131,133c101
    < LENGTHUNIT["metre",1],
    < ID["EPSG",7030]],
    < ENSEMBLEACCURACY[2.0],
    ---
    > LENGTHUNIT["metre",1]],
    158,165c126
    < 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)"],
    ---
    > DATUM["World Geodetic System 1984",
    167,168c128
    < LENGTHUNIT["metre",1]],
    < ENSEMBLEACCURACY[2.0]],
    ---
    > LENGTHUNIT["metre",1]]],
    186,193c146
    < 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)"],
    ---
    > DATUM["World Geodetic System 1984",
    195,196c148
    < LENGTHUNIT["metre",1]],
    < ENSEMBLEACCURACY[2.0]],
    ---
    > LENGTHUNIT["metre",1]]],
     Running ‘dist.R’ [2s/5s]
     Comparing ‘dist.Rout’ to ‘dist.Rout.save’ ... OK
     Running ‘dplyr.R’ [6s/11s]
     Comparing ‘dplyr.Rout’ to ‘dplyr.Rout.save’ ...78,79c78,79
    < 1 (0,0.1] 0.0760 (((-8863447 4143479, -8857175 4151339, -8858837 4156…
    < 2 (0.1,0.12] 0.112 (((-9362143 4197312, -9355589 4200996, -9354263 4203…
    ---
    > 1 (0,0.1] 0.0760 (((-9349959 4195534, -9351260 4199567, -9354263 4203…
    > 2 (0.1,0.12] 0.112 (((-9355589 4200996, -9354263 4203717, -9351260 4199…
    81c81
    < 4 (0.15,0.25] 0.190 (((-8830723 4133018, -8832558 4137955, -8832096 4141…
    ---
    > 4 (0.15,0.25] 0.190 (((-9173717 4227806, -9181049 4224455, -9186013 4224…
    184c184
    < 1 0.00000259 (((138426 177699.3, 145548.6 177837.2, 151051.2 180557.6, 152246…
    ---
    > 1 0.00000259 (((446521.1 133561, 441668.6 140459.3, 436812.5 146953.9, 433885…
    206c206
    < 1 329962 (((138426 177699.3, 145548.6 177837.2, 151051.2 180557.6, …
    ---
    > 1 329962 (((446521.1 133561, 441668.6 140459.3, 436812.5 146953.9, …
     Running ‘empty.R’ [2s/3s]
     Comparing ‘empty.Rout’ to ‘empty.Rout.save’ ... OK
     Running ‘gdal_geom.R’ [3s/5s]
     Comparing ‘gdal_geom.Rout’ to ‘gdal_geom.Rout.save’ ... OK
     Running ‘geos.R’ [20s/34s]
     Comparing ‘geos.Rout’ to ‘geos.Rout.save’ ...165a166,168
    > [1] "XY" "GEOMETRYCOLLECTION" "sfg"
    > [1] "sfc_GEOMETRYCOLLECTION" "sfc"
    > [1] "sf" "data.frame"
    554a558,571
    > LINESTRING (3 3, 2 2, 1 1)
    > Geometry set for 1 feature
    > Geometry type: LINESTRING
    > Dimension: XY
    > Bounding box: xmin: 1 ymin: 1 xmax: 3 ymax: 3
    > CRS: NA
    > LINESTRING (3 3, 2 2, 1 1)
    > Simple feature collection with 1 feature and 1 field
    > Geometry type: LINESTRING
    > Dimension: XY
    > Bounding box: xmin: 1 ymin: 1 xmax: 3 ymax: 3
    > CRS: NA
    > a geom
    > 1 2 LINESTRING (3 3, 2 2, 1 1)
     Running ‘graticule.R’ [4s/5s]
     Comparing ‘graticule.Rout’ to ‘graticule.Rout.save’ ... OK
     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’ [10s/16s]
     Comparing ‘plot.Rout’ to ‘plot.Rout.save’ ... OK
     Running ‘read.R’ [3s/6s]
     Comparing ‘read.Rout’ to ‘read.Rout.save’ ...178c178
    < Projected CRS: Undefined cartesian SRS
    ---
    > Projected CRS: Undefined Cartesian SRS
    321,323d320
    < Warning message:
    < In CPL_read_ogr(dsn, layer, query, as.character(options), quiet, :
    < GDAL Message 1: GFS file saving asked, but failed
    337,338c334
    < `/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/14s]
     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/5s]
     Comparing ‘s2.Rout’ to ‘s2.Rout.save’ ...4c4
    < Linking to GEOS 3.10.1, GDAL 3.3.3, PROJ 8.2.0
    ---
    > Linking to GEOS 3.9.0, GDAL 3.2.1, PROJ 7.2.1
    30a31
    > [1] TRUE
     Running ‘sample.R’ [2s/3s]
     Comparing ‘sample.Rout’ to ‘sample.Rout.save’ ... OK
     Running ‘sfc.R’ [17s/25s]
     Comparing ‘sfc.Rout’ to ‘sfc.Rout.save’ ...335c335
    < "3.10.1" "3.3.3" "8.2.0"
    ---
    > "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'
    1023c1021
    < POLYGON ((0.983044 0.0650651, 0.959619 0.040380...
    ---
    > POLYGON ((0 0.915082, 0.0169559 0.934935, 0.040...
    1030c1028
    < POLYGON ((0.983044 0.0650651, 0.959619 0.040380...
    ---
    > POLYGON ((0 0.915082, 0.0169559 0.934935, 0.040...
    1038c1036
    < 1 1 POLYGON ((0.983044 0.065065...
    ---
    > 1 1 POLYGON ((0 0.915082, 0.016...
    1048c1046
    < 1 1 POLYGON ((0.983044 0.065065...
    ---
    > 1 1 POLYGON ((0 0.915082, 0.016...
     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’ ...198,199c198
    < `/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’ [2s/2s]
     Running ‘testthat.R’ [16s/23s]
     Running ‘units.R’ [2s/3s]
     Comparing ‘units.Rout’ to ‘units.Rout.save’ ... OK
     Running ‘wkb.R’ [2s/2s]
     Comparing ‘wkb.Rout’ to ‘wkb.Rout.save’ ... OK
    Running the tests in ‘tests/stars.R’ failed.
    Complete output:
     > suppressPackageStartupMessages(library(sf))
     >
     > tif = system.file("tif/geomatrix.tif", package = "sf")
     >
     > gdal_metadata(tif)
     [1] "AREA_OR_POINT=Point"
     > gdal_metadata(tif, NA_character_)
     [1] "IMAGE_STRUCTURE" "DERIVED_SUBDATASETS" ""
     > try(gdal_metadata(tif, "wrongDomain"))
     Error in gdal_metadata(tif, "wrongDomain") :
     domain_item[1] not found in available metadata domains
     > gdal_metadata(tif, c("IMAGE_STRUCTURE"))
     [[1]]
     [1] "BAND"
    
     attr(,"class")
     [1] "gdal_metadata"
     > try(length(gdal_metadata(tif, c("DERIVED_SUBDATASETS")))) # fails on Fedora 26
     [1] 2
     >
     > if (require(stars)) {
     + tif = system.file("tif/geomatrix.tif", package = "sf")
     + r = read_stars(tif)
     + d = (st_dimensions(r))
     + gt = c(1841001.75, 1.5, -5, 1144003.25, -5, -1.5)
     + x1 = st_as_sfc(d, as_points = TRUE, use_cpp = TRUE, geotransform = gt)
     + x2 = st_as_sfc(d, as_points = TRUE, use_cpp = FALSE, geotransform = gt)
     + print(identical(x1, x2))
     + y1 = st_as_sfc(d, as_points = FALSE, use_cpp = TRUE, geotransform = gt)
     + y2 = st_as_sfc(d, as_points = FALSE, use_cpp = FALSE, geotransform = gt)
     + print(identical(y1, y2))
     +
     + # rectilinear grid:
     + m = matrix(1:20, nrow = 5, ncol = 4)
     + x = c(0,0.5,1,2,4,5)
     + y = c(0.3,0.5,1,2,2.2)
     + r = st_as_stars(list(m = m), dimensions = st_dimensions(x = x, y = y, .raster = c("x", "y")))
     + print(st_as_sfc(st_dimensions(r), as_points = TRUE))
     + print(st_as_sfc(st_dimensions(r), as_points = FALSE))
     +
     + # curvilinear grid:
     + lon = st_as_stars(matrix(1:5, 4, 5, byrow = TRUE))
     + lat = st_as_stars(matrix(1:4, 4, 5))
     + ll = c(X1 = lon, X2 = lat)
     + curv = st_as_stars(st_as_stars(t(m)), curvilinear = setNames(ll, c("X1", "X2")))
     + print(st_as_sfc(st_dimensions(curv), as_points = TRUE))
     + print(st_as_sfc(st_dimensions(curv), as_points = FALSE))
     +
     + demo(nc, echo = FALSE, ask = FALSE)
     + print(x <- st_rasterize(nc)) # default grid:
     + print(p <- st_as_sf(x, as_points = FALSE)) # polygonize: follow raster boundaries
     + print(p <- st_as_sf(x, as_points = FALSE, use_integer = TRUE)) # polygonize integers: follow raster boundaries
     + print(try(p <- st_as_sf(x, as_points = TRUE))) # polygonize: contour, requies GDAL >= 2.4.0
     + if (utils::packageVersion("stars") >= "0.2-1") {
     + write_stars(read_stars(tif), tempfile(fileext = ".tif"))
     + write_stars(read_stars(tif, proxy = TRUE), tempfile(fileext = ".tif"))
     + write_stars(read_stars(tif, proxy = TRUE), tempfile(fileext = ".tif"), chunk_size = c(200,200))
     + na.tif = read_stars(system.file("tif/na.tif", package = "stars"))
     + write_stars(na.tif, "na.tif")
     + write_stars(na.tif, "na.tif", NA_value = -999)
     + na.tif = read_stars(system.file("tif/na.tif", package = "stars"), NA_value = -999)
     + write_stars(na.tif, "na.tif")
     + write_stars(na.tif, "na.tif", NA_value = -999)
     + na.tif = read_stars(system.file("tif/na.tif", package = "stars"), NA_value = -999, proxy = TRUE)
     + write_stars(na.tif, "na.tif")
     + write_stars(na.tif, "na.tif", NA_value = -999)
     + }
     + # https://github.com/mtennekes/tmap/issues/368
     + if (utils::packageVersion("stars") > "0.4-0") {
     + lc = system.file('tif/lc.tif', package = 'stars')
     + if (lc != "") {
     + r = read_stars(lc, RAT = "Land Cover Class")
     + r <- droplevels(r)
     + }
     + }
     + }
     Loading required package: stars
     Loading required package: abind
     [1] TRUE
     [1] TRUE
     Geometry set for 20 features
     Geometry type: POINT
     Dimension: XY
     Bounding box: xmin: 0.25 ymin: 0.4 xmax: 4.5 ymax: 2.1
     CRS: NA
     First 5 geometries:
     POINT (0.25 0.4)
     POINT (0.75 0.4)
     POINT (1.5 0.4)
     POINT (3 0.4)
     POINT (4.5 0.4)
     Geometry set for 20 features
     Geometry type: POLYGON
     Dimension: XY
     Bounding box: xmin: 0 ymin: 0.3 xmax: 5 ymax: 2.2
     CRS: NA
     First 5 geometries:
     POLYGON ((0 0.3, 0.5 0.3, 0.5 0.5, 0 0.5, 0 0.3))
     POLYGON ((0.5 0.3, 1 0.3, 1 0.5, 0.5 0.5, 0.5 0...
     POLYGON ((1 0.3, 2 0.3, 2 0.5, 1 0.5, 1 0.3))
     POLYGON ((2 0.3, 4 0.3, 4 0.5, 2 0.5, 2 0.3))
     POLYGON ((4 0.3, 5 0.3, 5 0.5, 4 0.5, 4 0.3))
     Error: C stack usage 15943248 is too close to the limit
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0-4
Check: installed package size
Result: NOTE
     installed size is 14.5Mb
     sub-directories of 1Mb or more:
     doc 1.7Mb
     libs 8.2Mb
     sqlite 1.5Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64-new-UL, r-devel-windows-x86_64-old, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-ix86+x86_64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.0-4
Check: tests
Result: ERROR
     Running ‘aggregate.R’
     Comparing ‘aggregate.Rout’ to ‘aggregate.Rout.save’ ...4c4
    < Linking to GEOS 3.8.1, GDAL 3.0.4, PROJ 6.3.2
    ---
    > Linking to GEOS 3.9.0, GDAL 3.2.1, PROJ 7.2.1
    26c26
    < 1 1 1.5 POLYGON ((1 1, 1 0, 0 0, 0 ...
    ---
    > 1 1 1.5 POLYGON ((0 1, 1 1, 1 0, 0 ...
     Running ‘cast.R’
     Comparing ‘cast.Rout’ to ‘cast.Rout.save’ ... OK
     Running ‘crs.R’
     Comparing ‘crs.Rout’ to ‘crs.Rout.save’ ...91c91
    < AREA["World"],
    ---
    > AREA["World."],
    117c117
    < AREA["World"],
    ---
    > AREA["World."],
    139,140c139,140
    < SCOPE["unknown"],
    < AREA["World"],
    ---
    > SCOPE["Horizontal component of 3D system."],
    > AREA["World."],
    159,160c159,160
    < SCOPE["unknown"],
    < AREA["World"],
    ---
    > SCOPE["Horizontal component of 3D system."],
    > AREA["World."],
     Running ‘dist.R’
     Comparing ‘dist.Rout’ to ‘dist.Rout.save’ ... OK
     Running ‘dplyr.R’ [12s/12s]
     Comparing ‘dplyr.Rout’ to ‘dplyr.Rout.save’ ...78,81c78,81
    < 1 (0,0.1] 0.0760 (((-8678517 4054264, -8679088 4061405, -8680136 4061…
    < 2 (0.1,0.12] 0.112 (((-9383227 4192541, -9375980 4199500, -9370835 4196…
    < 3 (0.12,0.15] 0.134 (((-8520830 4108031, -8522040 4111119, -8520104 4111…
    < 4 (0.15,0.25] 0.190 (((-8685774 4073056, -8684147 4070879, -8683670 4067…
    ---
    > 1 (0,0.1] 0.0760 (((-9349959 4195534, -9351260 4199567, -9354263 4203…
    > 2 (0.1,0.12] 0.112 (((-9355589 4200996, -9354263 4203717, -9351260 4199…
    > 3 (0.12,0.15] 0.134 (((-9302071 4171499, -9311146 4181234, -9311292 4183…
    > 4 (0.15,0.25] 0.190 (((-9173717 4227806, -9181049 4224455, -9186013 4224…
    184c184
    < 1 0.00000259 (((705429.2 49248.34, 705861.5 27435.66, 698897.7 18679.88, 6485…
    ---
    > 1 0.00000259 (((446521.1 133561, 441668.6 140459.3, 436812.5 146953.9, 433885…
    194c194
    < 1 0.00000259 (((724644.4 62316.58, 714305.9 49733.25, 711692 35996.55, 70…
    ---
    > 1 0.00000259 (((154399.2 148898.9, 142569.6 149407.8, 123829 150481.4, 12…
    206c206
    < 1 329962 (((705429.2 49248.34, 705861.5 27435.66, 698897.7 18679.88…
    ---
    > 1 329962 (((446521.1 133561, 441668.6 140459.3, 436812.5 146953.9, …
    216c216
    < 1 329962 (((724644.4 62316.58, 714305.9 49733.25, 711692 35996.55,…
    ---
    > 1 329962 (((154399.2 148898.9, 142569.6 149407.8, 123829 150481.4,…
     Running ‘empty.R’
     Comparing ‘empty.Rout’ to ‘empty.Rout.save’ ... OK
     Running ‘gdal_geom.R’
     Comparing ‘gdal_geom.Rout’ to ‘gdal_geom.Rout.save’ ...277c277
    < Bounding box: xmin: -39.65182 ymin: 10.91731 xmax: 21.97439 ymax: 61.16965
    ---
    > Bounding box: xmin: -39.65182 ymin: 10.93649 xmax: 21.97439 ymax: 61.16965
     Running ‘geos.R’ [40s/40s]
     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 ‘maps.R’
     Comparing ‘maps.Rout’ to ‘maps.Rout.save’ ... OK
     Running ‘plot.R’ [15s/15s]
     Comparing ‘plot.Rout’ to ‘plot.Rout.save’ ... OK
     Running ‘read.R’
     Comparing ‘read.Rout’ to ‘read.Rout.save’ ...334,335c334
    < `/data/gannet/ripley/R/packages/tests-clang/sf.Rcheck/tests/tst__.gpkg'
    < using driver `GPKG'
    ---
    > `/home/edzer/git/sf.Rcheck/tests/tst__.gpkg' using driver `GPKG'
     Running ‘roundtrip.R’ [14s/14s]
     Comparing ‘roundtrip.Rout’ to ‘roundtrip.Rout.save’ ...147,148c147
    < `/data/gannet/ripley/R/packages/tests-clang/sf.Rcheck/sf/gpkg/nc.gpkg'
    < using driver `GPKG'
    ---
    > `/home/edzer/git/sf.Rcheck/sf/gpkg/nc.gpkg' using driver `GPKG'
     Running ‘s2.R’
     Comparing ‘s2.Rout’ to ‘s2.Rout.save’ ...4c4
    < Linking to GEOS 3.8.1, GDAL 3.0.4, PROJ 6.3.2
    ---
    > Linking to GEOS 3.9.0, GDAL 3.2.1, PROJ 7.2.1
     Running ‘sample.R’
     Comparing ‘sample.Rout’ to ‘sample.Rout.save’ ... OK
     Running ‘sfc.R’ [39s/40s]
     Comparing ‘sfc.Rout’ to ‘sfc.Rout.save’ ...335c335
    < "3.8.1" "3.0.4" "6.3.2"
    ---
    > "3.9.0" "3.2.1" "7.2.1"
    641,643c641
    < 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'
    1023c1021
    < POLYGON ((1 0.0849179, 0.983044 0.0650651, 0.95...
    ---
    > POLYGON ((0 0.915082, 0.0169559 0.934935, 0.040...
    1030c1028
    < POLYGON ((1 0.0849179, 0.983044 0.0650651, 0.95...
    ---
    > POLYGON ((0 0.915082, 0.0169559 0.934935, 0.040...
    1038c1036
    < 1 1 POLYGON ((1 0.0849179, 0.98...
    ---
    > 1 1 POLYGON ((0 0.915082, 0.016...
    1048c1046
    < 1 1 POLYGON ((1 0.0849179, 0.98...
    ---
    > 1 1 POLYGON ((0 0.915082, 0.016...
     Running ‘sfg.R’
     Comparing ‘sfg.Rout’ to ‘sfg.Rout.save’ ... OK
     Running ‘spatstat.R’
     Comparing ‘spatstat.Rout’ to ‘spatstat.Rout.save’ ...198,199c198
    < `/data/gannet/ripley/R/packages/tests-clang/sf.Rcheck/sf/gpkg/nc.gpkg'
    < using driver `GPKG'
    ---
    > `/home/edzer/git/sf.Rcheck/sf/gpkg/nc.gpkg' using driver `GPKG'
     Running ‘stars.R’
     Running ‘testthat.R’ [26s/27s]
     Running ‘units.R’
     Comparing ‘units.Rout’ to ‘units.Rout.save’ ... OK
     Running ‘wkb.R’
     Comparing ‘wkb.Rout’ to ‘wkb.Rout.save’ ... OK
    Running the tests in ‘tests/stars.R’ failed.
    Complete output:
     > suppressPackageStartupMessages(library(sf))
     >
     > tif = system.file("tif/geomatrix.tif", package = "sf")
     >
     > gdal_metadata(tif)
     [1] "AREA_OR_POINT=Point"
     > gdal_metadata(tif, NA_character_)
     [1] "IMAGE_STRUCTURE" "DERIVED_SUBDATASETS" ""
     > try(gdal_metadata(tif, "wrongDomain"))
     Error in gdal_metadata(tif, "wrongDomain") :
     domain_item[1] not found in available metadata domains
     > gdal_metadata(tif, c("IMAGE_STRUCTURE"))
     [[1]]
     [1] "BAND"
    
     attr(,"class")
     [1] "gdal_metadata"
     > try(length(gdal_metadata(tif, c("DERIVED_SUBDATASETS")))) # fails on Fedora 26
     [1] 2
     >
     > if (require(stars)) {
     + tif = system.file("tif/geomatrix.tif", package = "sf")
     + r = read_stars(tif)
     + d = (st_dimensions(r))
     + gt = c(1841001.75, 1.5, -5, 1144003.25, -5, -1.5)
     + x1 = st_as_sfc(d, as_points = TRUE, use_cpp = TRUE, geotransform = gt)
     + x2 = st_as_sfc(d, as_points = TRUE, use_cpp = FALSE, geotransform = gt)
     + print(identical(x1, x2))
     + y1 = st_as_sfc(d, as_points = FALSE, use_cpp = TRUE, geotransform = gt)
     + y2 = st_as_sfc(d, as_points = FALSE, use_cpp = FALSE, geotransform = gt)
     + print(identical(y1, y2))
     +
     + # rectilinear grid:
     + m = matrix(1:20, nrow = 5, ncol = 4)
     + x = c(0,0.5,1,2,4,5)
     + y = c(0.3,0.5,1,2,2.2)
     + r = st_as_stars(list(m = m), dimensions = st_dimensions(x = x, y = y, .raster = c("x", "y")))
     + print(st_as_sfc(st_dimensions(r), as_points = TRUE))
     + print(st_as_sfc(st_dimensions(r), as_points = FALSE))
     +
     + # curvilinear grid:
     + lon = st_as_stars(matrix(1:5, 4, 5, byrow = TRUE))
     + lat = st_as_stars(matrix(1:4, 4, 5))
     + ll = c(X1 = lon, X2 = lat)
     + curv = st_as_stars(st_as_stars(t(m)), curvilinear = setNames(ll, c("X1", "X2")))
     + print(st_as_sfc(st_dimensions(curv), as_points = TRUE))
     + print(st_as_sfc(st_dimensions(curv), as_points = FALSE))
     +
     + demo(nc, echo = FALSE, ask = FALSE)
     + print(x <- st_rasterize(nc)) # default grid:
     + print(p <- st_as_sf(x, as_points = FALSE)) # polygonize: follow raster boundaries
     + print(p <- st_as_sf(x, as_points = FALSE, use_integer = TRUE)) # polygonize integers: follow raster boundaries
     + print(try(p <- st_as_sf(x, as_points = TRUE))) # polygonize: contour, requies GDAL >= 2.4.0
     + if (utils::packageVersion("stars") >= "0.2-1") {
     + write_stars(read_stars(tif), tempfile(fileext = ".tif"))
     + write_stars(read_stars(tif, proxy = TRUE), tempfile(fileext = ".tif"))
     + write_stars(read_stars(tif, proxy = TRUE), tempfile(fileext = ".tif"), chunk_size = c(200,200))
     + na.tif = read_stars(system.file("tif/na.tif", package = "stars"))
     + write_stars(na.tif, "na.tif")
     + write_stars(na.tif, "na.tif", NA_value = -999)
     + na.tif = read_stars(system.file("tif/na.tif", package = "stars"), NA_value = -999)
     + write_stars(na.tif, "na.tif")
     + write_stars(na.tif, "na.tif", NA_value = -999)
     + na.tif = read_stars(system.file("tif/na.tif", package = "stars"), NA_value = -999, proxy = TRUE)
     + write_stars(na.tif, "na.tif")
     + write_stars(na.tif, "na.tif", NA_value = -999)
     + }
     + # https://github.com/mtennekes/tmap/issues/368
     + if (utils::packageVersion("stars") > "0.4-0") {
     + lc = system.file('tif/lc.tif', package = 'stars')
     + if (lc != "") {
     + r = read_stars(lc, RAT = "Land Cover Class")
     + r <- droplevels(r)
     + }
     + }
     + }
     Loading required package: stars
     Loading required package: abind
     [1] TRUE
     [1] TRUE
     Geometry set for 20 features
     Geometry type: POINT
     Dimension: XY
     Bounding box: xmin: 0.25 ymin: 0.4 xmax: 4.5 ymax: 2.1
     CRS: NA
     First 5 geometries:
     POINT (0.25 0.4)
     POINT (0.75 0.4)
     POINT (1.5 0.4)
     POINT (3 0.4)
     POINT (4.5 0.4)
     Geometry set for 20 features
     Geometry type: POLYGON
     Dimension: XY
     Bounding box: xmin: 0 ymin: 0.3 xmax: 5 ymax: 2.2
     CRS: NA
     First 5 geometries:
     POLYGON ((0 0.3, 0.5 0.3, 0.5 0.5, 0 0.5, 0 0.3))
     POLYGON ((0.5 0.3, 1 0.3, 1 0.5, 0.5 0.5, 0.5 0...
     POLYGON ((1 0.3, 2 0.3, 2 0.5, 1 0.5, 1 0.3))
     POLYGON ((2 0.3, 4 0.3, 4 0.5, 2 0.5, 2 0.3))
     POLYGON ((4 0.3, 5 0.3, 5 0.5, 4 0.5, 4 0.3))
     Error in (function (cond) :
     error in evaluating the argument 'x' in selecting a method for function '%in%': evaluation nested too deeply: infinite recursion / options(expressions=)?
     Calls: st_as_stars ... is_curvilinear -> has_raster -> %in% -> $ -> <Anonymous>
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0-4
Check: tests
Result: ERROR
     Running ‘aggregate.R’
     Comparing ‘aggregate.Rout’ to ‘aggregate.Rout.save’ ...4c4
    < Linking to GEOS 3.8.1, GDAL 3.0.4, PROJ 6.3.2
    ---
    > Linking to GEOS 3.9.0, GDAL 3.2.1, PROJ 7.2.1
    26c26
    < 1 1 1.5 POLYGON ((1 1, 1 0, 0 0, 0 ...
    ---
    > 1 1 1.5 POLYGON ((0 1, 1 1, 1 0, 0 ...
     Running ‘cast.R’
     Comparing ‘cast.Rout’ to ‘cast.Rout.save’ ... OK
     Running ‘crs.R’
     Comparing ‘crs.Rout’ to ‘crs.Rout.save’ ...91c91
    < AREA["World"],
    ---
    > AREA["World."],
    117c117
    < AREA["World"],
    ---
    > AREA["World."],
    139,140c139,140
    < SCOPE["unknown"],
    < AREA["World"],
    ---
    > SCOPE["Horizontal component of 3D system."],
    > AREA["World."],
    159,160c159,160
    < SCOPE["unknown"],
    < AREA["World"],
    ---
    > SCOPE["Horizontal component of 3D system."],
    > AREA["World."],
     Running ‘dist.R’
     Comparing ‘dist.Rout’ to ‘dist.Rout.save’ ... OK
     Running ‘dplyr.R’ [12s/12s]
     Comparing ‘dplyr.Rout’ to ‘dplyr.Rout.save’ ...78,81c78,81
    < 1 (0,0.1] 0.0760 (((-8678517 4054264, -8679088 4061405, -8680136 4061…
    < 2 (0.1,0.12] 0.112 (((-9383227 4192541, -9375980 4199500, -9370835 4196…
    < 3 (0.12,0.15] 0.134 (((-8520830 4108031, -8522040 4111119, -8520104 4111…
    < 4 (0.15,0.25] 0.190 (((-8685774 4073056, -8684147 4070879, -8683670 4067…
    ---
    > 1 (0,0.1] 0.0760 (((-9349959 4195534, -9351260 4199567, -9354263 4203…
    > 2 (0.1,0.12] 0.112 (((-9355589 4200996, -9354263 4203717, -9351260 4199…
    > 3 (0.12,0.15] 0.134 (((-9302071 4171499, -9311146 4181234, -9311292 4183…
    > 4 (0.15,0.25] 0.190 (((-9173717 4227806, -9181049 4224455, -9186013 4224…
    184c184
    < 1 0.00000259 (((705429.2 49248.34, 705861.5 27435.66, 698897.7 18679.88, 6485…
    ---
    > 1 0.00000259 (((446521.1 133561, 441668.6 140459.3, 436812.5 146953.9, 433885…
    194c194
    < 1 0.00000259 (((724644.4 62316.58, 714305.9 49733.25, 711692 35996.55, 70…
    ---
    > 1 0.00000259 (((154399.2 148898.9, 142569.6 149407.8, 123829 150481.4, 12…
    206c206
    < 1 329962 (((705429.2 49248.34, 705861.5 27435.66, 698897.7 18679.88…
    ---
    > 1 329962 (((446521.1 133561, 441668.6 140459.3, 436812.5 146953.9, …
    216c216
    < 1 329962 (((724644.4 62316.58, 714305.9 49733.25, 711692 35996.55,…
    ---
    > 1 329962 (((154399.2 148898.9, 142569.6 149407.8, 123829 150481.4,…
     Running ‘empty.R’
     Comparing ‘empty.Rout’ to ‘empty.Rout.save’ ... OK
     Running ‘gdal_geom.R’
     Comparing ‘gdal_geom.Rout’ to ‘gdal_geom.Rout.save’ ... OK
     Running ‘geos.R’ [42s/43s]
     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 ‘maps.R’
     Comparing ‘maps.Rout’ to ‘maps.Rout.save’ ... OK
     Running ‘plot.R’ [15s/15s]
     Comparing ‘plot.Rout’ to ‘plot.Rout.save’ ... OK
     Running ‘read.R’
     Comparing ‘read.Rout’ to ‘read.Rout.save’ ...334,335c334
    < `/data/gannet/ripley/R/packages/tests-devel/sf.Rcheck/tests/tst__.gpkg'
    < using driver `GPKG'
    ---
    > `/home/edzer/git/sf.Rcheck/tests/tst__.gpkg' using driver `GPKG'
     Running ‘roundtrip.R’ [14s/14s]
     Comparing ‘roundtrip.Rout’ to ‘roundtrip.Rout.save’ ...147,148c147
    < `/data/gannet/ripley/R/packages/tests-devel/sf.Rcheck/sf/gpkg/nc.gpkg'
    < using driver `GPKG'
    ---
    > `/home/edzer/git/sf.Rcheck/sf/gpkg/nc.gpkg' using driver `GPKG'
     Running ‘s2.R’
     Comparing ‘s2.Rout’ to ‘s2.Rout.save’ ...4c4
    < Linking to GEOS 3.8.1, GDAL 3.0.4, PROJ 6.3.2
    ---
    > Linking to GEOS 3.9.0, GDAL 3.2.1, PROJ 7.2.1
     Running ‘sample.R’
     Comparing ‘sample.Rout’ to ‘sample.Rout.save’ ... OK
     Running ‘sfc.R’ [41s/41s]
     Comparing ‘sfc.Rout’ to ‘sfc.Rout.save’ ...335c335
    < "3.8.1" "3.0.4" "6.3.2"
    ---
    > "3.9.0" "3.2.1" "7.2.1"
    641,643c641
    < Reading layer `nc' from data source
    < `/data/gannet/ripley/R/packages/tests-devel/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'
    1023c1021
    < POLYGON ((1 0.0849179, 0.983044 0.0650651, 0.95...
    ---
    > POLYGON ((0 0.915082, 0.0169559 0.934935, 0.040...
    1030c1028
    < POLYGON ((1 0.0849179, 0.983044 0.0650651, 0.95...
    ---
    > POLYGON ((0 0.915082, 0.0169559 0.934935, 0.040...
    1038c1036
    < 1 1 POLYGON ((1 0.0849179, 0.98...
    ---
    > 1 1 POLYGON ((0 0.915082, 0.016...
    1048c1046
    < 1 1 POLYGON ((1 0.0849179, 0.98...
    ---
    > 1 1 POLYGON ((0 0.915082, 0.016...
     Running ‘sfg.R’
     Comparing ‘sfg.Rout’ to ‘sfg.Rout.save’ ... OK
     Running ‘spatstat.R’
     Comparing ‘spatstat.Rout’ to ‘spatstat.Rout.save’ ...198,199c198
    < `/data/gannet/ripley/R/packages/tests-devel/sf.Rcheck/sf/gpkg/nc.gpkg'
    < using driver `GPKG'
    ---
    > `/home/edzer/git/sf.Rcheck/sf/gpkg/nc.gpkg' using driver `GPKG'
     Running ‘stars.R’
     Running ‘testthat.R’ [27s/27s]
     Running ‘units.R’
     Comparing ‘units.Rout’ to ‘units.Rout.save’ ... OK
     Running ‘wkb.R’
     Comparing ‘wkb.Rout’ to ‘wkb.Rout.save’ ... OK
    Running the tests in ‘tests/stars.R’ failed.
    Complete output:
     > suppressPackageStartupMessages(library(sf))
     >
     > tif = system.file("tif/geomatrix.tif", package = "sf")
     >
     > gdal_metadata(tif)
     [1] "AREA_OR_POINT=Point"
     > gdal_metadata(tif, NA_character_)
     [1] "IMAGE_STRUCTURE" "DERIVED_SUBDATASETS" ""
     > try(gdal_metadata(tif, "wrongDomain"))
     Error in gdal_metadata(tif, "wrongDomain") :
     domain_item[1] not found in available metadata domains
     > gdal_metadata(tif, c("IMAGE_STRUCTURE"))
     [[1]]
     [1] "BAND"
    
     attr(,"class")
     [1] "gdal_metadata"
     > try(length(gdal_metadata(tif, c("DERIVED_SUBDATASETS")))) # fails on Fedora 26
     [1] 2
     >
     > if (require(stars)) {
     + tif = system.file("tif/geomatrix.tif", package = "sf")
     + r = read_stars(tif)
     + d = (st_dimensions(r))
     + gt = c(1841001.75, 1.5, -5, 1144003.25, -5, -1.5)
     + x1 = st_as_sfc(d, as_points = TRUE, use_cpp = TRUE, geotransform = gt)
     + x2 = st_as_sfc(d, as_points = TRUE, use_cpp = FALSE, geotransform = gt)
     + print(identical(x1, x2))
     + y1 = st_as_sfc(d, as_points = FALSE, use_cpp = TRUE, geotransform = gt)
     + y2 = st_as_sfc(d, as_points = FALSE, use_cpp = FALSE, geotransform = gt)
     + print(identical(y1, y2))
     +
     + # rectilinear grid:
     + m = matrix(1:20, nrow = 5, ncol = 4)
     + x = c(0,0.5,1,2,4,5)
     + y = c(0.3,0.5,1,2,2.2)
     + r = st_as_stars(list(m = m), dimensions = st_dimensions(x = x, y = y, .raster = c("x", "y")))
     + print(st_as_sfc(st_dimensions(r), as_points = TRUE))
     + print(st_as_sfc(st_dimensions(r), as_points = FALSE))
     +
     + # curvilinear grid:
     + lon = st_as_stars(matrix(1:5, 4, 5, byrow = TRUE))
     + lat = st_as_stars(matrix(1:4, 4, 5))
     + ll = c(X1 = lon, X2 = lat)
     + curv = st_as_stars(st_as_stars(t(m)), curvilinear = setNames(ll, c("X1", "X2")))
     + print(st_as_sfc(st_dimensions(curv), as_points = TRUE))
     + print(st_as_sfc(st_dimensions(curv), as_points = FALSE))
     +
     + demo(nc, echo = FALSE, ask = FALSE)
     + print(x <- st_rasterize(nc)) # default grid:
     + print(p <- st_as_sf(x, as_points = FALSE)) # polygonize: follow raster boundaries
     + print(p <- st_as_sf(x, as_points = FALSE, use_integer = TRUE)) # polygonize integers: follow raster boundaries
     + print(try(p <- st_as_sf(x, as_points = TRUE))) # polygonize: contour, requies GDAL >= 2.4.0
     + if (utils::packageVersion("stars") >= "0.2-1") {
     + write_stars(read_stars(tif), tempfile(fileext = ".tif"))
     + write_stars(read_stars(tif, proxy = TRUE), tempfile(fileext = ".tif"))
     + write_stars(read_stars(tif, proxy = TRUE), tempfile(fileext = ".tif"), chunk_size = c(200,200))
     + na.tif = read_stars(system.file("tif/na.tif", package = "stars"))
     + write_stars(na.tif, "na.tif")
     + write_stars(na.tif, "na.tif", NA_value = -999)
     + na.tif = read_stars(system.file("tif/na.tif", package = "stars"), NA_value = -999)
     + write_stars(na.tif, "na.tif")
     + write_stars(na.tif, "na.tif", NA_value = -999)
     + na.tif = read_stars(system.file("tif/na.tif", package = "stars"), NA_value = -999, proxy = TRUE)
     + write_stars(na.tif, "na.tif")
     + write_stars(na.tif, "na.tif", NA_value = -999)
     + }
     + # https://github.com/mtennekes/tmap/issues/368
     + if (utils::packageVersion("stars") > "0.4-0") {
     + lc = system.file('tif/lc.tif', package = 'stars')
     + if (lc != "") {
     + r = read_stars(lc, RAT = "Land Cover Class")
     + r <- droplevels(r)
     + }
     + }
     + }
     Loading required package: stars
     Loading required package: abind
     [1] TRUE
     [1] TRUE
     Geometry set for 20 features
     Geometry type: POINT
     Dimension: XY
     Bounding box: xmin: 0.25 ymin: 0.4 xmax: 4.5 ymax: 2.1
     CRS: NA
     First 5 geometries:
     POINT (0.25 0.4)
     POINT (0.75 0.4)
     POINT (1.5 0.4)
     POINT (3 0.4)
     POINT (4.5 0.4)
     Geometry set for 20 features
     Geometry type: POLYGON
     Dimension: XY
     Bounding box: xmin: 0 ymin: 0.3 xmax: 5 ymax: 2.2
     CRS: NA
     First 5 geometries:
     POLYGON ((0 0.3, 0.5 0.3, 0.5 0.5, 0 0.5, 0 0.3))
     POLYGON ((0.5 0.3, 1 0.3, 1 0.5, 0.5 0.5, 0.5 0...
     POLYGON ((1 0.3, 2 0.3, 2 0.5, 1 0.5, 1 0.3))
     POLYGON ((2 0.3, 4 0.3, 4 0.5, 2 0.5, 2 0.3))
     POLYGON ((4 0.3, 5 0.3, 5 0.5, 4 0.5, 4 0.3))
     Error: C stack usage 19928276 is too close to the limit
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0-4
Check: tests
Result: ERROR
     Running 'aggregate.R'
     Comparing 'aggregate.Rout' to 'aggregate.Rout.save' ...4c4
    < Linking to GEOS 3.9.1, GDAL 3.3.2, PROJ 7.2.1
    ---
    > Linking to GEOS 3.9.0, GDAL 3.2.1, PROJ 7.2.1
    26c26
    < 1 1 1.5 POLYGON ((1 0, 0 0, 0 1, 1 ...
    ---
    > 1 1 1.5 POLYGON ((0 1, 1 1, 1 0, 0 ...
     Running 'cast.R'
     Comparing 'cast.Rout' to 'cast.Rout.save' ... OK
     Running 'crs.R'
     Comparing 'crs.Rout' to 'crs.Rout.save' ... OK
     Running 'dist.R'
     Comparing 'dist.Rout' to 'dist.Rout.save' ... OK
     Running 'dplyr.R'
     Comparing 'dplyr.Rout' to 'dplyr.Rout.save' ...73c73
    < Bounding box: xmin: -9386879 ymin: 4012985 xmax: -8399792 ymax: 4382074
    ---
    > Bounding box: xmin: -9386880 ymin: 4012991 xmax: -8399788 ymax: 4382079
    78,81c78,81
    < 1 (0,0.1] 0.0760 (((-8683671 4067127, -8684148 4070872, -8685776 4073…
    < 2 (0.1,0.12] 0.112 (((-9355589 4201000, -9354262 4203720, -9351260 4199…
    < 3 (0.12,0.15] 0.134 (((-9302072 4171501, -9311147 4181236, -9311293 4183…
    < 4 (0.15,0.25] 0.190 (((-8682914 4064845, -8681013 4064010, -8680138 4061…
    ---
    > 1 (0,0.1] 0.0760 (((-9349959 4195534, -9351260 4199567, -9354263 4203…
    > 2 (0.1,0.12] 0.112 (((-9355589 4200996, -9354263 4203717, -9351260 4199…
    > 3 (0.12,0.15] 0.134 (((-9302071 4171499, -9311146 4181234, -9311292 4183…
    > 4 (0.15,0.25] 0.190 (((-9173717 4227806, -9181049 4224455, -9186013 4224…
    105c105
    < Bounding box: xmin: -8802506 ymin: 4012985 xmax: -8492272 ymax: 4166159
    ---
    > Bounding box: xmin: -8802506 ymin: 4012991 xmax: -8492268 ymax: 4166167
    110,115c110,115
    < 1 95 (((-8588149 4131915, -8589852 4133296, -8589358 4135190, -8… SID79 4
    < 2 96 (((-8712000 4081952, -8719512 4077857, -8731642 4078857, -8… SID79 5
    < 3 97 (((-8685776 4073050, -8697388 4077816, -8700121 4077563, -8… SID79 3
    < 4 98 (((-8755886 4021930, -8802506 4069789, -8798771 4071773, -8… SID79 17
    < 5 99 (((-8678518 4054258, -8679090 4061398, -8680138 4061543, -8… SID79 9
    < 6 100 (((-8755886 4021930, -8753548 4025863, -8753053 4030189, -8… SID79 6
    ---
    > 1 95 (((-8588146 4131923, -8589850 4133303, -8589356 4135198, -8… SID79 4
    > 2 96 (((-8711999 4081959, -8719511 4077863, -8731642 4078864, -8… SID79 5
    > 3 97 (((-8685774 4073056, -8697387 4077823, -8700120 4077570, -8… SID79 3
    > 4 98 (((-8755885 4021935, -8802506 4069795, -8798771 4071779, -8… SID79 17
    > 5 99 (((-8678517 4054264, -8679088 4061405, -8680136 4061550, -8… SID79 9
    > 6 100 (((-8755885 4021935, -8753548 4025868, -8753052 4030195, -8… SID79 6
    120c120
    < Bounding box: xmin: -9099356 ymin: 4310656 xmax: -8434990 ymax: 4382074
    ---
    > Bounding box: xmin: -9099356 ymin: 4310668 xmax: -8434988 ymax: 4382079
    125,130c125,130
    < 1 1 (((-9069486 4332928, -9077065 4338195, -9079419 4338345, -9… 1 0
    < 2 2 (((-9043563 4351024, -9043652 4352966, -9046118 4356510, -9… 0 3
    < 3 3 (((-8956336 4334060, -8958567 4335740, -8965302 4336017, -8… 5 6
    < 4 4 (((-8461242 4344697, -8462174 4347203, -8463903 4346960, -8… 1 2
    < 5 5 (((-8595797 4333842, -8597684 4330201, -8604809 4329777, -8… 9 3
    < 6 6 (((-8543186 4332866, -8569416 4332359, -8570982 4333096, -8… 7 5
    ---
    > 1 1 (((-9069486 4332934, -9077066 4338201, -9079419 4338351, -9… 1 0
    > 2 2 (((-9043562 4351030, -9043652 4352973, -9046117 4356516, -9… 0 3
    > 3 3 (((-8956335 4334068, -8958566 4335747, -8965300 4336025, -8… 5 6
    > 4 4 (((-8461241 4344709, -8462173 4347214, -8463902 4346972, -8… 1 2
    > 5 5 (((-8595797 4333852, -8597683 4330212, -8604808 4329788, -8… 9 3
    > 6 6 (((-8543185 4332878, -8569416 4332369, -8570981 4333107, -8… 7 5
    135c135
    < Bounding box: xmin: -9099356 ymin: 4310656 xmax: -8434990 ymax: 4382074
    ---
    > Bounding box: xmin: -9099356 ymin: 4310668 xmax: -8434988 ymax: 4382079
    140,145c140,145
    < 1 (((-9069486 4332928, -9077065 4338195, -9079419 4338345, -9… 1 1 0
    < 2 (((-9043563 4351024, -9043652 4352966, -9046118 4356510, -9… 2 0 3
    < 3 (((-8956336 4334060, -8958567 4335740, -8965302 4336017, -8… 3 5 6
    < 4 (((-8461242 4344697, -8462174 4347203, -8463903 4346960, -8… 4 1 2
    < 5 (((-8595797 4333842, -8597684 4330201, -8604809 4329777, -8… 5 9 3
    < 6 (((-8543186 4332866, -8569416 4332359, -8570982 4333096, -8… 6 7 5
    ---
    > 1 (((-9069486 4332934, -9077066 4338201, -9079419 4338351, -9… 1 1 0
    > 2 (((-9043562 4351030, -9043652 4352973, -9046117 4356516, -9… 2 0 3
    > 3 (((-8956335 4334068, -8958566 4335747, -8965300 4336025, -8… 3 5 6
    > 4 (((-8461241 4344709, -8462173 4347214, -8463902 4346972, -8… 4 1 2
    > 5 (((-8595797 4333852, -8597683 4330212, -8604808 4329788, -8… 5 9 3
    > 6 (((-8543185 4332878, -8569416 4332369, -8570981 4333107, -8… 6 7 5
    179c179
    < Bounding box: xmin: 123829.8 ymin: 14740.06 xmax: 930518.6 ymax: 318255.5
    ---
    > Bounding box: xmin: 123829 ymin: 14744.69 xmax: 930521.8 ymax: 318259.9
    184c184
    < 1 0.00000259 (((705860.3 27430.49, 698896.5 18674.82, 648512.1 14740.06, 6414…
    ---
    > 1 0.00000259 (((446521.1 133561, 441668.6 140459.3, 436812.5 146953.9, 433885…
    189c189
    < Bounding box: xmin: 123829.8 ymin: 14740.06 xmax: 930518.6 ymax: 318255.5
    ---
    > Bounding box: xmin: 123829 ymin: 14744.69 xmax: 930521.8 ymax: 318259.9
    194c194
    < 1 0.00000259 (((835417.3 98649.53, 840065.8 108054.4, 844664.4 115168.6, …
    ---
    > 1 0.00000259 (((154399.2 148898.9, 142569.6 149407.8, 123829 150481.4, 12…
    201c201
    < Bounding box: xmin: 123829.8 ymin: 14740.06 xmax: 930518.6 ymax: 318255.5
    ---
    > Bounding box: xmin: 123829 ymin: 14744.69 xmax: 930521.8 ymax: 318259.9
    206c206
    < 1 329962 (((705860.3 27430.49, 698896.5 18674.82, 648512.1 14740.06…
    ---
    > 1 329962 (((446521.1 133561, 441668.6 140459.3, 436812.5 146953.9, …
    211c211
    < Bounding box: xmin: 123829.8 ymin: 14740.06 xmax: 930518.6 ymax: 318255.5
    ---
    > Bounding box: xmin: 123829 ymin: 14744.69 xmax: 930521.8 ymax: 318259.9
    216c216
    < 1 329962 (((835417.3 98649.53, 840065.8 108054.4, 844664.4 115168.…
    ---
    > 1 329962 (((154399.2 148898.9, 142569.6 149407.8, 123829 150481.4,…
     Running 'empty.R'
     Comparing 'empty.Rout' to 'empty.Rout.save' ... OK
     Running 'gdal_geom.R'
     Comparing 'gdal_geom.Rout' to 'gdal_geom.Rout.save' ...241,245c241,245
    < [1,] 1760230516 0.114
    < [2,] 946417787 0.061
    < [3,] 2202223078 0.143
    < [4,] 1074332698 0.070
    < [5,] 2352528086 0.153
    ---
    > [1,] 1760244967 0.114
    > [2,] 946435667 0.061
    > [3,] 2202248253 0.143
    > [4,] 1074351919 0.070
    > [5,] 2352539533 0.153
     Running 'geos.R'
     Comparing 'geos.Rout' to 'geos.Rout.save' ...13,22c13,22
    < [1,] 0.00 0.00 25651.99 440561.48 299772.34 361529.73 419671.66
    < [2,] 0.00 0.00 0.00 409429.44 268945.05 332590.52 388545.58
    < [3,] 25651.99 0.00 0.00 367556.52 227018.38 290298.04 346669.14
    < [4,] 440561.48 409429.44 367556.52 0.00 67226.86 45537.62 0.00
    < [5,] 299772.34 268945.05 227018.38 67226.86 0.00 0.00 46527.56
    < [6,] 361529.73 332590.52 290298.04 45537.62 0.00 0.00 30213.17
    < [7,] 419671.66 388545.58 346669.14 0.00 46527.56 30213.17 0.00
    < [8,] 384593.29 354295.06 312351.76 16130.19 11926.86 0.00 0.00
    < [9,] 262353.97 231217.73 189310.73 140455.97 0.00 64606.27 119564.00
    < [10,] 71138.53 41943.71 0.00 330752.58 190183.42 252373.26 309863.33
    ---
    > [1,] 0.00 0.00 25652.53 440561.15 299772.18 361529.53 419671.2
    > [2,] 0.00 0.00 0.00 409428.54 268944.31 332589.77 388544.5
    > [3,] 25652.53 0.00 0.00 367555.48 227017.51 290297.10 346667.9
    > [4,] 440561.15 409428.54 367555.48 0.00 67226.86 45537.55 0.0
    > [5,] 299772.18 268944.31 227017.51 67226.86 0.00 0.00 46527.4
    > [6,] 361529.53 332589.77 290297.10 45537.55 0.00 0.00 30213.0
    > [7,] 419671.16 388544.52 346667.93 0.00 46527.40 30213.00 0.0
    > [8,] 384592.90 354294.11 312350.68 16130.34 11926.81 0.00 0.0
    > [9,] 262354.29 231217.49 189310.35 140455.87 0.00 64606.24 119563.7
    > [10,] 71139.29 41943.83 0.00 330751.39 190182.39 252372.06 309862.0
    24,33c24,33
    < [1,] 384593.29 262353.97 71138.53
    < [2,] 354295.06 231217.73 41943.71
    < [3,] 312351.76 189310.73 0.00
    < [4,] 16130.19 140455.97 330752.58
    < [5,] 11926.86 0.00 190183.42
    < [6,] 0.00 64606.27 252373.26
    < [7,] 0.00 119564.00 309863.33
    < [8,] 0.00 85533.33 275391.07
    < [9,] 85533.33 0.00 152489.45
    < [10,] 275391.07 152489.45 0.00
    ---
    > [1,] 384592.90 262354.29 71139.29
    > [2,] 354294.11 231217.49 41943.83
    > [3,] 312350.68 189310.35 0.00
    > [4,] 16130.34 140455.87 330751.39
    > [5,] 11926.81 0.00 190182.39
    > [6,] 0.00 64606.24 252372.06
    > [7,] 0.00 119563.73 309861.97
    > [8,] 0.00 85533.12 275389.78
    > [9,] 85533.12 0.00 152488.92
    > [10,] 275389.78 152488.92 0.00
     Running 'graticule.R'
     Comparing 'graticule.Rout' to 'graticule.Rout.save' ... OK
     Running 'grid.R'
     Comparing 'grid.Rout' to 'grid.Rout.save' ... OK
     Running 'maps.R'
     Comparing 'maps.Rout' to 'maps.Rout.save' ... OK
     Running 'plot.R'
     Comparing 'plot.Rout' to 'plot.Rout.save' ... OK
     Running 'read.R'
     Comparing 'read.Rout' to 'read.Rout.save' ...178c178
    < Projected CRS: Undefined cartesian SRS
    ---
    > Projected CRS: Undefined Cartesian SRS
    289c289
    < 2 POINT (367470.5 4962415)
    ---
    > 2 POINT (367470.5 4962414)
    334,335c334
    < `C:\r_packages\pkgcheck\CRAN\sf\sf.Rcheck\tests\tst__.gpkg'
    < using driver `GPKG'
    ---
    > `/home/edzer/git/sf.Rcheck/tests/tst__.gpkg' using driver `GPKG'
     Running 'roundtrip.R'
     Comparing 'roundtrip.Rout' to 'roundtrip.Rout.save' ...147,148c147
    < `C:\r_packages\pkgcheck\CRAN\sf\sf.Rcheck\sf\gpkg\nc.gpkg'
    < using driver `GPKG'
    ---
    > `/home/edzer/git/sf.Rcheck/sf/gpkg/nc.gpkg' using driver `GPKG'
     Running 's2.R'
     Comparing 's2.Rout' to 's2.Rout.save' ...4c4
    < Linking to GEOS 3.9.1, GDAL 3.3.2, PROJ 7.2.1
    ---
    > Linking to GEOS 3.9.0, GDAL 3.2.1, PROJ 7.2.1
     Running 'sample.R'
     Comparing 'sample.Rout' to 'sample.Rout.save' ... OK
     Running 'sfc.R'
     Comparing 'sfc.Rout' to 'sfc.Rout.save' ...335c335
    < "3.9.1" "3.3.2" "7.2.1"
    ---
    > "3.9.0" "3.2.1" "7.2.1"
    641,643c641
    < Reading layer `nc' from data source
    < `C:\r_packages\pkgcheck\CRAN\sf\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'
    659c657
    < Bounding box: xmin: 406265 ymin: 48359.7 xmax: 3052877 ymax: 1044143
    ---
    > Bounding box: xmin: 406262.2 ymin: 48374.87 xmax: 3052887 ymax: 1044158
    674,683c672,681
    < 1 10 1364 0 19 A 4 #fb80724d MULTIPOLYGON (((1270813 913...
    < 2 10 542 3 12 A 4 #fb80724d MULTIPOLYGON (((1340553 959...
    < 3 208 3616 6 260 A 5 #80b1d34d MULTIPOLYGON (((1570586 910...
    < 4 123 830 2 145 A 10 #bc80bd4d MULTIPOLYGON (((2881206 948...
    < 5 1066 1606 3 1197 A 8 #fccde54d MULTIPOLYGON (((2525700 911...
    < 6 954 1838 5 1237 A 9 #d9d9d94d MULTIPOLYGON (((2665112 911...
    < 7 115 350 2 139 A 10 #bc80bd4d MULTIPOLYGON (((2881206 948...
    < 8 254 594 2 371 A 9 #d9d9d94d MULTIPOLYGON (((2717988 951...
    < 9 748 1190 2 844 A 8 #fccde54d MULTIPOLYGON (((2203888 914...
    < 10 160 2038 5 176 A 5 #80b1d34d MULTIPOLYGON (((1697618 911...
    ---
    > 1 10 1364 0 19 A 4 #fb80724d MULTIPOLYGON (((1270814 913...
    > 2 10 542 3 12 A 4 #fb80724d MULTIPOLYGON (((1340555 959...
    > 3 208 3616 6 260 A 5 #80b1d34d MULTIPOLYGON (((1570591 910...
    > 4 123 830 2 145 A 10 #bc80bd4d MULTIPOLYGON (((2881208 948...
    > 5 1066 1606 3 1197 A 8 #fccde54d MULTIPOLYGON (((2525701 911...
    > 6 954 1838 5 1237 A 9 #d9d9d94d MULTIPOLYGON (((2665113 911...
    > 7 115 350 2 139 A 10 #bc80bd4d MULTIPOLYGON (((2881208 948...
    > 8 254 594 2 371 A 9 #d9d9d94d MULTIPOLYGON (((2717989 951...
    > 9 748 1190 2 844 A 8 #fccde54d MULTIPOLYGON (((2203890 914...
    > 10 160 2038 5 176 A 5 #80b1d34d MULTIPOLYGON (((1697624 911...
    767c765
    < Bounding box: xmin: 1216510 ymin: 935852 xmax: 1428880 ymax: 1031490
    ---
    > Bounding box: xmin: 1216510 ymin: 935867 xmax: 1428880 ymax: 1031510
    770,774c768,772
    < POINT (1264558 935852)
    < POINT (1256623 949369)
    < POINT (1222665 972624)
    < POINT (1333528 968263)
    < POINT (1310837 958630)
    ---
    > POINT (1264558 935867)
    > POINT (1256623 949384)
    > POINT (1222665 972639)
    > POINT (1333530 968278)
    > POINT (1310838 958645)
    782c780
    < Bounding box: xmin: -81.6893 ymin: 36.2491 xmax: -80.914 ymax: 36.5726
    ---
    > Bounding box: xmin: -81.6893 ymin: 36.2492 xmax: -80.914 ymax: 36.5726
    785c783
    < MULTIPOINT ((-81.2629 36.4076), (-81.1375 36.56...
    ---
    > MULTIPOINT ((-81.2629 36.4076), (-81.1374 36.56...
    1023c1021
    < POLYGON ((0.983044 0.0650651, 0.959619 0.040380...
    ---
    > POLYGON ((0 0.915082, 0.0169559 0.934935, 0.040...
    1030c1028
    < POLYGON ((0.983044 0.0650651, 0.959619 0.040380...
    ---
    > POLYGON ((0 0.915082, 0.0169559 0.934935, 0.040...
    1038c1036
    < 1 1 POLYGON ((0.983044 0.065065...
    ---
    > 1 1 POLYGON ((0 0.915082, 0.016...
    1048c1046
    < 1 1 POLYGON ((0.983044 0.065065...
    ---
    > 1 1 POLYGON ((0 0.915082, 0.016...
     Running 'sfg.R'
     Comparing 'sfg.Rout' to 'sfg.Rout.save' ... OK
     Running 'spatstat.R'
     Comparing 'spatstat.Rout' to 'spatstat.Rout.save' ...77c77
    < Bounding box: xmin: 123829.8 ymin: 14740.06 xmax: 930518.6 ymax: 318255.5
    ---
    > Bounding box: xmin: 123829 ymin: 14744.69 xmax: 930521.8 ymax: 318259.9
    81,90c81,90
    < 1 window MULTIPOLYGON (((886135.8 31...
    < 2 point POINT (339121.1 257811.6)
    < 3 point POINT (827440.4 246568.3)
    < 4 point POINT (451339.2 207943.6)
    < 5 point POINT (268749.7 203323.4)
    < 6 point POINT (516676.5 198556.1)
    < 7 point POINT (692366 238643.1)
    < 8 point POINT (843278.5 287241.6)
    < 9 point POINT (648477.7 235466.6)
    < 10 point POINT (852593 267248.3)
    ---
    > 1 window MULTIPOLYGON (((886136 3141...
    > 2 point POINT (339121.3 257815.9)
    > 3 point POINT (827443.1 246572.7)
    > 4 point POINT (451340 207948)
    > 5 point POINT (268749.6 203327.8)
    > 6 point POINT (516677.7 198560.6)
    > 7 point POINT (692368 238647.5)
    > 8 point POINT (843281.2 287246)
    > 9 point POINT (648479.4 235471)
    > 10 point POINT (852595.8 267252.6)
    198,199c198
    < `C:\r_packages\pkgcheck\CRAN\sf\sf.Rcheck\sf\gpkg\nc.gpkg'
    < using driver `GPKG'
    ---
    > `/home/edzer/git/sf.Rcheck/sf/gpkg/nc.gpkg' using driver `GPKG'
     Running 'stars.R'
    Running the tests in 'tests/stars.R' failed.
    Complete output:
     > suppressPackageStartupMessages(library(sf))
     >
     > tif = system.file("tif/geomatrix.tif", package = "sf")
     >
     > gdal_metadata(tif)
     [1] "AREA_OR_POINT=Point"
     > gdal_metadata(tif, NA_character_)
     [1] "IMAGE_STRUCTURE" "DERIVED_SUBDATASETS" ""
     > try(gdal_metadata(tif, "wrongDomain"))
     Error in gdal_metadata(tif, "wrongDomain") :
     domain_item[1] not found in available metadata domains
     > gdal_metadata(tif, c("IMAGE_STRUCTURE"))
     [[1]]
     [1] "BAND"
    
     attr(,"class")
     [1] "gdal_metadata"
     > try(length(gdal_metadata(tif, c("DERIVED_SUBDATASETS")))) # fails on Fedora 26
     [1] 2
     >
     > if (require(stars)) {
     + tif = system.file("tif/geomatrix.tif", package = "sf")
     + r = read_stars(tif)
     + d = (st_dimensions(r))
     + gt = c(1841001.75, 1.5, -5, 1144003.25, -5, -1.5)
     + x1 = st_as_sfc(d, as_points = TRUE, use_cpp = TRUE, geotransform = gt)
     + x2 = st_as_sfc(d, as_points = TRUE, use_cpp = FALSE, geotransform = gt)
     + print(identical(x1, x2))
     + y1 = st_as_sfc(d, as_points = FALSE, use_cpp = TRUE, geotransform = gt)
     + y2 = st_as_sfc(d, as_points = FALSE, use_cpp = FALSE, geotransform = gt)
     + print(identical(y1, y2))
     +
     + # rectilinear grid:
     + m = matrix(1:20, nrow = 5, ncol = 4)
     + x = c(0,0.5,1,2,4,5)
     + y = c(0.3,0.5,1,2,2.2)
     + r = st_as_stars(list(m = m), dimensions = st_dimensions(x = x, y = y, .raster = c("x", "y")))
     + print(st_as_sfc(st_dimensions(r), as_points = TRUE))
     + print(st_as_sfc(st_dimensions(r), as_points = FALSE))
     +
     + # curvilinear grid:
     + lon = st_as_stars(matrix(1:5, 4, 5, byrow = TRUE))
     + lat = st_as_stars(matrix(1:4, 4, 5))
     + ll = c(X1 = lon, X2 = lat)
     + curv = st_as_stars(st_as_stars(t(m)), curvilinear = setNames(ll, c("X1", "X2")))
     + print(st_as_sfc(st_dimensions(curv), as_points = TRUE))
     + print(st_as_sfc(st_dimensions(curv), as_points = FALSE))
     +
     + demo(nc, echo = FALSE, ask = FALSE)
     + print(x <- st_rasterize(nc)) # default grid:
     + print(p <- st_as_sf(x, as_points = FALSE)) # polygonize: follow raster boundaries
     + print(p <- st_as_sf(x, as_points = FALSE, use_integer = TRUE)) # polygonize integers: follow raster boundaries
     + print(try(p <- st_as_sf(x, as_points = TRUE))) # polygonize: contour, requies GDAL >= 2.4.0
     + if (utils::packageVersion("stars") >= "0.2-1") {
     + write_stars(read_stars(tif), tempfile(fileext = ".tif"))
     + write_stars(read_stars(tif, proxy = TRUE), tempfile(fileext = ".tif"))
     + write_stars(read_stars(tif, proxy = TRUE), tempfile(fileext = ".tif"), chunk_size = c(200,200))
     + na.tif = read_stars(system.file("tif/na.tif", package = "stars"))
     + write_stars(na.tif, "na.tif")
     + write_stars(na.tif, "na.tif", NA_value = -999)
     + na.tif = read_stars(system.file("tif/na.tif", package = "stars"), NA_value = -999)
     + write_stars(na.tif, "na.tif")
     + write_stars(na.tif, "na.tif", NA_value = -999)
     + na.tif = read_stars(system.file("tif/na.tif", package = "stars"), NA_value = -999, proxy = TRUE)
     + write_stars(na.tif, "na.tif")
     + write_stars(na.tif, "na.tif", NA_value = -999)
     + }
     + # https://github.com/mtennekes/tmap/issues/368
     + if (utils::packageVersion("stars") > "0.4-0") {
     + lc = system.file('tif/lc.tif', package = 'stars')
     + if (lc != "") {
     + r = read_stars(lc, RAT = "Land Cover Class")
     + r <- droplevels(r)
     + }
     + }
     + }
     Loading required package: stars
     Loading required package: abind
     [1] TRUE
     [1] TRUE
     Geometry set for 20 features
     Geometry type: POINT
     Dimension: XY
     Bounding box: xmin: 0.25 ymin: 0.4 xmax: 4.5 ymax: 2.1
     CRS: NA
     First 5 geometries:
     POINT (0.25 0.4)
     POINT (0.75 0.4)
     POINT (1.5 0.4)
     POINT (3 0.4)
     POINT (4.5 0.4)
     Geometry set for 20 features
     Geometry type: POLYGON
     Dimension: XY
     Bounding box: xmin: 0 ymin: 0.3 xmax: 5 ymax: 2.2
     CRS: NA
     First 5 geometries:
     POLYGON ((0 0.3, 0.5 0.3, 0.5 0.5, 0 0.5, 0 0.3))
     POLYGON ((0.5 0.3, 1 0.3, 1 0.5, 0.5 0.5, 0.5 0...
     POLYGON ((1 0.3, 2 0.3, 2 0.5, 1 0.5, 1 0.3))
     POLYGON ((2 0.3, 4 0.3, 4 0.5, 2 0.5, 2 0.3))
     POLYGON ((4 0.3, 5 0.3, 5 0.5, 4 0.5, 4 0.3))
     Error in (function (cond) :
     error in evaluating the argument 'x' in selecting a method for function '%in%': evaluation nested too deeply: infinite recursion / options(expressions=)?
     Calls: st_as_stars ... is_curvilinear -> has_raster -> %in% -> $ -> <Anonymous>
     Execution halted
Flavor: r-devel-windows-x86_64-new-TK