Running ‘tinytest.R’ [2s/3s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > 
  > if ( requireNamespace("tinytest", quietly=TRUE) ){
  +   tinytest::test_package("blocking")
  + }
  
  test_annoy.R..................    0 tests    
  test_annoy.R..................    0 tests    
  test_annoy.R..................    1 tests OK 
  test_annoy.R..................    2 tests OK 
  test_annoy.R..................    3 tests OK 
  test_annoy.R..................    4 tests OK Reallocating to 1 nodes: old_address=0x0, new_address=0x6000019bd800
  Reallocating to 2 nodes: old_address=0x6000019bd800, new_address=0x600000b89500
  Reallocating to 3 nodes: old_address=0x600000b89500, new_address=0x10f9846e0
  Reallocating to 5 nodes: old_address=0x10f9846e0, new_address=0x10f975400
  Reallocating to 7 nodes: old_address=0x10f975400, new_address=0x10f98c980
  Reallocating to 10 nodes: old_address=0x10f98c980, new_address=0x102a85600
  pass 0...
  pass 1...
  pass 2...
  Reallocating to 14 nodes: old_address=0x102a85600, new_address=0x102b2c800
  pass 3...
  pass 4...
  pass 5...
  pass 6...
  Reallocating to 19 nodes: old_address=0x102b2c800, new_address=0x102884400
  pass 7...
  pass 8...
  pass 9...
  pass 10...
  pass 11...
  Reallocating to 26 nodes: old_address=0x102884400, new_address=0x102a9b200
  pass 12...
  pass 13...
  pass 14...
  pass 15...
  pass 16...
  pass 17...
  pass 18...
  Reallocating to 35 nodes: old_address=0x102a9b200, new_address=0x102a01600
  pass 19...
  pass 20...
  pass 21...
  pass 22...
  pass 23...
  pass 24...
  pass 25...
  pass 26...
  pass 27...
  Reallocating to 46 nodes: old_address=0x102a01600, new_address=0x102a50800
  pass 28...
  pass 29...
  pass 30...
  pass 31...
  pass 32...
  pass 33...
  pass 34...
  pass 35...
  pass 36...
  pass 37...
  pass 38...
  Reallocating to 61 nodes: old_address=0x102a50800, new_address=0x1029bb800
  pass 39...
  pass 40...
  pass 41...
  pass 42...
  pass 43...
  pass 44...
  pass 45...
  pass 46...
  pass 47...
  pass 48...
  pass 49...
  pass 50...
  pass 51...
  pass 52...
  pass 53...
  Reallocating to 80 nodes: old_address=0x1029bb800, new_address=0x1029bb800
  pass 54...
  pass 55...
  pass 56...
  pass 57...
  pass 58...
  pass 59...
  pass 60...
  pass 61...
  pass 62...
  pass 63...
  pass 64...
  pass 65...
  pass 66...
  pass 67...
  pass 68...
  pass 69...
  pass 70...
  pass 71...
  pass 72...
  Reallocating to 105 nodes: old_address=0x1029bb800, new_address=0x1029bb800
  pass 73...
  pass 74...
  pass 75...
  pass 76...
  pass 77...
  pass 78...
  pass 79...
  pass 80...
  pass 81...
  pass 82...
  pass 83...
  pass 84...
  pass 85...
  pass 86...
  pass 87...
  pass 88...
  pass 89...
  pass 90...
  pass 91...
  pass 92...
  pass 93...
  pass 94...
  pass 95...
  pass 96...
  pass 97...
  Reallocating to 137 nodes: old_address=0x1029bb800, new_address=0x1029bb800
  pass 98...
  pass 99...
  pass 100...
  pass 101...
  pass 102...
  pass 103...
  pass 104...
  pass 105...
  pass 106...
  pass 107...
  pass 108...
  pass 109...
  pass 110...
  pass 111...
  pass 112...
  pass 113...
  pass 114...
  pass 115...
  pass 116...
  pass 117...
  pass 118...
  pass 119...
  pass 120...
  pass 121...
  pass 122...
  pass 123...
  pass 124...
  pass 125...
  pass 126...
  pass 127...
  pass 128...
  pass 129...
  Reallocating to 179 nodes: old_address=0x1029bb800, new_address=0x1029c4200
  pass 130...
  pass 131...
  pass 132...
  pass 133...
  pass 134...
  pass 135...
  pass 136...
  pass 137...
  pass 138...
  pass 139...
  pass 140...
  pass 141...
  pass 142...
  pass 143...
  pass 144...
  pass 145...
  pass 146...
  pass 147...
  pass 148...
  pass 149...
  pass 150...
  pass 151...
  pass 152...
  pass 153...
  pass 154...
  pass 155...
  pass 156...
  pass 157...
  pass 158...
  pass 159...
  pass 160...
  pass 161...
  pass 162...
  pass 163...
  pass 164...
  pass 165...
  pass 166...
  pass 167...
  pass 168...
  pass 169...
  pass 170...
  pass 171...
  Reallocating to 234 nodes: old_address=0x1029c4200, new_address=0x1029c4200
  pass 172...
  pass 173...
  pass 174...
  pass 175...
  pass 176...
  pass 177...
  pass 178...
  pass 179...
  pass 180...
  pass 181...
  pass 182...
  pass 183...
  pass 184...
  pass 185...
  pass 186...
  pass 187...
  pass 188...
  pass 189...
  pass 190...
  pass 191...
  pass 192...
  pass 193...
  pass 194...
  pass 195...
  pass 196...
  pass 197...
  pass 198...
  pass 199...
  pass 200...
  pass 201...
  pass 202...
  pass 203...
  pass 204...
  pass 205...
  pass 206...
  pass 207...
  pass 208...
  pass 209...
  pass 210...
  pass 211...
  pass 212...
  pass 213...
  pass 214...
  pass 215...
  pass 216...
  pass 217...
  pass 218...
  pass 219...
  pass 220...
  pass 221...
  pass 222...
  pass 223...
  pass 224...
  pass 225...
  pass 226...
  Reallocating to 305 nodes: old_address=0x1029c4200, new_address=0x158618000
  pass 227...
  pass 228...
  pass 229...
  pass 230...
  pass 231...
  pass 232...
  pass 233...
  pass 234...
  pass 235...
  pass 236...
  pass 237...
  pass 238...
  pass 239...
  pass 240...
  pass 241...
  pass 242...
  pass 243...
  pass 244...
  pass 245...
  pass 246...
  pass 247...
  pass 248...
  pass 249...
  Reallocating to 508 nodes: old_address=0x158618000, new_address=0x158618000
  has 508 nodes
  
  test_annoy.R..................    5 tests OK 0.9s
  
  test_blocking.R...............    0 tests    
  test_blocking.R...............    0 tests    
  test_blocking.R...............    1 tests OK 
  test_blocking.R...............    2 tests OK 
  test_blocking.R...............    3 tests OK unloaded
  
  test_blocking.R...............    4 tests OK 
  test_blocking.R...............    5 tests OK 
  test_blocking.R...............    6 tests OK 
  test_blocking.R...............    7 tests OK 
  test_blocking.R...............    8 tests OK 
  test_blocking.R...............    9 tests OK 
  test_blocking.R...............   10 tests OK 
  test_blocking.R...............   11 tests OK 
  test_blocking.R...............   12 tests OK 
  test_blocking.R...............   13 tests OK 
  test_blocking.R...............   14 tests OK 
  test_blocking.R...............   15 tests OK 
  test_blocking.R...............   16 tests OK 
  test_blocking.R...............   17 tests OK 
  test_blocking.R...............   18 tests OK 
  test_blocking.R...............   19 tests OK 
  test_blocking.R...............   20 tests OK 
  test_blocking.R...............   21 tests OK 
  test_blocking.R...............   22 tests OK 
  test_blocking.R...............   23 tests OK 
  test_blocking.R...............   24 tests OK 
  test_blocking.R...............   25 tests OK 
  test_blocking.R...............   26 tests OK 
  test_blocking.R...............   27 tests OK 
  test_blocking.R...............   28 tests OK 
  test_blocking.R...............   29 tests OK 
  test_blocking.R...............   30 tests OK 
  test_blocking.R...............   31 tests OK 
  test_blocking.R...............   32 tests OK 
  test_blocking.R...............   32 tests OK 
  test_blocking.R...............   33 tests OK 
  test_blocking.R...............   33 tests OK 
  test_blocking.R...............   34 tests OK 
  test_blocking.R...............   35 tests OK 
  test_blocking.R...............   35 tests OK 
  test_blocking.R...............   35 tests OK 
  test_blocking.R...............   36 tests OK 
  test_blocking.R...............   37 tests OK 
  test_blocking.R...............   38 tests OK 
  test_blocking.R...............   38 tests OK 
  test_blocking.R...............   38 tests OK 
  test_blocking.R...............   38 tests OK 
  test_blocking.R...............   39 tests OK 
  test_blocking.R...............   39 tests OK 
  test_blocking.R...............   40 tests OK 
  test_blocking.R...............   40 tests OK 
  test_blocking.R...............   40 tests OK 
  test_blocking.R...............   40 tests OK 
  test_blocking.R...............   41 tests OK 
  test_blocking.R...............   42 tests OK 
  test_blocking.R...............   43 tests OK 
  test_blocking.R...............   43 tests OK 
  test_blocking.R...............   47 tests OK 
  test_blocking.R...............   47 tests OK 
  test_blocking.R...............   48 tests OK 
  test_blocking.R...............   49 tests OK 
  test_blocking.R...............   50 tests OK 
  test_blocking.R...............   51 tests OK 
  test_blocking.R...............   52 tests OK 
  test_blocking.R...............   53 tests OK 
  test_blocking.R...............   54 tests OK 
  test_blocking.R...............   55 tests OK 
  test_blocking.R...............   55 tests OK 
  test_blocking.R...............   55 tests OK 
  test_blocking.R...............   56 tests OK 
  test_blocking.R...............   57 tests OK 
  test_blocking.R...............   58 tests OK 0.4s
  
  test_data.R...................    0 tests    
  test_data.R...................    0 tests    
  test_data.R...................    0 tests    
  test_data.R...................    0 tests    
  test_data.R...................    0 tests    
  test_data.R...................    0 tests    
  test_data.R...................    0 tests    1ms
  
  test_est_block_error.R........    1 tests OK 
  test_est_block_error.R........    2 tests OK 4ms
  
  test_hnsw.R...................    0 tests    
  test_hnsw.R...................    0 tests    
  test_hnsw.R...................    1 tests OK 
  test_hnsw.R...................    2 tests 1 fails 
  test_hnsw.R...................    3 tests 1 fails 
  test_hnsw.R...................    4 tests 2 fails 15:05:05 Building HNSW index with metric 'cosine' ef = 200 M = 25 using 1 threads
  15:05:05 Finished building index
  15:05:05 Searching HNSW index with ef = 200 and 1 threads
  15:05:05 Finished searching
  
  test_hnsw.R...................    5 tests 2 fails 
  test_hnsw.R...................    6 tests 2 fails 
  test_hnsw.R...................    7 tests 2 fails 46ms
  
  test_mlpack.R.................    0 tests    
  test_mlpack.R.................    0 tests    
  test_mlpack.R.................    1 tests OK 
  test_mlpack.R.................    2 tests OK 
  test_mlpack.R.................    3 tests OK 
  test_mlpack.R.................    4 tests OK 28ms
  
  test_reclin2.R................    0 tests    
  test_reclin2.R................    1 tests OK 
  test_reclin2.R................    2 tests OK 
  test_reclin2.R................    3 tests OK 
  test_reclin2.R................    3 tests OK 
  test_reclin2.R................    3 tests OK 
  test_reclin2.R................    3 tests OK 
  test_reclin2.R................    3 tests OK 
  test_reclin2.R................    4 tests OK 
  test_reclin2.R................    5 tests OK 
  test_reclin2.R................    6 tests OK 
  test_reclin2.R................    6 tests OK 
  test_reclin2.R................    6 tests OK 
  test_reclin2.R................    7 tests OK 
  test_reclin2.R................    7 tests OK 
  test_reclin2.R................    7 tests OK 
  test_reclin2.R................    7 tests OK 
  test_reclin2.R................    8 tests OK 
  test_reclin2.R................    9 tests OK 
  test_reclin2.R................   10 tests OK 
  test_reclin2.R................   11 tests OK 0.1s
  
  test_true_blocks.R............    0 tests    
  test_true_blocks.R............    0 tests    
  test_true_blocks.R............    0 tests    
  test_true_blocks.R............    0 tests    
  test_true_blocks.R............    0 tests    
  test_true_blocks.R............    0 tests    
  test_true_blocks.R............    0 tests    
  test_true_blocks.R............    1 tests OK 
  test_true_blocks.R............    2 tests OK 
  test_true_blocks.R............    3 tests OK 
  test_true_blocks.R............    4 tests OK 
  test_true_blocks.R............    5 tests OK 
  test_true_blocks.R............    6 tests OK 
  test_true_blocks.R............    7 tests OK 
  test_true_blocks.R............    8 tests OK 47ms
  ----- FAILED[data]: test_hnsw.R<13--38>
   call| expect_equal(blocking(x = df_base$txt, y = df_example$txt, ann = "hnsw", 
   call| -->    control_ann = controls_ann(hnsw = list(M = 5, ef_s = 10, 
   call| -->        ef_c = 10))), structure(list(result = structure(list(x = c(1, 
   call| -->    1, 1, 1, 2, 2, 2, 2), y = c(5, 6, 7, 8, 1, 2, 3, 4), block = c(2, 
   call| -->    2, 2, 2, 1, 1, 1, 1), dist = c(1.19209289550781e-07, 0.0425729155540466, 
   call| -->    1.19209289550781e-07, 0.278312206268311, 0.0513166785240173, 
   call| -->    -1.19209289550781e-07, 0.0513166785240173, 0.225403368473053)), 
   call| -->    row.names = c(NA, -8), class = c("data.table", "data.frame")), 
   call| -->    method = "hnsw", deduplication = FALSE, representation = "shingles", 
   call| -->    metrics = NULL, confusion = NULL, colnames = c("al", "an", 
   call| -->        "ho", "ij", "ja", "ki", "ko", "ls", "mo", "ow", "py", 
   call| -->        "sk", "ty", "wa", "yp", "yt", "nt", "on", "th"), graph = NULL), 
   call| -->    class = "blocking", n_x = 3, n_y = 8))
   diff| Component "result": Column 'dist': Mean relative difference: 1.837035e-07
  ----- FAILED[data]: test_hnsw.R<48--73>
   call| expect_equal(blocking(x = mat_x, y = mat_y, ann = "hnsw", control_ann = controls_ann(hnsw = list(M = 5, 
   call| -->    ef_s = 10, ef_c = 10))), structure(list(result = structure(list(x = c(1, 
   call| -->    1, 1, 1, 2, 2, 2, 2), y = c(5, 6, 7, 8, 1, 2, 3, 4), block = c(2, 
   call| -->    2, 2, 2, 1, 1, 1, 1), dist = c(1.19209289550781e-07, 0.0425729155540466, 
   call| -->    1.19209289550781e-07, 0.278312206268311, 0.0513166785240173, 
   call| -->    -1.19209289550781e-07, 0.0513166785240173, 0.225403368473053)), 
   call| -->    row.names = c(NA, -8), class = c("data.table", "data.frame")), 
   call| -->    method = "hnsw", deduplication = FALSE, representation = "custom_matrix", 
   call| -->    metrics = NULL, confusion = NULL, colnames = c("al", "an", 
   call| -->        "ho", "ij", "ja", "ki", "ko", "ls", "mo", "nt", "ow", 
   call| -->        "py", "sk", "ty", "wa", "yp", "yt", "on", "th"), graph = NULL), 
   call| -->    class = "blocking", n_x = 3, n_y = 8))
   diff| Component "result": Column 'dist': Mean relative difference: 1.837035e-07
  Error: 2 out of 95 tests failed
  Execution halted