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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: fortify_hexagon
> ### Title: Creates the points that define a hexagon polygon for plotting
> ### Aliases: fortify_hexagon
> 
> ### ** Examples
> 
> # Create centroids set
> centroids <- create_centroids(tas_lga, "LGA_CODE16")
Warning in st_centroid.sf(., of_largest_polygon = largest) :
  st_centroid assumes attributes are constant over geometries of x
Warning in st_centroid.sfc(st_geometry(x), of_largest_polygon = of_largest_polygon) :
  st_centroid does not give correct centroids for longitude/latitude data
Warning: st_crs<- : replacing crs does not reproject data; use st_transform for that
Warning: st_crs<- : replacing crs does not reproject data; use st_transform for that
> # Create hexagon location grid
> grid <- create_grid(centroids = centroids, hex_size = 0.2, buffer_dist = 1.2)
> # Allocate polygon centroids to hexagon grid points
> allocated <- allocate(
+   centroids = centroids,
+   sf_id = "LGA_CODE16",
+   hex_grid = grid,
+   hex_size = 0.2, # same size used in create_grid
+   hex_filter = 1,
+   use_neighbours = tas_lga,
+   width = 30,
+   focal_points = capital_cities,
+   verbose = TRUE
+ )
Allocating centroids, in order of distance to closest focal point.
although coordinates are longitude/latitude, st_intersects assumes that they are planar

 *** caught segfault ***
address 0x30, cause 'memory not mapped'

Traceback:
 1: filter_impl(.data, quo)
 2: filter.tbl_df(., (flat - f_dist) < hex_lat & hex_lat < (flat +     f_dist))
 3: filter(., (flat - f_dist) < hex_lat & hex_lat < (flat + f_dist))
 4: function_list[[i]](value)
 5: freduce(value, `_function_list`)
 6: `_fseq`(`_lhs`)
 7: eval(quote(`_fseq`(`_lhs`)), env, env)
 8: eval(quote(`_fseq`(`_lhs`)), env, env)
 9: withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
10: f_grid %>% ungroup() %>% filter((flat - f_dist) < hex_lat & hex_lat <     (flat + f_dist)) %>% filter((flong - f_dist) < hex_long &     hex_long < (flong + f_dist))
11: filter_grid_points(f_grid = hex_grid, f_centroid = centroid,     focal_points = focal_points, f_dist = filter_dist, angle_width = width,     h_size = hex_size)
12: allocate(centroids = centroids, sf_id = "LGA_CODE16", hex_grid = grid,     hex_size = 0.2, hex_filter = 1, use_neighbours = tas_lga,     width = 30, focal_points = capital_cities, verbose = TRUE)
An irrecoverable exception occurred. R is aborting now ...
Segmentation fault