Running ‘testthat.R’ [8s/23s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(largeVis)
  Loading required package: Matrix
  largeVis was compiled with 32-bit types. This will limit the size of the datasets it can process. Consider recompiling with -DARMA_64BIT_WORD
  > 
  > test_check("largeVis")
  Error: C stack usage  195128112 is too close to the limit
  Error: C stack usage  195128112 is too close to the limit
  Error: C stack usage  195128112 is too close to the limit
  1. Error: Trees does not error (@test_b_neighbors.R#24) ------------------------
  missing value where TRUE/FALSE needed
  1: expect_silent(neighbors <- randomProjectionTreeSearch(dat, K = 5, n_trees = 50, tree_threshold = 20, 
         max_iter = 1, threads = 1, verbose = FALSE)) at testthat/test_b_neighbors.R:24
  2: evaluate_promise(object)
  3: with_sink(temp, withCallingHandlers(withVisible(code), warning = handle_warning, 
         message = handle_message))
  4: withCallingHandlers(withVisible(code), warning = handle_warning, message = handle_message)
  5: withVisible(code)
  6: randomProjectionTreeSearch(dat, K = 5, n_trees = 50, tree_threshold = 20, max_iter = 1, 
         threads = 1, verbose = FALSE)
  7: randomProjectionTreeSearch.matrix(dat, K = 5, n_trees = 50, tree_threshold = 20, 
         max_iter = 1, threads = 1, verbose = FALSE)
  
  Error: C stack usage  195128112 is too close to the limit
  2. Failure: max threshold is sufficient to find all neighbors (@test_b_neighbors.R#60) 
  `score` is not more than M * ncol(dat) - 1. Difference: -733
  
  
  Error: C stack usage  195128112 is too close to the limit
  3. Failure: exploration is not negative (@test_b_neighbors.R#72) ---------------
  baseline is not more than (M * ncol(dat)) - 1. Difference: -743
  
  
  Error: C stack usage  195128112 is too close to the limit
  4. Error: exploration is not negative (@test_b_neighbors.R#74) -----------------
  After neighbor search, no candidates for some nodes.
  1: randomProjectionTreeSearch(dat, K = M, n_trees = 1, tree_threshold = ncol(dat), max_iter = 1, 
         threads = 2, verbose = FALSE) at testthat/test_b_neighbors.R:74
  2: randomProjectionTreeSearch.matrix(dat, K = M, n_trees = 1, tree_threshold = ncol(dat), 
         max_iter = 1, threads = 2, verbose = FALSE)
  3: stop("After neighbor search, no candidates for some nodes.")
  
  Error: C stack usage  195128112 is too close to the limit
  5. Failure: Can determine iris neighbors with iterations 1 thread (@test_b_neighbors.R#107) 
  sum(neighbors[, 1:40] > 50) not equal to 0.
  1/1 mismatches
  [1] 168 - 0 == 168
  
  
  6. Failure: Can determine iris neighbors with iterations 1 thread (@test_b_neighbors.R#110) 
  `score` is not more than M * ncol(dat) - 1. Difference: -740
  
  
  Error: C stack usage  195128112 is too close to the limit
  7. Failure: Can determine iris neighbors with iterations 2 threads (@test_b_neighbors.R#126) 
  sum(neighbors[, 1:40] > 50) not equal to 0.
  1/1 mismatches
  [1] 136 - 0 == 136
  
  
  8. Failure: Can determine iris neighbors with iterations 2 threads (@test_b_neighbors.R#129) 
  `score` is not more than M * ncol(dat) - 1. Difference: -744
  
  
  Error: C stack usage  195128112 is too close to the limit
  9. Failure: Can determine iris neighbors accurately, Euclidean (@test_b_neighbors.R#140) 
  sum(neighbors != bests, na.rm = TRUE) is not less than 5. Difference: 731
  
  
  Error: C stack usage  195128112 is too close to the limit
  Error: C stack usage  195128112 is too close to the limit
  Error: C stack usage  195128112 is too close to the limit
  Error: C stack usage  195128112 is too close to the limit
  Error: C stack usage  195128112 is too close to the limit
  Error: C stack usage  195128112 is too close to the limit
  Error: C stack usage  195128112 is too close to the limit
  Error: C stack usage  195128112 is too close to the limit
  Error: C stack usage  195128112 is too close to the limit
  Error: C stack usage  195128112 is too close to the limit
  Error: C stack usage  195128112 is too close to the limit
  10. Failure: With a bigger dataset, performance is as expected (@test_b_neighbors.R#199) 
  iters= 20 is not less than `oldscore`. Difference: 5
  
  
  Error: C stack usage  195128112 is too close to the limit
  Error: C stack usage  195128112 is too close to the limit
  
  error: Mat::col(): index out of bounds
  terminate called after throwing an instance of 'std::logic_error'
    what():  Mat::col(): index out of bounds