Running 'testthat.R' [76s/101s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(demcon)
  > 
  > test_check("demcon")
  trying URL 'https://comparativeconstitutionsproject.org/data/ccpcce_v1_3.zip'
  Content type 'application/zip' length 280499 bytes (273 KB)
  ==================================================
  downloaded 273 KB
  
  trying URL 'https://comparativeconstitutionsproject.org/data/ccpcce_v1_3.zip'
  Content type 'application/zip' length 280499 bytes (273 KB)
  ==================================================
  downloaded 273 KB
  
  trying URL 'https://comparativeconstitutionsproject.org/data/ccpcce_v1_3.zip'
  Content type 'application/zip' length 280499 bytes (273 KB)
  ==================================================
  downloaded 273 KB
  
  trying URL 'https://comparativeconstitutionsproject.org/data/ccpcce_v1_3.zip'
  Content type 'application/zip' length 280499 bytes (273 KB)
  ==================================================
  downloaded 273 KB
  
  trying URL 'https://comparativeconstitutionsproject.org/data/ccpcce_v1_3.zip'
  Content type 'application/zip' length 280499 bytes (273 KB)
  ==================================================
  downloaded 273 KB
  
  [ FAIL 2 | WARN 18 | SKIP 1 | PASS 53 ]
  
  == Skipped tests ===============================================================
  * On CRAN (1)
  
  == Failed tests ================================================================
  -- Error ('test-cshp_mult.R:17'): chsp_mult creates proper list ----------------
  <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. \-demcon::cshp_mult(...) at test-cshp_mult.R:17:3
    2.   +-base::suppressWarnings(cshapes::cshp(date = dates[i], useGW = FALSE))
    3.   | \-base::withCallingHandlers(...)
    4.   \-cshapes::cshp(date = dates[i], useGW = FALSE)
    5.     +-cshapes (local) defineProj(sf::st_read(fcontent, quiet = TRUE, drivers = "TopoJSON"))
    6.     | +-sf::st_transform(sf::st_set_crs(sf, 4326), 4326)
    7.     | \-sf::st_set_crs(sf, 4326)
    8.     +-sf::st_read(fcontent, quiet = TRUE, drivers = "TopoJSON")
    9.     \-sf:::st_read.character(fcontent, quiet = TRUE, drivers = "TopoJSON")
   10.       \-sf:::CPL_read_ogr(...)
  -- Error ('test-plot_cshp_mult.R:20'): plot.chsp_mult produces same plot -------
  <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. \-demcon::cshp_mult(...) at test-plot_cshp_mult.R:20:2
    2.   +-base::suppressWarnings(cshapes::cshp(date = dates[i], useGW = FALSE))
    3.   | \-base::withCallingHandlers(...)
    4.   \-cshapes::cshp(date = dates[i], useGW = FALSE)
    5.     +-cshapes (local) defineProj(sf::st_read(fcontent, quiet = TRUE, drivers = "TopoJSON"))
    6.     | +-sf::st_transform(sf::st_set_crs(sf, 4326), 4326)
    7.     | \-sf::st_set_crs(sf, 4326)
    8.     +-sf::st_read(fcontent, quiet = TRUE, drivers = "TopoJSON")
    9.     \-sf:::st_read.character(fcontent, quiet = TRUE, drivers = "TopoJSON")
   10.       \-sf:::CPL_read_ogr(...)
  
  [ FAIL 2 | WARN 18 | SKIP 1 | PASS 53 ]
  Deleting unused snapshots:
  * plot_cshp_mult/blakans-secession-plot.svg
  * plot_cshp_mult/yemens-secession-plot.svg
  Error: Test failures
  Execution halted