Running examples in ‘sf-Ex.R’ failed
The error most likely occurred in:

> ### Name: geos
> ### Title: Geometric operations on (pairs of) simple feature geometry sets
> ### Aliases: geos st_area st_boundary st_buffer st_centroid st_combine
> ###   st_contains st_convex_hull st_covered_by st_covers st_crosses
> ###   st_difference st_dimension st_disjoint st_distance st_equals
> ###   st_equals_exact st_intersection st_intersects st_is_simple
> ###   st_is_valid st_length st_line_sample st_linemerge st_overlaps
> ###   st_polygonize st_relate st_segmentize st_simplify st_sym_difference
> ###   st_touches st_triangulate st_union st_voronoi st_within
> 
> ### ** Examples
> 
> x = st_sfc(
+ 	st_point(0:1), 
+ 	st_linestring(rbind(c(0,0),c(1,1))), 
+ 	st_polygon(list(rbind(c(0,0),c(1,0),c(0,1),c(0,0)))),
+ 	st_multipoint(),
+ 	st_linestring(),
+ 	st_geometrycollection())
> st_dimension(x)
[1]  0  1  2 NA NA NA
> st_dimension(x, FALSE)
[1] 0 1 2 0 1 0
> dist_vincenty = function(p1, p2, a, f) geosphere::distVincentyEllipsoid(p1, p2, a, a * (1-f), f)
> line = st_sfc(st_linestring(rbind(c(30,30), c(40,40))), crs = 4326)
> st_length(line)
1434649 m
> st_length(line, dist_fun = dist_vincenty)
1434649 m
> p1 = st_point(c(0,0))
> p2 = st_point(c(2,2))
> pol1 = st_polygon(list(rbind(c(0,0),c(1,0),c(1,1),c(0,1),c(0,0)))) - 0.5
> pol2 = pol1 + 1
> pol3 = pol1 + 2
> st_relate(st_sfc(p1, p2), st_sfc(pol1, pol2, pol3))
     [,1]        [,2]        [,3]       
[1,] "0FFFFF212" "FF0FFF212" "FF0FFF212"
[2,] "FF0FFF212" "FF0FFF212" "0FFFFF212"
> nc = st_read(system.file("shape/nc.shp", package="sf"))
Reading layer `nc' from data source `/Builds/CRAN-QA-Simon/packages/mavericks-x86_64/results/3.3/sf.Rcheck/sf/shape/nc.shp' using driver `ESRI Shapefile'
converted into: MULTIPOLYGON
Simple feature collection with 100 features and 14 fields
geometry type:  MULTIPOLYGON
dimension:      XY
bbox:           xmin: -84.32385 ymin: 33.88199 xmax: -75.45698 ymax: 36.58965
epsg (SRID):    4267
proj4string:    +proj=longlat +datum=NAD27 +no_defs
> plot(st_convex_hull(nc))
> plot(nc, border = grey(.5))
> set.seed(1)
> x = st_multipoint(matrix(runif(10),,2))
> box = st_polygon(list(rbind(c(0,0),c(1,0),c(1,1),c(0,1),c(0,0))))
> v = st_sfc(st_voronoi(x, st_sfc(box)))
Error in st_voronoi.sfc(st_sfc(x), st_sfc(envelope), dTolerance, bOnlyEdges = bOnlyEdges) : 
  for voronoi, GEOS version 3.5.0 or higher is required
Calls: st_sfc ... st_voronoi.sfg -> get_first_sfg -> st_voronoi -> st_voronoi.sfc
Execution halted