Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(textmineR)
  Loading required package: Matrix
  > 
  > test_check("textmineR")
  -- 1. Error: CreateDtm performs as expected (@test-corpus_functions.R#13)  -----
  ICU init failed: U_FILE_ACCESS_ERROR
  1: CreateDtm(doc_vec = docs, doc_names = seq_along(docs), ngram_window = c(1, 2), stopword_vec = "the", 
         lower = TRUE, remove_punctuation = TRUE, remove_numbers = TRUE, cpus = 2) at testthat/test-corpus_functions.R:13
  2: stringr::str_replace_all
  3: getExportedValue(pkg, name)
  4: asNamespace(ns)
  5: getNamespace(ns)
  6: tryCatch(loadNamespace(name), error = function(e) stop(e))
  7: tryCatchList(expr, classes, parentenv, handlers)
  8: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  9: value[[3L]](cond)
  
  -- 2. Error: CreateTcm performs as expected (@test-corpus_functions.R#46)  -----
  ICU init failed: U_FILE_ACCESS_ERROR
  1: CreateTcm(doc_vec = docs, skipgram_window = 3, stopword_vec = "the", lower = TRUE, 
         remove_punctuation = TRUE, remove_numbers = TRUE, cpus = 2) at testthat/test-corpus_functions.R:46
  2: stringr::str_replace_all
  3: getExportedValue(pkg, name)
  4: asNamespace(ns)
  5: getNamespace(ns)
  6: tryCatch(loadNamespace(name), error = function(e) stop(e))
  7: tryCatchList(expr, classes, parentenv, handlers)
  8: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  9: value[[3L]](cond)
  
  -- 3. Error: Dtm2Docs (@test-corpus_functions.R#72)  ---------------------------
  ICU init failed: U_FILE_ACCESS_ERROR
  1: CreateDtm(doc_vec = docs, doc_names = seq_along(docs), ngram_window = c(1, 1), stopword_vec = "the", 
         lower = TRUE, remove_punctuation = TRUE, remove_numbers = TRUE, cpus = 2) at testthat/test-corpus_functions.R:72
  2: stringr::str_replace_all
  3: getExportedValue(pkg, name)
  4: asNamespace(ns)
  5: getNamespace(ns)
  6: tryCatch(loadNamespace(name), error = function(e) stop(e))
  7: tryCatchList(expr, classes, parentenv, handlers)
  8: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  9: value[[3L]](cond)
  
  -- 4. Error: Dtm2Tcm (@test-corpus_functions.R#103)  ---------------------------
  ICU init failed: U_FILE_ACCESS_ERROR
  1: CreateDtm(doc_vec = docs, doc_names = seq_along(docs), ngram_window = c(1, 2), stopword_vec = "the", 
         lower = TRUE, remove_punctuation = TRUE, remove_numbers = TRUE, cpus = 2) at testthat/test-corpus_functions.R:103
  2: stringr::str_replace_all
  3: getExportedValue(pkg, name)
  4: asNamespace(ns)
  5: getNamespace(ns)
  6: tryCatch(loadNamespace(name), error = function(e) stop(e))
  7: tryCatchList(expr, classes, parentenv, handlers)
  8: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  9: value[[3L]](cond)
  
  -- 5. Error: TermDocFreq (@test-corpus_functions.R#125)  -----------------------
  ICU init failed: U_FILE_ACCESS_ERROR
  1: CreateDtm(doc_vec = docs, doc_names = seq_along(docs), ngram_window = c(1, 2), stopword_vec = "the", 
         lower = TRUE, remove_punctuation = TRUE, remove_numbers = TRUE, cpus = 2) at testthat/test-corpus_functions.R:125
  2: stringr::str_replace_all
  3: getExportedValue(pkg, name)
  4: asNamespace(ns)
  5: getNamespace(ns)
  6: tryCatch(loadNamespace(name), error = function(e) stop(e))
  7: tryCatchList(expr, classes, parentenv, handlers)
  8: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  9: value[[3L]](cond)
  
  -- 6. Error: (unknown) (@test-topic_modeling_core.R#8)  ------------------------
  ICU init failed: U_FILE_ACCESS_ERROR
  1: CreateDtm(doc_vec = docs, doc_names = seq_along(docs), ngram_window = c(1, 2), stopword_vec = "the", 
         lower = TRUE, remove_punctuation = TRUE, remove_numbers = TRUE, cpus = 2) at testthat/test-topic_modeling_core.R:8
  2: stringr::str_replace_all
  3: getExportedValue(pkg, name)
  4: asNamespace(ns)
  5: getNamespace(ns)
  6: tryCatch(loadNamespace(name), error = function(e) stop(e))
  7: tryCatchList(expr, classes, parentenv, handlers)
  8: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  9: value[[3L]](cond)
  
  -- 7. Error: (unknown) (@test-topic_modeling_utilities.R#7)  -------------------
  ICU init failed: U_FILE_ACCESS_ERROR
  1: CreateDtm(doc_vec = docs, doc_names = seq_along(docs), ngram_window = c(1, 2), stopword_vec = "the", 
         lower = TRUE, remove_punctuation = TRUE, remove_numbers = TRUE, cpus = 2) at testthat/test-topic_modeling_utilities.R:7
  2: stringr::str_replace_all
  3: getExportedValue(pkg, name)
  4: asNamespace(ns)
  5: getNamespace(ns)
  6: tryCatch(loadNamespace(name), error = function(e) stop(e))
  7: tryCatchList(expr, classes, parentenv, handlers)
  8: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  9: value[[3L]](cond)
  
  == testthat results  ===========================================================
  OK: 0 SKIPPED: 0 FAILED: 7
  1. Error: CreateDtm performs as expected (@test-corpus_functions.R#13) 
  2. Error: CreateTcm performs as expected (@test-corpus_functions.R#46) 
  3. Error: Dtm2Docs (@test-corpus_functions.R#72) 
  4. Error: Dtm2Tcm (@test-corpus_functions.R#103) 
  5. Error: TermDocFreq (@test-corpus_functions.R#125) 
  6. Error: (unknown) (@test-topic_modeling_core.R#8) 
  7. Error: (unknown) (@test-topic_modeling_utilities.R#7) 
  
  Error: testthat unit tests failed
  Execution halted