Running ‘testthat.R’ [26s/39s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check("ncdfgeom")
  Loading required package: ncdfgeom
  ****Support Package****
  This package is a USGS-R Support package. 
  see: https://owi.usgs.gov/R/packages.html#support
  Linking to GEOS 3.11.0, GDAL 3.5.2, PROJ 9.1.0; sf_use_s2() is TRUE
  [ FAIL 5 | WARN 1 | SKIP 2 | PASS 615 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_check_ncdf.R:125'): errors ─────────────────────────────────────
  <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:
      ▆
   1. └─sf::read_sf(system.file("extdata/example_huc_eta.json", package = "ncdfgeom")) at test_check_ncdf.R:125:2
   2.   ├─sf::st_read(...)
   3.   └─sf:::st_read.character(...)
   4.     └─sf:::CPL_read_ogr(...)
  ── Error ('test_line.R:49'): shapefile line data 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:
      ▆
   1. ├─sf::st_zm(sf::read_sf("data/NHDLine/NHDLine.shp")) at test_line.R:49:2
   2. └─sf::read_sf("data/NHDLine/NHDLine.shp")
   3.   ├─sf::st_read(...)
   4.   └─sf:::st_read.character(...)
   5.     └─sf:::CPL_read_ogr(...)
  ── Error ('test_line.R:70'): NHDPlus Multilinestring ───────────────────────────
  <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:
      ▆
   1. └─sf::read_sf(f) at test_line.R:70:2
   2.   ├─sf::st_read(...)
   3.   └─sf:::st_read.character(...)
   4.     └─sf:::CPL_read_ogr(...)
  ── Error ('test_read-write_attribute_data.R:5'): A dataframe can be round tripped to netCDF. ──
  <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:
      ▆
   1. ├─sf::st_set_geometry(...) at test_read-write_attribute_data.R:5:2
   2. └─sf::read_sf("data/NHDLine/NHDLine.shp")
   3.   ├─sf::st_read(...)
   4.   └─sf:::st_read.character(...)
   5.     └─sf:::CPL_read_ogr(...)
  ── Error ('test_read-write_attribute_data.R:26'): instance data can be added to an existing netcdf file. ──
  <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:
      ▆
   1. └─sf::read_sf(system.file("extdata", "example_huc_eta.json", package = "ncdfgeom")) at test_read-write_attribute_data.R:26:8
   2.   ├─sf::st_read(...)
   3.   └─sf:::st_read.character(...)
   4.     └─sf:::CPL_read_ogr(...)
  
  [ FAIL 5 | WARN 1 | SKIP 2 | PASS 615 ]
  Error: Test failures
  Execution halted