Running ‘testthat.R’ [83s/86s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check("spNetwork")
  Loading required package: spNetwork
  ══ Warnings ════════════════════════════════════════════════════════════════════
  ── Warning (test_listw_symetry.R:8:3): A listw object returned by the function network_listw must be symetric and identic as one returned by network_listw.mc ──
  spgeom1 and spgeom2 have different proj4 strings
  Backtrace:
   1. spNetwork::network_listw(...) test_listw_symetry.R:8:2
   2. maptools::snapPointsToLines(...)
   3. rgeos::gDistance(points, lines, byid = TRUE)
   4. rgeos:::RGEOSDistanceFunc(spgeom1, spgeom2, byid, "rgeos_distance")
  ── Warning (test_listw_symetry.R:8:3): A listw object returned by the function network_listw must be symetric and identic as one returned by network_listw.mc ──
  spgeom1 and spgeom2 have different proj4 strings
  Backtrace:
   1. spNetwork::network_listw(...) test_listw_symetry.R:8:2
   2. spNetwork:::prepare_elements_netlistw(...)
   3. base::lapply(...)
   4. spNetwork:::FUN(X[[i]], ...)
   5. spNetwork:::spatial_request(quadra, snapped_points_tree, snapped_points)
   7. rgeos::gIntersects(candidates, geometry, byid = TRUE)
   8. rgeos:::RGEOSBinPredFunc(spgeom1, spgeom2, byid, func)
  ── Warning (test_listw_symetry.R:8:3): A listw object returned by the function network_listw must be symetric and identic as one returned by network_listw.mc ──
  spgeom1 and spgeom2 have different proj4 strings
  Backtrace:
   1. spNetwork::network_listw(...) test_listw_symetry.R:8:2
   2. spNetwork:::prepare_elements_netlistw(...)
   3. base::lapply(...)
   4. spNetwork:::FUN(X[[i]], ...)
   5. spNetwork:::spatial_request(buff, lines_tree, lines)
   7. rgeos::gIntersects(candidates, geometry, byid = TRUE)
   8. rgeos:::RGEOSBinPredFunc(spgeom1, spgeom2, byid, func)
  ── Warning (test_listw_symetry.R:8:3): A listw object returned by the function network_listw must be symetric and identic as one returned by network_listw.mc ──
  zero sum general weights
  Backtrace:
   1. spNetwork::network_listw(...) test_listw_symetry.R:8:2
   2. spdep::nb2listw(...)
  ── Warning (test_listw_symetry.R:24:3): A listw object returned by the function network_listw must be symetric and identic as one returned by network_listw.mc ──
  spgeom1 and spgeom2 have different proj4 strings
  Backtrace:
   1. spNetwork::network_listw.mc(...) test_listw_symetry.R:24:2
   2. maptools::snapPointsToLines(...)
   3. rgeos::gDistance(points, lines, byid = TRUE)
   4. rgeos:::RGEOSDistanceFunc(spgeom1, spgeom2, byid, "rgeos_distance")
  ── Warning (test_listw_symetry.R:24:3): A listw object returned by the function network_listw must be symetric and identic as one returned by network_listw.mc ──
  spgeom1 and spgeom2 have different proj4 strings
  Backtrace:
    1. spNetwork::network_listw.mc(...) test_listw_symetry.R:24:2
    2. future.apply::future_lapply(...)
    3. future.apply:::future_xapply(...)
    6. future:::value.list(fs)
    8. future:::resolve.list(...)
    9. future:::signalConditionsASAP(obj, resignal = FALSE, pos = ii)
   10. future:::signalConditions(...)
  ── Warning (test_listw_symetry.R:24:3): A listw object returned by the function network_listw must be symetric and identic as one returned by network_listw.mc ──
  spgeom1 and spgeom2 have different proj4 strings
  Backtrace:
    1. spNetwork::network_listw.mc(...) test_listw_symetry.R:24:2
    2. future.apply::future_lapply(...)
    3. future.apply:::future_xapply(...)
    6. future:::value.list(fs)
    8. future:::resolve.list(...)
    9. future:::signalConditionsASAP(obj, resignal = FALSE, pos = ii)
   10. future:::signalConditions(...)
  ── Warning (test_listw_symetry.R:24:3): A listw object returned by the function network_listw must be symetric and identic as one returned by network_listw.mc ──
  zero sum general weights
  Backtrace:
   1. spNetwork::network_listw.mc(...) test_listw_symetry.R:24:2
   2. spdep::nb2listw(...)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_kernels.R:33:3): Testing the simple kernel with a simple case ───
  Error: no arguments in initialization list
  Backtrace:
      █
   1. └─sp::CRS("EPSG:32633") test_kernels.R:33:2
  ── Error (test_kernels.R:81:3): Testing the discontinuous kernel with a simple case ──
  Error: no arguments in initialization list
  Backtrace:
      █
   1. └─sp::CRS("+init=EPSG:32633") test_kernels.R:81:2
  ── Error (test_kernels.R:129:3): Testing the continuous kernel with a simple case ──
  Error: no arguments in initialization list
  Backtrace:
      █
   1. └─sp::CRS("+init=EPSG:32633") test_kernels.R:129:2
  
  [ FAIL 3 | WARN 8 | SKIP 0 | PASS 1 ]
  Error: Test failures
  Execution halted