Running ‘testthat.R’ [300s/372s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(diceR)
  > 
  > test_check("diceR")
  Selecting k and imputing non-clustered cases
  Computing consensus functions
  Evaluating output with consensus function results
  Diverse Cluster Ensemble Completed
  Selecting k and imputing non-clustered cases
  Computing consensus functions
  Evaluating output with consensus function results
  Diverse Cluster Ensemble Completed
  Selecting k and imputing non-clustered cases
  Computing consensus functions
  Evaluating output with consensus function results
  Diverse Cluster Ensemble Completed
  Selecting k and imputing non-clustered cases
  Computing consensus functions
  Diverse Cluster Ensemble Completed
  Selecting k and imputing non-clustered cases
  Computing consensus functions
  Diverse Cluster Ensemble Completed
  Selecting k and imputing non-clustered cases
  Computing consensus functions
  Diverse Cluster Ensemble Completed
  Selecting k and imputing non-clustered cases
  Computing consensus functions
  Diverse Cluster Ensemble Completed
  Error: C stack usage  236743488 is too close to the limit
  ── 1. Error: tsne and largevis options result in 2D representation (@test-prepar
  missing value where TRUE/FALSE needed
  1: prepare_data(hgsc, type = "largevis") at testthat/test-prepare_data.R:8
  2: data %>% t() %>% largeVis::largeVis() %>% suppressWarnings() %>% magrittr::extract2("coords") %>% 
         t() %>% magrittr::set_rownames(rownames(data))
  3: withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
  4: eval(quote(`_fseq`(`_lhs`)), env, env)
  5: eval(quote(`_fseq`(`_lhs`)), env, env)
  6: `_fseq`(`_lhs`)
  7: freduce(value, `_function_list`)
  8: function_list[[i]](value)
  9: largeVis::largeVis(.)
  10: randomProjectionTreeSearch(x, n_trees = n_trees, tree_threshold = tree_threshold, 
         K = K, max_iter = max_iter, distance_method = distance_method, threads, verbose = verbose)
  11: randomProjectionTreeSearch.matrix(x, n_trees = n_trees, tree_threshold = tree_threshold, 
         K = K, max_iter = max_iter, distance_method = distance_method, threads, verbose = verbose)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 109 SKIPPED: 0 FAILED: 1
  1. Error: tsne and largevis options result in 2D representation (@test-prepare_data.R#8) 
  
  Error: testthat unit tests failed
  Execution halted