Running ‘testthat.R’ [9s/25s]
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
  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: max threshold is sufficient to find all neighbors (@test_b_neighbors.R#52) 
  After neighbor search, no candidates for some nodes.
  1: randomProjectionTreeSearch(dat, K = M, n_trees = 1, tree_threshold = ncol(dat), max_iter = 0, 
         threads = 2, verbose = FALSE) at testthat/test_b_neighbors.R:52
  2: randomProjectionTreeSearch.matrix(dat, K = M, n_trees = 1, tree_threshold = ncol(dat), 
         max_iter = 0, 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
  2. Failure: exploration is not negative (@test_b_neighbors.R#72) ---------------
  baseline is not more than (M * ncol(dat)) - 1. Difference: -744
  
  
  Error: C stack usage  195128112 is too close to the limit
  Error: C stack usage  195128112 is too close to the limit
  3. Failure: exploration is not negative (@test_b_neighbors.R#92) ---------------
  2 iterations is not more than `oldscore`. Difference: -8
  
  
  Error: C stack usage  195128112 is too close to the limit
  4. 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] 189 - 0 == 189
  
  
  5. Failure: Can determine iris neighbors with iterations 1 thread (@test_b_neighbors.R#110) 
  `score` is not more than M * ncol(dat) - 1. Difference: -742
  
  
  Error: C stack usage  195128112 is too close to the limit
  6. 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] 129 - 0 == 129
  
  
  7. Failure: Can determine iris neighbors with iterations 2 threads (@test_b_neighbors.R#129) 
  `score` is not more than M * ncol(dat) - 1. Difference: -731
  
  
  Error: C stack usage  195128112 is too close to the limit
  8. 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
  Warning: stack imbalance in '.Call', 137 then 139
  Warning: stack imbalance in '{', 133 then 135
  
   *** caught segfault ***
  address 0, cause 'memory not mapped'
  An irrecoverable exception occurred. R is aborting now ...
  
   *** caught segfault ***
  address 53, cause 'memory not mapped'
  An irrecoverable exception occurred. R is aborting now ...