Running ‘DP_simplify.R’ [1s/1s]
  Comparing ‘DP_simplify.Rout’ to ‘DP_simplify.Rout.save’ ... OK
  Running ‘leak_by_exception.R’ [1s/1s]
  Comparing ‘leak_by_exception.Rout’ to ‘leak_by_exception.Rout.save’ ...12c12
<   TopologyException: side location conflict at 5 5. This can occur if the input geometry is invalid.
---
>   TopologyException: Input geom 0 is invalid: Self-intersection at 5 5
22c22
<   TopologyException: side location conflict at 5 5. This can occur if the input geometry is invalid.
---
>   TopologyException: Input geom 0 is invalid: Self-intersection at 5 5
32c32
<   TopologyException: side location conflict at 5 5. This can occur if the input geometry is invalid.
---
>   TopologyException: Input geom 0 is invalid: Self-intersection at 5 5
42c42
<   TopologyException: side location conflict at 5 5. This can occur if the input geometry is invalid.
---
>   TopologyException: Input geom 0 is invalid: Self-intersection at 5 5
  Running ‘test-all.R’ [3s/5s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > library(rgeos)
  Loading required package: sp
  The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
  which was just loaded, will retire in October 2023.
  Please refer to R-spatial evolution reports for details, especially
  https://r-spatial.org/r/2023/05/15/evolution4.html.
  It may be desirable to make the sf package available;
  package maintainers should consider adding sf to Suggests:.
  The sp package is now running under evolution status 2
       (status 2 uses the sf package in place of rgdal)
  rgeos version: 0.6-3, (SVN revision 696)
   GEOS runtime version: 3.12.0-CAPI-1.18.0 
   Please note that rgeos will be retired during October 2023,
  plan transition to sf or terra functions using GEOS at your earliest convenience.
  See https://r-spatial.org/r/2023/05/15/evolution4.html for details.
   GEOS using OverlayNG
   Linking to sp version: 2.0-0 
   Polygon checking: TRUE 
  
  > 
  > set_do_poly_check(FALSE)
  > #test_dir(system.file("tests", package = "rgeos"), StopReporter)#SummaryByContextReporter)
  > #test_package("rgeos")
  > test_check("rgeos")
  [ FAIL 1 | WARN 28 | SKIP 0 | PASS 116 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-misc.R:50:3'): gNearestPoints works with different geometries as inputs ──
  Error: Unable to parse: MULTIPOLYGON(((34 54, 60 34, 60 54, 34 54),                               (50 50, 52 50, 52 48, 50 48, 50 50)),                              ((100 100, 150 100, 150 150, 100 150, 100 100),                               (120 120, 120 130, 130 130, 130 120, 120 120))))
  GEOS reported: "rgeos_readWKT: unable to read wkt"
  Backtrace:
      ▆
   1. └─rgeos::readWKT("MULTIPOLYGON(((34 54, 60 34, 60 54, 34 54),\n                               (50 50, 52 50, 52 48, 50 48, 50 50)),\n                              ((100 100, 150 100, 150 150, 100 150, 100 100),\n                               (120 120, 120 130, 130 130, 130 120, 120 120))))") at test-misc.R:50:2
   2.   └─base::tryCatch(...)
   3.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  
  [ FAIL 1 | WARN 28 | SKIP 0 | PASS 116 ]
  Error: Test failures
  Execution halted