Running ‘testthat.R’ [201s/239s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # load packages
  > library(testthat)
  > library(restoptr)
  Loading required package: terra
  terra 1.5.34
  
  Attaching package: 'terra'
  
  The following object is masked from 'package:testthat':
  
      describe
  
  Loading required package: rJava
  Loading required package: units
  udunits database from /usr/share/udunits/udunits2.xml
  > 
  > # enable parallel testing
  > Sys.unsetenv("R_TESTS")
  > 
  > # run tests
  > test_check("restoptr")
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 532 
      Out cells = 15114
  
  MESH initial = 642.2554438860972
  
  Model[Model-0], 1 Solutions, MAXIMIZE MESH = 6428974, Resolution time 0.147s, Time to best solution 0.043s, 9 Nodes (61.2 n/s), 0 Backtracks, 0 Backjumps, 0 Fails, 0 Restarts
  [0mModel[Model-0], 2 Solutions, MAXIMIZE MESH = 6429876, Resolution time 0.188s, Time to best solution 0.187s, 16 Nodes (85.2 n/s), 9 Backtracks, 0 Backjumps, 4 Fails, 0 Restarts
  [0mModel[Model-0], 3 Solutions, MAXIMIZE MESH = 6431263, Resolution time 0.202s, Time to best solution 0.200s, 24 Nodes (118.5 n/s), 23 Backtracks, 0 Backjumps, 10 Fails, 0 Restarts
  [0mModel[Model-0], 4 Solutions, MAXIMIZE MESH = 6685737, Resolution time 0.289s, Time to best solution 0.289s, 65 Nodes (224.5 n/s), 41 Backtracks, 0 Backjumps, 18 Fails, 0 Restarts
  [0mModel[Model-0], 5 Solutions, MAXIMIZE MESH = 6692008, Resolution time 0.356s, Time to best solution 0.356s, 111 Nodes (311.4 n/s), 126 Backtracks, 0 Backjumps, 61 Fails, 0 Restarts
  [0mModel[Model-0], 6 Solutions, MAXIMIZE MESH = 6692159, Resolution time 1.032s, Time to best solution 1.032s, 339 Nodes (328.4 n/s), 642 Backtracks, 0 Backjumps, 321 Fails, 0 Restarts
  [0mModel[Model-0], 7 Solutions, MAXIMIZE MESH = 6694259, Resolution time 1.064s, Time to best solution 1.063s, 424 Nodes (398.5 n/s), 794 Backtracks, 0 Backjumps, 397 Fails, 0 Restarts
  [0mModel[Model-0], 7 Solutions, MAXIMIZE MESH = 6694259, Resolution time 1.986s, Time to best solution 1.063s, 2050 Nodes (1,032.2 n/s), 4087 Backtracks, 0 Backjumps, 2037 Fails, 0 Restarts
  [0mHeight = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 652 
      Out cells = 15114
  
  MESH initial = 642.2554438860972
  
  Model[Model-1], 1 Solutions, MAXIMIZE MESH = 6430027, Resolution time 0.004s, Time to best solution 0.003s, 14 Nodes (3,984.2 n/s), 0 Backtracks, 0 Backjumps, 0 Fails, 0 Restarts
  [0mModel[Model-1], 2 Solutions, MAXIMIZE MESH = 6430921, Resolution time 0.006s, Time to best solution 0.006s, 25 Nodes (3,872.2 n/s), 17 Backtracks, 0 Backjumps, 8 Fails, 0 Restarts
  [0mModel[Model-1], 3 Solutions, MAXIMIZE MESH = 6432242, Resolution time 0.009s, Time to best solution 0.009s, 36 Nodes (3,944.0 n/s), 39 Backtracks, 0 Backjumps, 18 Fails, 0 Restarts
  [0mModel[Model-1], 4 Solutions, MAXIMIZE MESH = 6685737, Resolution time 0.016s, Time to best solution 0.015s, 77 Nodes (4,880.5 n/s), 65 Backtracks, 0 Backjumps, 30 Fails, 0 Restarts
  [0mModel[Model-1], 5 Solutions, MAXIMIZE MESH = 6687825, Resolution time 0.031s, Time to best solution 0.031s, 78 Nodes (2,491.9 n/s), 124 Backtracks, 0 Backjumps, 59 Fails, 0 Restarts
  [0mModel[Model-1], 6 Solutions, MAXIMIZE MESH = 6689916, Resolution time 0.034s, Time to best solution 0.034s, 83 Nodes (2,438.8 n/s), 129 Backtracks, 0 Backjumps, 61 Fails, 0 Restarts
  [0mModel[Model-1], 7 Solutions, MAXIMIZE MESH = 6696355, Resolution time 0.090s, Time to best solution 0.082s, 229 Nodes (2,544.5 n/s), 350 Backtracks, 0 Backjumps, 173 Fails, 0 Restarts
  [0mModel[Model-1], 8 Solutions, MAXIMIZE MESH = 6696363, Resolution time 0.096s, Time to best solution 0.095s, 245 Nodes (2,555.1 n/s), 435 Backtracks, 0 Backjumps, 215 Fails, 0 Restarts
  [0mModel[Model-1], 9 Solutions, MAXIMIZE MESH = 6698472, Resolution time 0.107s, Time to best solution 0.107s, 315 Nodes (2,943.0 n/s), 511 Backtracks, 0 Backjumps, 252 Fails, 0 Restarts
  [0mModel[Model-1], 10 Solutions, MAXIMIZE MESH = 6739631, Resolution time 1.938s, Time to best solution 1.936s, 9852 Nodes (5,084.0 n/s), 19459 Backtracks, 0 Backjumps, 9795 Fails, 0 Restarts
  [0mModel[Model-1], 11 Solutions, MAXIMIZE MESH = 8759028, Resolution time 2.000s, Time to best solution 2.000s, 10060 Nodes (5,029.6 n/s), 19679 Backtracks, 0 Backjumps, 9977 Fails, 0 Restarts
  [0mModel[Model-1], 12 Solutions, MAXIMIZE MESH = 8767464, Resolution time 2.033s, Time to best solution 2.030s, 10302 Nodes (5,066.6 n/s), 20234 Backtracks, 0 Backjumps, 10255 Fails, 0 Restarts
  [0mModel[Model-1], 13 Solutions, MAXIMIZE MESH = 8792640, Resolution time 2.694s, Time to best solution 2.693s, 15558 Nodes (5,775.2 n/s), 30682 Backtracks, 0 Backjumps, 15480 Fails, 0 Restarts
  [0mModel[Model-1], 14 Solutions, MAXIMIZE MESH = 8809552, Resolution time 2.712s, Time to best solution 2.704s, 15645 Nodes (5,769.8 n/s), 30849 Backtracks, 0 Backjumps, 15562 Fails, 0 Restarts
  [0mModel[Model-1], 14 Solutions, MAXIMIZE MESH = 8809552, Resolution time 6.069s, Time to best solution 2.704s, 39423 Nodes (6,495.9 n/s), 78819 Backtracks, 0 Backjumps, 39396 Fails, 0 Restarts
  [0m=====|====|====|====|====|====|====|====|====|====
  --------------------------------------------------
                                                    
  
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 2094 
      Out cells = 15114
  
  Model[Model-2], 1 Solutions, Resolution time 0.008s, 18 Nodes (2,301.4 n/s), 0 Backtracks, 0 Backjumps, 0 Fails, 0 Restarts
  [0mHeight = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 2094 
      Out cells = 15114
  
  Model[Model-3], 1 Solutions, Resolution time 0.040s, 27 Nodes (667.9 n/s), 0 Backtracks, 0 Backjumps, 0 Fails, 0 Restarts
  [0mHeight = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 2094 
      Out cells = 15114
  
  Model[Model-4], 1 Solutions, Resolution time 0.017s, 56 Nodes (3,207.1 n/s), 0 Backtracks, 0 Backjumps, 0 Fails, 0 Restarts
  [0mHeight = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 2094 
      Out cells = 15114
  
  Model[Model-5], 1 Solutions, Resolution time 0.419s, 410 Nodes (978.1 n/s), 0 Backtracks, 0 Backjumps, 0 Fails, 0 Restarts
  [0mHeight = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 2094 
      Out cells = 15114
  
  Model[Model-6], 1 Solutions, Resolution time 0.166s, 506 Nodes (3,043.9 n/s), 0 Backtracks, 0 Backjumps, 0 Fails, 0 Restarts
  [0mHeight = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 2094 
      Out cells = 15114
  
  Model[Model-7], 1 Solutions, Resolution time 0.019s, 27 Nodes (1,413.2 n/s), 0 Backtracks, 0 Backjumps, 0 Fails, 0 Restarts
  [0mHeight = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 128 
      Out cells = 15114
  
  MESH initial = 642.2554438860972
  
  Model[Model-8], 1 Solutions, MAXIMIZE MESH = 7047073, Resolution time 0.004s, Time to best solution 0.003s, 129 Nodes (31,406.5 n/s), 0 Backtracks, 0 Backjumps, 0 Fails, 0 Restarts
  [0mModel[Model-8], 1 Solutions, MAXIMIZE MESH = 7047073, Resolution time 0.029s, Time to best solution 0.003s, 129 Nodes (4,462.8 n/s), 257 Backtracks, 0 Backjumps, 128 Fails, 0 Restarts
  [0mHeight = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 652 
      Out cells = 15114
  
  MESH initial = 642.2554438860972
  
  Model[Model-9], 1 Solutions, MAXIMIZE MESH = 13985838, Resolution time 0.063s, Time to best solution 0.062s, 653 Nodes (10,416.8 n/s), 0 Backtracks, 0 Backjumps, 0 Fails, 0 Restarts
  [0mModel[Model-9], 1 Solutions, MAXIMIZE MESH = 13985838, Resolution time 0.068s, Time to best solution 0.062s, 653 Nodes (9,605.7 n/s), 1305 Backtracks, 0 Backjumps, 652 Fails, 0 Restarts
  [0mHeight = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 0 
      Out cells = 15114
  
  MESH initial = 642.2554438860972
  
  Model[Model-10], 1 Solutions, MAXIMIZE MESH = 6422554, Resolution time 0.001s, Time to best solution 0.000s, 1 Nodes (1,046.8 n/s), 0 Backtracks, 0 Backjumps, 0 Fails, 0 Restarts
  [0mModel[Model-10], 1 Solutions, MAXIMIZE MESH = 6422554, Resolution time 0.002s, Time to best solution 0.000s, 1 Nodes (497.4 n/s), 1 Backtracks, 0 Backjumps, 0 Fails, 0 Restarts
  [0m=====|====|====|====|====|====|====|====|====|====
  --------------------------------------------------
                                                    
  
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 128 
      Out cells = 15114
  
  Model[Model-11], 1 Solutions, Resolution time 0.444s, 15 Nodes (33.8 n/s), 6 Backtracks, 0 Backjumps, 6 Fails, 0 Restarts
  [0mModel[Model-11], 2 Solutions, Resolution time 0.448s, 16 Nodes (35.7 n/s), 7 Backtracks, 0 Backjumps, 6 Fails, 0 Restarts
  [0mModel[Model-11], 3 Solutions, Resolution time 0.455s, 18 Nodes (39.6 n/s), 9 Backtracks, 0 Backjumps, 6 Fails, 0 Restarts
  [0mModel[Model-11], 4 Solutions, Resolution time 0.465s, 19 Nodes (40.9 n/s), 10 Backtracks, 0 Backjumps, 6 Fails, 0 Restarts
  [0mModel[Model-11], 5 Solutions, Resolution time 0.484s, 28 Nodes (57.8 n/s), 15 Backtracks, 0 Backjumps, 8 Fails, 0 Restarts
  [0mModel[Model-11], 6 Solutions, Resolution time 0.492s, 29 Nodes (58.9 n/s), 16 Backtracks, 0 Backjumps, 8 Fails, 0 Restarts
  [0mModel[Model-11], 7 Solutions, Resolution time 0.502s, 31 Nodes (61.8 n/s), 18 Backtracks, 0 Backjumps, 8 Fails, 0 Restarts
  [0mModel[Model-11], 8 Solutions, Resolution time 0.508s, 32 Nodes (63.0 n/s), 19 Backtracks, 0 Backjumps, 8 Fails, 0 Restarts
  [0mModel[Model-11], 9 Solutions, Resolution time 0.518s, 35 Nodes (67.5 n/s), 22 Backtracks, 0 Backjumps, 8 Fails, 0 Restarts
  [0mModel[Model-11], 10 Solutions, Resolution time 0.529s, 36 Nodes (68.0 n/s), 23 Backtracks, 0 Backjumps, 8 Fails, 0 Restarts
  [0mModel[Model-11], 11 Solutions, Resolution time 0.537s, 38 Nodes (70.8 n/s), 25 Backtracks, 0 Backjumps, 8 Fails, 0 Restarts
  [0mHeight = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 399 
      Out cells = 15114
  
  Model[Model-12], 1 Solutions, Resolution time 1.553s, 1084 Nodes (698.0 n/s), 1975 Backtracks, 0 Backjumps, 1072 Fails, 0 Restarts
  [0mModel[Model-12], 2 Solutions, Resolution time 1.671s, 1228 Nodes (734.9 n/s), 2261 Backtracks, 0 Backjumps, 1217 Fails, 0 Restarts
  [0mModel[Model-12], 3 Solutions, Resolution time 1.748s, 1337 Nodes (764.8 n/s), 2482 Backtracks, 0 Backjumps, 1324 Fails, 0 Restarts
  [0mModel[Model-12], 4 Solutions, Resolution time 1.947s, 1542 Nodes (791.9 n/s), 2877 Backtracks, 0 Backjumps, 1524 Fails, 0 Restarts
  [0mModel[Model-12], 5 Solutions, Resolution time 1.974s, 1561 Nodes (790.7 n/s), 2916 Backtracks, 0 Backjumps, 1540 Fails, 0 Restarts
  [0mModel[Model-12], 6 Solutions, Resolution time 1.982s, 1569 Nodes (791.5 n/s), 2927 Backtracks, 0 Backjumps, 1545 Fails, 0 Restarts
  [0mModel[Model-12], 7 Solutions, Resolution time 1.992s, 1578 Nodes (792.1 n/s), 2947 Backtracks, 0 Backjumps, 1553 Fails, 0 Restarts
  [0mModel[Model-12], 8 Solutions, Resolution time 1.994s, 1579 Nodes (791.7 n/s), 2948 Backtracks, 0 Backjumps, 1553 Fails, 0 Restarts
  [0mModel[Model-12], 9 Solutions, Resolution time 1.998s, 1583 Nodes (792.3 n/s), 2950 Backtracks, 0 Backjumps, 1553 Fails, 0 Restarts
  [0mModel[Model-12], 10 Solutions, Resolution time 2.000s, 1584 Nodes (792.0 n/s), 2951 Backtracks, 0 Backjumps, 1553 Fails, 0 Restarts
  [0mModel[Model-12], 11 Solutions, Resolution time 2.002s, 1585 Nodes (791.7 n/s), 2953 Backtracks, 0 Backjumps, 1553 Fails, 0 Restarts
  [0mHeight = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 399 
      Out cells = 15114
  
  Model[Model-13], 1 Solutions, Resolution time 0.897s, 1084 Nodes (1,207.9 n/s), 1975 Backtracks, 0 Backjumps, 1072 Fails, 0 Restarts
  [0mModel[Model-13], 2 Solutions, Resolution time 1.040s, 1228 Nodes (1,181.3 n/s), 2261 Backtracks, 0 Backjumps, 1217 Fails, 0 Restarts
  [0mModel[Model-13], 3 Solutions, Resolution time 1.099s, 1337 Nodes (1,216.9 n/s), 2482 Backtracks, 0 Backjumps, 1324 Fails, 0 Restarts
  [0mModel[Model-13], 4 Solutions, Resolution time 1.231s, 1542 Nodes (1,252.6 n/s), 2877 Backtracks, 0 Backjumps, 1524 Fails, 0 Restarts
  [0mModel[Model-13], 5 Solutions, Resolution time 1.247s, 1561 Nodes (1,251.7 n/s), 2916 Backtracks, 0 Backjumps, 1540 Fails, 0 Restarts
  [0mModel[Model-13], 6 Solutions, Resolution time 1.253s, 1569 Nodes (1,251.7 n/s), 2927 Backtracks, 0 Backjumps, 1545 Fails, 0 Restarts
  [0mModel[Model-13], 7 Solutions, Resolution time 1.262s, 1578 Nodes (1,249.8 n/s), 2947 Backtracks, 0 Backjumps, 1553 Fails, 0 Restarts
  [0mModel[Model-13], 8 Solutions, Resolution time 1.270s, 1579 Nodes (1,243.7 n/s), 2948 Backtracks, 0 Backjumps, 1553 Fails, 0 Restarts
  [0mModel[Model-13], 9 Solutions, Resolution time 1.272s, 1583 Nodes (1,244.1 n/s), 2950 Backtracks, 0 Backjumps, 1553 Fails, 0 Restarts
  [0mModel[Model-13], 10 Solutions, Resolution time 1.275s, 1584 Nodes (1,242.6 n/s), 2951 Backtracks, 0 Backjumps, 1553 Fails, 0 Restarts
  [0mModel[Model-13], 11 Solutions, Resolution time 1.276s, 1585 Nodes (1,241.9 n/s), 2953 Backtracks, 0 Backjumps, 1553 Fails, 0 Restarts
  [0mHeight = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 399 
      Out cells = 15114
  
  Model[Model-14], 1 Solutions, Resolution time 0.845s, 1084 Nodes (1,282.9 n/s), 1975 Backtracks, 0 Backjumps, 1072 Fails, 0 Restarts
  [0mModel[Model-14], 2 Solutions, Resolution time 1.012s, 1228 Nodes (1,213.9 n/s), 2261 Backtracks, 0 Backjumps, 1217 Fails, 0 Restarts
  [0mModel[Model-14], 3 Solutions, Resolution time 1.102s, 1337 Nodes (1,213.4 n/s), 2482 Backtracks, 0 Backjumps, 1324 Fails, 0 Restarts
  [0mModel[Model-14], 4 Solutions, Resolution time 1.207s, 1542 Nodes (1,277.5 n/s), 2877 Backtracks, 0 Backjumps, 1524 Fails, 0 Restarts
  [0mModel[Model-14], 5 Solutions, Resolution time 1.221s, 1561 Nodes (1,278.2 n/s), 2916 Backtracks, 0 Backjumps, 1540 Fails, 0 Restarts
  [0mModel[Model-14], 6 Solutions, Resolution time 1.227s, 1569 Nodes (1,278.8 n/s), 2927 Backtracks, 0 Backjumps, 1545 Fails, 0 Restarts
  [0mModel[Model-14], 7 Solutions, Resolution time 1.235s, 1578 Nodes (1,278.0 n/s), 2947 Backtracks, 0 Backjumps, 1553 Fails, 0 Restarts
  [0mModel[Model-14], 8 Solutions, Resolution time 1.236s, 1579 Nodes (1,277.2 n/s), 2948 Backtracks, 0 Backjumps, 1553 Fails, 0 Restarts
  [0mModel[Model-14], 9 Solutions, Resolution time 1.239s, 1583 Nodes (1,277.7 n/s), 2950 Backtracks, 0 Backjumps, 1553 Fails, 0 Restarts
  [0mModel[Model-14], 10 Solutions, Resolution time 1.240s, 1584 Nodes (1,277.0 n/s), 2951 Backtracks, 0 Backjumps, 1553 Fails, 0 Restarts
  [0mModel[Model-14], 11 Solutions, Resolution time 1.244s, 1585 Nodes (1,273.7 n/s), 2953 Backtracks, 0 Backjumps, 1553 Fails, 0 Restarts
  [0mHeight = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 128 
      Out cells = 15114
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 128 
      Out cells = 15114
  
  Model[Model-16], 1 Solutions, Resolution time 0.003s, 21 Nodes (7,205.6 n/s), 10 Backtracks, 0 Backjumps, 10 Fails, 0 Restarts
  [0mHeight = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 128 
      Out cells = 15114
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 2094 
      Out cells = 15114
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 2094 
      Out cells = 15114
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 2094 
      Out cells = 15114
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 2094 
      Out cells = 15114
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 847 
      Non habitat cells = 3929 
      Accessible non habitat cells = 3929 
      Out cells = 15114
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 2094 
      Out cells = 15114
  
  MESH initial = 642.2554438860972
  
  Model[Model-23], 1 Solutions, MAXIMIZE MESH = 6433495, Resolution time 0.005s, Time to best solution 0.005s, 26 Nodes (4,721.8 n/s), 0 Backtracks, 0 Backjumps, 0 Fails, 0 Restarts
  [0mModel[Model-23], 2 Solutions, MAXIMIZE MESH = 6437008, Resolution time 0.008s, Time to best solution 0.008s, 50 Nodes (6,334.7 n/s), 37 Backtracks, 0 Backjumps, 18 Fails, 0 Restarts
  [0mModel[Model-23], 3 Solutions, MAXIMIZE MESH = 6441776, Resolution time 0.009s, Time to best solution 0.009s, 61 Nodes (6,549.1 n/s), 50 Backtracks, 0 Backjumps, 24 Fails, 0 Restarts
  [0mModel[Model-23], 4 Solutions, MAXIMIZE MESH = 6444037, Resolution time 0.014s, Time to best solution 0.014s, 93 Nodes (6,617.2 n/s), 105 Backtracks, 0 Backjumps, 50 Fails, 0 Restarts
  [0mModel[Model-23], 5 Solutions, MAXIMIZE MESH = 6475289, Resolution time 0.020s, Time to best solution 0.020s, 151 Nodes (7,490.3 n/s), 207 Backtracks, 0 Backjumps, 100 Fails, 0 Restarts
  [0mModel[Model-23], 6 Solutions, MAXIMIZE MESH = 6488235, Resolution time 0.235s, Time to best solution 0.235s, 1159 Nodes (4,928.6 n/s), 2209 Backtracks, 0 Backjumps, 1101 Fails, 0 Restarts
  [0mModel[Model-23], 7 Solutions, MAXIMIZE MESH = 6489095, Resolution time 0.238s, Time to best solution 0.238s, 1161 Nodes (4,874.2 n/s), 2268 Backtracks, 0 Backjumps, 1130 Fails, 0 Restarts
  [0mModel[Model-23], 8 Solutions, MAXIMIZE MESH = 6779885, Resolution time 0.475s, Time to best solution 0.475s, 2220 Nodes (4,670.5 n/s), 4309 Backtracks, 0 Backjumps, 2150 Fails, 0 Restarts
  [0mModel[Model-23], 8 Solutions, MAXIMIZE MESH = 6779885, Resolution time 1.995s, Time to best solution 0.475s, 2220 Nodes (1,112.8 n/s), 4310 Backtracks, 0 Backjumps, 2150 Fails, 0 Restarts
  [0mHeight = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 532 
      Out cells = 15114
  
  MESH initial = 642.2554438860972
  
  Model[Model-24], 1 Solutions, MAXIMIZE MESH = 64805, Resolution time 0.004s, Time to best solution 0.004s, 15 Nodes (3,369.3 n/s), 6 Backtracks, 0 Backjumps, 6 Fails, 0 Restarts
  [0mModel[Model-24], 2 Solutions, MAXIMIZE MESH = 66234, Resolution time 0.006s, Time to best solution 0.006s, 25 Nodes (3,997.1 n/s), 13 Backtracks, 0 Backjumps, 10 Fails, 0 Restarts
  [0mModel[Model-24], 2 Solutions, MAXIMIZE MESH = 66234, Resolution time 0.164s, Time to best solution 0.006s, 562 Nodes (3,434.2 n/s), 1121 Backtracks, 0 Backjumps, 559 Fails, 0 Restarts
  [0mHeight = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 532 
      Out cells = 15114
  
  Model[Model-25], 1 Solutions, Resolution time 0.001s, 2 Nodes (2,015.0 n/s), 0 Backtracks, 0 Backjumps, 0 Fails, 0 Restarts
  [0mModel[Model-25], 2 Solutions, Resolution time 0.002s, 6 Nodes (2,414.3 n/s), 1 Backtracks, 0 Backjumps, 0 Fails, 0 Restarts
  [0mModel[Model-25], 3 Solutions, Resolution time 0.003s, 7 Nodes (2,247.1 n/s), 2 Backtracks, 0 Backjumps, 0 Fails, 0 Restarts
  [0mHeight = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 532 
      Out cells = 15114
  
  Model[Model-26], 1 Solutions, Resolution time 0.001s, 2 Nodes (2,865.8 n/s), 0 Backtracks, 0 Backjumps, 0 Fails, 0 Restarts
  [0mHeight = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 128 
      Out cells = 15114
  
  IIC initial = 0.20373477041721344
  
  Model[Model-27], 1 Solutions, MAXIMIZE IIC = 2071, Resolution time 0.039s, Time to best solution 0.039s, 15 Nodes (384.7 n/s), 6 Backtracks, 0 Backjumps, 6 Fails, 0 Restarts
  [0mModel[Model-27], 2 Solutions, MAXIMIZE IIC = 2113, Resolution time 0.055s, Time to best solution 0.054s, 24 Nodes (438.5 n/s), 14 Backtracks, 0 Backjumps, 11 Fails, 0 Restarts
  [0mModel[Model-27], 2 Solutions, MAXIMIZE IIC = 2113, Resolution time 0.171s, Time to best solution 0.054s, 134 Nodes (783.8 n/s), 265 Backtracks, 0 Backjumps, 131 Fails, 0 Restarts
  [0mHeight = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 128 
      Out cells = 15114
  
  IIC initial = 0.1864735335111618
  
  Model[Model-28], 1 Solutions, MAXIMIZE IIC = 1899, Resolution time 0.020s, Time to best solution 0.020s, 15 Nodes (738.7 n/s), 6 Backtracks, 0 Backjumps, 6 Fails, 0 Restarts
  [0mModel[Model-28], 2 Solutions, MAXIMIZE IIC = 1941, Resolution time 0.025s, Time to best solution 0.024s, 24 Nodes (972.6 n/s), 14 Backtracks, 0 Backjumps, 11 Fails, 0 Restarts
  [0mModel[Model-28], 2 Solutions, MAXIMIZE IIC = 1941, Resolution time 0.136s, Time to best solution 0.024s, 125 Nodes (920.4 n/s), 247 Backtracks, 0 Backjumps, 122 Fails, 0 Restarts
  [0mHeight = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 128 
      Out cells = 15114
  
  MESH initial = 642.2554438860972
  
  Model[Model-29], 1 Solutions, MAXIMIZE MESH = 6480454, Resolution time 0.003s, Time to best solution 0.002s, 15 Nodes (5,362.4 n/s), 6 Backtracks, 0 Backjumps, 6 Fails, 0 Restarts
  [0mModel[Model-29], 2 Solutions, MAXIMIZE MESH = 6623356, Resolution time 0.008s, Time to best solution 0.007s, 24 Nodes (3,188.1 n/s), 14 Backtracks, 0 Backjumps, 11 Fails, 0 Restarts
  [0mModel[Model-29], 2 Solutions, MAXIMIZE MESH = 6623356, Resolution time 0.049s, Time to best solution 0.007s, 141 Nodes (2,859.9 n/s), 279 Backtracks, 0 Backjumps, 138 Fails, 0 Restarts
  [0mHeight = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 128 
      Out cells = 15114
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 128 
      Out cells = 15114
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 128 
      Out cells = 15114
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 128 
      Out cells = 15114
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 2094 
      Out cells = 15114
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 2094 
      Out cells = 15114
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 2094 
      Out cells = 15114
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 2094 
      Out cells = 15114
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 2094 
      Out cells = 15114
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 2094 
      Out cells = 15114
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 2094 
      Out cells = 15114
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 2094 
      Out cells = 15114
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 2094 
      Out cells = 15114
  Height = 117
  Width = 170
  Current landscape state loaded
      Habitat cells = 2682 
      Non habitat cells = 2094 
      Accessible non habitat cells = 2094 
      Out cells = 15114
  [ FAIL 7 | WARN 0 | SKIP 0 | PASS 676 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test_add_settings.R:17:3): time_limit ──────────────────────────────
  md$solving_time is not less than 1.1. Difference: 0.896
  ── Failure (test_solve.R:157:3): multiple solutions found with IIC optimization ──
  `result` has length 1, not length 10.
  ── Failure (test_solve.R:163:5): multiple solutions found with IIC optimization ──
  a$optimality_proven is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Error (test_solve.R:159:5): multiple solutions found with IIC optimization ──
  Error: [subset] undefined layer(s) selected: NA
  Backtrace:
      ▆
   1. ├─result[[i]] at test_solve.R:159:4
   2. └─result[[i]]
   3.   └─terra .local(x, i, j = j, ...)
   4.     ├─base::subset(x, i, ...)
   5.     └─terra::subset(x, i, ...)
   6.       └─terra .local(x, ...)
   7.         └─terra:::error(...)
  ── Error (test_solve.R:181:3): number of solutions found is less than desired (no objective) ──
  Error in `solve.RestoptProblem(problem)`: The research was stopped before a solution was found,  consider increasing the time limit
  
  Backtrace:
      ▆
   1. ├─base::solve(problem) at test_solve.R:181:2
   2. └─restoptr:::solve.RestoptProblem(problem)
  ── Failure (test_solve.R:204:3): multiple solutions found with IIC optimization and optimality gap ──
  `result` has length 1, not length 20.
  ── Error (test_solve.R:207:5): multiple solutions found with IIC optimization and optimality gap ──
  Error: [subset] undefined layer(s) selected: NA
  Backtrace:
      ▆
   1. ├─result[[i]] at test_solve.R:207:4
   2. └─result[[i]]
   3.   └─terra .local(x, i, j = j, ...)
   4.     ├─base::subset(x, i, ...)
   5.     └─terra::subset(x, i, ...)
   6.       └─terra .local(x, ...)
   7.         └─terra:::error(...)
  
  [ FAIL 7 | WARN 0 | SKIP 0 | PASS 676 ]
  Error: Test failures
  Execution halted