Running 'testthat.R' [42s/52s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(ggspatial)
  > 
  > test_check("ggspatial")
  Linking to GEOS 3.11.0, GDAL 3.5.2, PROJ 9.1.0; sf_use_s2() is TRUE
  [ FAIL 15 | WARN 1 | SKIP 14 | PASS 122 ]
  
  == Skipped tests ===============================================================
  * On CRAN (14)
  
  == Failed tests ================================================================
  -- Error ('test-annotation-north-arrow.R:5'): north arrow drawing works --------
  <Rcpp::eval_error/C++Error/error/condition>
  Error in `CPL_read_ogr(dsn, layer, query, as.character(options), quiet, 
      type, fid_column_name, drivers, wkt_filter, promote_to_multi, 
      int64_as_string, dsn_exists, dsn_isdb, getOption("width"))`: Evaluation error: a valid "POSIXlt" object has names.
  Backtrace:
      x
   1. \-ggspatial::load_longlake_data(which = "longlake_waterdf") at test-annotation-north-arrow.R:5:2
   2.   \-sf::read_sf(file.path(longlake_folder, names(vector_layers)[i]))
   3.     +-sf::st_read(...)
   4.     \-sf:::st_read.character(...)
   5.       \-sf:::CPL_read_ogr(...)
  -- Error ('test-annotation-north-arrow.R:54'): true north arrow points in the right direction --
  <Rcpp::eval_error/C++Error/error/condition>
  Error in `CPL_read_ogr(dsn, layer, query, as.character(options), quiet, 
      type, fid_column_name, drivers, wkt_filter, promote_to_multi, 
      int64_as_string, dsn_exists, dsn_isdb, getOption("width"))`: Evaluation error: a valid "POSIXlt" object has names.
  Backtrace:
      x
   1. \-ggspatial::load_longlake_data(which = "longlake_waterdf") at test-annotation-north-arrow.R:54:2
   2.   \-sf::read_sf(file.path(longlake_folder, names(vector_layers)[i]))
   3.     +-sf::st_read(...)
   4.     \-sf:::st_read.character(...)
   5.       \-sf:::CPL_read_ogr(...)
  -- Error ('test-annotation-north-arrow.R:157'): certain parameters can be passed as aesthetics to show up on different panels --
  <Rcpp::eval_error/C++Error/error/condition>
  Error in `CPL_read_ogr(dsn, layer, query, as.character(options), quiet, 
      type, fid_column_name, drivers, wkt_filter, promote_to_multi, 
      int64_as_string, dsn_exists, dsn_isdb, getOption("width"))`: Evaluation error: a valid "POSIXlt" object has names.
  Backtrace:
      x
   1. \-ggspatial::load_longlake_data(which = "longlake_waterdf") at test-annotation-north-arrow.R:157:2
   2.   \-sf::read_sf(file.path(longlake_folder, names(vector_layers)[i]))
   3.     +-sf::st_read(...)
   4.     \-sf:::st_read.character(...)
   5.       \-sf:::CPL_read_ogr(...)
  -- Error ('test-df-spatial-sf.R:12'): df_spatial() works with sf objects -------
  <Rcpp::eval_error/C++Error/error/condition>
  Error in `CPL_read_ogr(dsn, layer, query, as.character(options), quiet, 
      type, fid_column_name, drivers, wkt_filter, promote_to_multi, 
      int64_as_string, dsn_exists, dsn_isdb, getOption("width"))`: Evaluation error: a valid "POSIXlt" object has names.
  Backtrace:
      x
   1. \-ggspatial::load_longlake_data() at test-df-spatial-sf.R:12:2
   2.   \-sf::read_sf(file.path(longlake_folder, names(vector_layers)[i]))
   3.     +-sf::st_read(...)
   4.     \-sf:::st_read.character(...)
   5.       \-sf:::CPL_read_ogr(...)
  -- Error ('test-df-spatial-sp.R:6'): df_spatial() works with sp objects --------
  <Rcpp::eval_error/C++Error/error/condition>
  Error in `CPL_read_ogr(dsn, layer, query, as.character(options), quiet, 
      type, fid_column_name, drivers, wkt_filter, promote_to_multi, 
      int64_as_string, dsn_exists, dsn_isdb, getOption("width"))`: Evaluation error: a valid "POSIXlt" object has names.
  Backtrace:
       x
    1. \-ggspatial::load_longlake_data(vector_format = "sp") at test-df-spatial-sp.R:6:2
    2.   +-base::suppressWarnings(...)
    3.   | \-base::withCallingHandlers(...)
    4.   +-methods::as(...)
    5.   | \-methods:::.class1(object)
    6.   +-sf::st_zm(sf::read_sf(file.path(longlake_folder, names(vector_layers)[i])))
    7.   \-sf::read_sf(file.path(longlake_folder, names(vector_layers)[i]))
    8.     +-sf::st_read(...)
    9.     \-sf:::st_read.character(...)
   10.       \-sf:::CPL_read_ogr(...)
  -- Error ('test-df-spatial-stars.R:28'): stars objects are converted properly by df_spatial --
  <Rcpp::eval_error/C++Error/error/condition>
  Error in `CPL_read_ogr(dsn, layer, query, as.character(options), quiet, 
      type, fid_column_name, drivers, wkt_filter, promote_to_multi, 
      int64_as_string, dsn_exists, dsn_isdb, getOption("width"))`: Evaluation error: a valid "POSIXlt" object has names.
  Backtrace:
      x
   1. \-ggspatial::load_longlake_data(env = test_env, raster_format = "terra") at test-df-spatial-stars.R:28:2
   2.   \-sf::read_sf(file.path(longlake_folder, names(vector_layers)[i]))
   3.     +-sf::st_read(...)
   4.     \-sf:::st_read.character(...)
   5.       \-sf:::CPL_read_ogr(...)
  -- Error ('test-df-spatial-terra.R:29'): SpatRaster objects are converted properly by df_spatial --
  <Rcpp::eval_error/C++Error/error/condition>
  Error in `CPL_read_ogr(dsn, layer, query, as.character(options), quiet, 
      type, fid_column_name, drivers, wkt_filter, promote_to_multi, 
      int64_as_string, dsn_exists, dsn_isdb, getOption("width"))`: Evaluation error: a valid "POSIXlt" object has names.
  Backtrace:
      x
   1. \-ggspatial::load_longlake_data(env = test_env, raster_format = "raster") at test-df-spatial-terra.R:29:2
   2.   \-sf::read_sf(file.path(longlake_folder, names(vector_layers)[i]))
   3.     +-sf::st_read(...)
   4.     \-sf:::st_read.character(...)
   5.       \-sf:::CPL_read_ogr(...)
  -- Error ('test-geom-polypath.R:5'): polypath works as intended ----------------
  <Rcpp::eval_error/C++Error/error/condition>
  Error in `CPL_read_ogr(dsn, layer, query, as.character(options), quiet, 
      type, fid_column_name, drivers, wkt_filter, promote_to_multi, 
      int64_as_string, dsn_exists, dsn_isdb, getOption("width"))`: Evaluation error: a valid "POSIXlt" object has names.
  Backtrace:
      x
   1. \-ggspatial::load_longlake_data(which = "longlake_waterdf") at test-geom-polypath.R:5:2
   2.   \-sf::read_sf(file.path(longlake_folder, names(vector_layers)[i]))
   3.     +-sf::st_read(...)
   4.     \-sf:::st_read.character(...)
   5.       \-sf:::CPL_read_ogr(...)
  -- Error ('test-geom-spatial.R:28'): geom_spatial_* geoms work properly --------
  <Rcpp::eval_error/C++Error/error/condition>
  Error in `CPL_read_ogr(dsn, layer, query, as.character(options), quiet, 
      type, fid_column_name, drivers, wkt_filter, promote_to_multi, 
      int64_as_string, dsn_exists, dsn_isdb, getOption("width"))`: Evaluation error: a valid "POSIXlt" object has names.
  Backtrace:
      x
   1. \-ggspatial::load_longlake_data(which = c("longlake_depthdf", "longlake_waterdf")) at test-geom-spatial.R:28:2
   2.   \-sf::read_sf(file.path(longlake_folder, names(vector_layers)[i]))
   3.     +-sf::st_read(...)
   4.     \-sf:::st_read.character(...)
   5.       \-sf:::CPL_read_ogr(...)
  -- Error ('test-geom-spatial.R:105'): stat_spatial_identity function -----------
  <Rcpp::eval_error/C++Error/error/condition>
  Error in `CPL_read_ogr(dsn, layer, query, as.character(options), quiet, 
      type, fid_column_name, drivers, wkt_filter, promote_to_multi, 
      int64_as_string, dsn_exists, dsn_isdb, getOption("width"))`: Evaluation error: a valid "POSIXlt" object has names.
  Backtrace:
      x
   1. \-ggspatial::load_longlake_data(which = c("longlake_depthdf", "longlake_waterdf")) at test-geom-spatial.R:105:2
   2.   \-sf::read_sf(file.path(longlake_folder, names(vector_layers)[i]))
   3.     +-sf::st_read(...)
   4.     \-sf:::st_read.character(...)
   5.       \-sf:::CPL_read_ogr(...)
  -- Error ('test-layer-spatial-bbox.R:3'): bbox functions work ------------------
  <Rcpp::eval_error/C++Error/error/condition>
  Error in `CPL_read_ogr(dsn, layer, query, as.character(options), quiet, 
      type, fid_column_name, drivers, wkt_filter, promote_to_multi, 
      int64_as_string, dsn_exists, dsn_isdb, getOption("width"))`: Evaluation error: a valid "POSIXlt" object has names.
  Backtrace:
      x
   1. \-ggspatial::load_longlake_data(which = "longlake_waterdf") at test-layer-spatial-bbox.R:3:2
   2.   \-sf::read_sf(file.path(longlake_folder, names(vector_layers)[i]))
   3.     +-sf::st_read(...)
   4.     \-sf:::st_read.character(...)
   5.       \-sf:::CPL_read_ogr(...)
  -- Error ('test-layer-spatial-bbox.R:12'): bbox functions work with detail arg --
  <Rcpp::eval_error/C++Error/error/condition>
  Error in `CPL_read_ogr(dsn, layer, query, as.character(options), quiet, 
      type, fid_column_name, drivers, wkt_filter, promote_to_multi, 
      int64_as_string, dsn_exists, dsn_isdb, getOption("width"))`: Evaluation error: a valid "POSIXlt" object has names.
  Backtrace:
      x
   1. \-ggspatial::load_longlake_data(which = "longlake_waterdf") at test-layer-spatial-bbox.R:12:2
   2.   \-sf::read_sf(file.path(longlake_folder, names(vector_layers)[i]))
   3.     +-sf::st_read(...)
   4.     \-sf:::st_read.character(...)
   5.       \-sf:::CPL_read_ogr(...)
  -- Error ('test-layer-spatial-bbox.R:31'): bbox plotting works -----------------
  <Rcpp::eval_error/C++Error/error/condition>
  Error in `CPL_read_ogr(dsn, layer, query, as.character(options), quiet, 
      type, fid_column_name, drivers, wkt_filter, promote_to_multi, 
      int64_as_string, dsn_exists, dsn_isdb, getOption("width"))`: Evaluation error: a valid "POSIXlt" object has names.
  Backtrace:
      x
   1. \-ggspatial::load_longlake_data(which = c("longlake_waterdf", "longlake_depthdf")) at test-layer-spatial-bbox.R:31:2
   2.   \-sf::read_sf(file.path(longlake_folder, names(vector_layers)[i]))
   3.     +-sf::st_read(...)
   4.     \-sf:::st_read.character(...)
   5.       \-sf:::CPL_read_ogr(...)
  -- Error ('test-layer-spatial.R:5'): layer_spatial() works as intended ---------
  <Rcpp::eval_error/C++Error/error/condition>
  Error in `CPL_read_ogr(dsn, layer, query, as.character(options), quiet, 
      type, fid_column_name, drivers, wkt_filter, promote_to_multi, 
      int64_as_string, dsn_exists, dsn_isdb, getOption("width"))`: Evaluation error: a valid "POSIXlt" object has names.
  Backtrace:
      x
   1. \-ggspatial::load_longlake_data(...) at test-layer-spatial.R:5:2
   2.   \-sf::read_sf(file.path(longlake_folder, names(vector_layers)[i]))
   3.     +-sf::st_read(...)
   4.     \-sf:::st_read.character(...)
   5.       \-sf:::CPL_read_ogr(...)
  -- Error ('test-longlake-data.R:5'): longlake data loader works as expected ----
  <Rcpp::eval_error/C++Error/error/condition>
  Error in `CPL_read_ogr(dsn, layer, query, as.character(options), quiet, 
      type, fid_column_name, drivers, wkt_filter, promote_to_multi, 
      int64_as_string, dsn_exists, dsn_isdb, getOption("width"))`: Evaluation error: a valid "POSIXlt" object has names.
  Backtrace:
      x
   1. \-ggspatial::load_longlake_data(...) at test-longlake-data.R:5:2
   2.   \-sf::read_sf(file.path(longlake_folder, names(vector_layers)[i]))
   3.     +-sf::st_read(...)
   4.     \-sf:::st_read.character(...)
   5.       \-sf:::CPL_read_ogr(...)
  
  [ FAIL 15 | WARN 1 | SKIP 14 | PASS 122 ]
  Deleting unused snapshots:
  * annotation-north-arrow/north-arrow-default-cartesian.svg
  * annotation-north-arrow/north-arrow-default-sf.svg
  * annotation-north-arrow/north-arrows-grid-north.svg
  * annotation-north-arrow/north-arrows-styles-as-calls.svg
  * annotation-north-arrow/north-arrows-styles-grid-north.svg
  * annotation-north-arrow/north-arrows-true-north-global.svg
  * annotation-north-arrow/north-arrows-true-north.svg
  * annotation-north-arrow/north-arrows-use-of-aesthetics.svg
  * annotation-scale/scale-bar-defaults-bottom-left.svg
  * annotation-scale/scale-bar-defaults-bottom-right.svg
  * annotation-scale/scale-bar-defaults-cartesian.svg
  * annotation-scale/scale-bar-defaults-top-left.svg
  * annotation-scale/scale-bar-defaults-top-right.svg
  * annotation-scale/scale-bar-imperial-plotunit.svg
  * annotation-scale/scale-bar-imperial-unit.svg
  * annotation-scale/scale-bar-metric-plotunit-cartesian.svg
  * annotation-scale/scale-bar-ticks.svg
  * df-spatial-sf/df-spatial-linestring.svg
  * df-spatial-sf/df-spatial-multilinestring.svg
  * df-spatial-sf/df-spatial-multipoint.svg
  * df-spatial-sf/df-spatial-point.svg
  * df-spatial-sf/df-spatial-polygon.svg
  * geom-polypath/polygon-with-the-proper-holes.svg
  * geom-polypath/polygon-without-the-proper-holes.svg
  * geom-spatial-rect/geom-spatial-rect-mapped-aes.svg
  * geom-spatial-rect/geom-spatial-tile-auto-dims.svg
  * geom-spatial-rect/geom-spatial-tile-mapped-dims.svg
  * geom-spatial-segment/geom-spatial-segment-great-circle-merc.svg
  * geom-spatial-segment/geom-spatial-segment-great-circle-no-wrap.svg
  * geom-spatial-segment/geom-spatial-segment-no-great-circle-detail.svg
  * geom-spatial-segment/geom-spatial-segment-no-great-circle-merc.svg
  * geom-spatial-segment/geom-spatial-segment-no-great-circle.svg
  * geom-spatial-xline/annotation-spatial-vline.svg
  * geom-spatial-xline/hline-vline-guessed-limits.svg
  * geom-spatial-xline/spatial-hline-coord-sf-4326.svg
  * geom-spatial-xline/spatial-hline-null-crs.svg
  * geom-spatial-xline/spatial-vline-coord-sf-4326.svg
  * geom-spatial-xline/spatial-vline-null-crs.svg
  * geom-spatial/geom-spatial-label-repel.svg
  * geom-spatial/geom-spatial-label.svg
  * geom-spatial/geom-spatial-path.svg
  * geom-spatial/geom-spatial-point.svg
  * geom-spatial/geom-spatial-polygon.svg
  * geom-spatial/geom-spatial-text-repel.svg
  * geom-spatial/stat-spatial-identity-crs-4326.svg
  * geom-spatial/stat-spatial-identity-crs-null.svg
  * layer-spatial-bbox/annotation-spatial-bbox.svg
  * layer-spatial-bbox/layer-spatial-bbox.svg
  * layer-spatial-raster/layer-spatial-raster-dpi.svg
  * layer-spatial-raster/layer-spatial-raster-lazy.svg
  * layer-spatial-raster/layer-spatial-raster-no-interpolation.svg
  * layer-spatial/annotation-spatial.svg
  * layer-spatial/layer-spatial.svg
  * layer-spatial/shadow-spatial.svg
  Error: Test failures
  Execution halted