Running 'testthat.R' [196s]
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 --
  CRS object has comment, which is lost in output
  Backtrace:
    1. spNetwork::network_listw(...) test_listw_symetry.R:8:2
    7. spNetwork::lines_center(origins)
    8. maptools::SpatialLinesMidPoints(lines)
   16. sp::proj4string(sldf)
  -- 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 --
  CRS object has comment, which is lost in output
  Backtrace:
    1. spNetwork::network_listw(...) test_listw_symetry.R:8:2
    2. maptools::snapPointsToLines(...)
   10. sp::proj4string(points)
  -- 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:24:3): A listw object returned by the function network_listw must be symetric and identic as one returned by network_listw.mc --
  CRS object has comment, which is lost in output
  Backtrace:
    1. spNetwork::network_listw.mc(...) test_listw_symetry.R:24:2
    7. spNetwork::lines_center(origins)
    8. maptools::SpatialLinesMidPoints(lines)
   16. sp::proj4string(sldf)
  -- 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 --
  CRS object has comment, which is lost in output
  Backtrace:
    1. spNetwork::network_listw.mc(...) test_listw_symetry.R:24:2
    2. maptools::snapPointsToLines(...)
   10. sp::proj4string(points)
  -- 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(...)
  
  == Failed tests ================================================================
  -- Failure (test_kernels.R:47:3): Testing the simple kernel with a simple case --
  `obs_value` not equal to `real_value`.
  1/1 mismatches
  [1] 0.00192 - 0.00384 == -0.00192
  -- Failure (test_kernels.R:95:3): Testing the discontinuous kernel with a simple case --
  `obs_value` not equal to `real_value`.
  1/1 mismatches
  [1] Inf - 0.00128 == Inf
  -- Failure (test_kernels.R:144:3): Testing the continuous kernel with a simple case --
  `obs_value` not equal to `real_value`.
  1/1 mismatches
  [1] 0 - 0.12 == -0.12
  
  [ FAIL 3 | WARN 10 | SKIP 0 | PASS 1 ]
  Error: Test failures
  Execution halted