Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > 
  > library("testthat")
  > library("sentometrics")
  Loading required package: data.table
  > 
  > test_check("sentometrics")
  -- 1. Error: (unknown) (@test_aggregation.R#5)  --------------------------------
  package or namespace load failed for 'quanteda' in inDL(x, as.logical(local), as.logical(now), ...):
   ICU init failed: U_FILE_ACCESS_ERROR
  1: library("quanteda") at testthat/test_aggregation.R:5
  2: tryCatch({
         attr(package, "LibPath") <- which.lib.loc
         ns <- loadNamespace(package, lib.loc)
         env <- attachNamespace(ns, pos = pos, deps)
     }, error = function(e) {
         P <- if (!is.null(cc <- conditionCall(e))) 
             paste(" in", deparse(cc)[1L])
         else ""
         msg <- gettextf("package or namespace load failed for %s%s:\n %s", sQuote(package), 
             P, conditionMessage(e))
         if (logical.return) 
             message(paste("Error:", msg), domain = NA)
         else stop(msg, call. = FALSE, domain = NA)
     })
  3: tryCatchList(expr, classes, parentenv, handlers)
  4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  5: value[[3L]](cond)
  6: stop(msg, call. = FALSE, domain = NA)
  
  -- 2. Error: (unknown) (@test_attribution.R#5)  --------------------------------
  package or namespace load failed for 'quanteda' in inDL(x, as.logical(local), as.logical(now), ...):
   ICU init failed: U_FILE_ACCESS_ERROR
  1: library("quanteda") at testthat/test_attribution.R:5
  2: tryCatch({
         attr(package, "LibPath") <- which.lib.loc
         ns <- loadNamespace(package, lib.loc)
         env <- attachNamespace(ns, pos = pos, deps)
     }, error = function(e) {
         P <- if (!is.null(cc <- conditionCall(e))) 
             paste(" in", deparse(cc)[1L])
         else ""
         msg <- gettextf("package or namespace load failed for %s%s:\n %s", sQuote(package), 
             P, conditionMessage(e))
         if (logical.return) 
             message(paste("Error:", msg), domain = NA)
         else stop(msg, call. = FALSE, domain = NA)
     })
  3: tryCatchList(expr, classes, parentenv, handlers)
  4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  5: value[[3L]](cond)
  6: stop(msg, call. = FALSE, domain = NA)
  
  -- 3. Error: (unknown) (@test_corpus_building.R#5)  ----------------------------
  package or namespace load failed for 'quanteda' in inDL(x, as.logical(local), as.logical(now), ...):
   ICU init failed: U_FILE_ACCESS_ERROR
  1: library("quanteda") at testthat/test_corpus_building.R:5
  2: tryCatch({
         attr(package, "LibPath") <- which.lib.loc
         ns <- loadNamespace(package, lib.loc)
         env <- attachNamespace(ns, pos = pos, deps)
     }, error = function(e) {
         P <- if (!is.null(cc <- conditionCall(e))) 
             paste(" in", deparse(cc)[1L])
         else ""
         msg <- gettextf("package or namespace load failed for %s%s:\n %s", sQuote(package), 
             P, conditionMessage(e))
         if (logical.return) 
             message(paste("Error:", msg), domain = NA)
         else stop(msg, call. = FALSE, domain = NA)
     })
  3: tryCatchList(expr, classes, parentenv, handlers)
  4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  5: value[[3L]](cond)
  6: stop(msg, call. = FALSE, domain = NA)
  
  -- 4. Error: (unknown) (@test_measures_manipulation.R#5)  ----------------------
  package or namespace load failed for 'quanteda' in inDL(x, as.logical(local), as.logical(now), ...):
   ICU init failed: U_FILE_ACCESS_ERROR
  1: library("quanteda") at testthat/test_measures_manipulation.R:5
  2: tryCatch({
         attr(package, "LibPath") <- which.lib.loc
         ns <- loadNamespace(package, lib.loc)
         env <- attachNamespace(ns, pos = pos, deps)
     }, error = function(e) {
         P <- if (!is.null(cc <- conditionCall(e))) 
             paste(" in", deparse(cc)[1L])
         else ""
         msg <- gettextf("package or namespace load failed for %s%s:\n %s", sQuote(package), 
             P, conditionMessage(e))
         if (logical.return) 
             message(paste("Error:", msg), domain = NA)
         else stop(msg, call. = FALSE, domain = NA)
     })
  3: tryCatchList(expr, classes, parentenv, handlers)
  4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  5: value[[3L]](cond)
  6: stop(msg, call. = FALSE, domain = NA)
  
  -- 5. Error: (unknown) (@test_methods_sentomeasures.R#5)  ----------------------
  package or namespace load failed for 'quanteda' in inDL(x, as.logical(local), as.logical(now), ...):
   ICU init failed: U_FILE_ACCESS_ERROR
  1: library("quanteda") at testthat/test_methods_sentomeasures.R:5
  2: tryCatch({
         attr(package, "LibPath") <- which.lib.loc
         ns <- loadNamespace(package, lib.loc)
         env <- attachNamespace(ns, pos = pos, deps)
     }, error = function(e) {
         P <- if (!is.null(cc <- conditionCall(e))) 
             paste(" in", deparse(cc)[1L])
         else ""
         msg <- gettextf("package or namespace load failed for %s%s:\n %s", sQuote(package), 
             P, conditionMessage(e))
         if (logical.return) 
             message(paste("Error:", msg), domain = NA)
         else stop(msg, call. = FALSE, domain = NA)
     })
  3: tryCatchList(expr, classes, parentenv, handlers)
  4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  5: value[[3L]](cond)
  6: stop(msg, call. = FALSE, domain = NA)
  
  -- 6. Error: (unknown) (@test_model_specification.R#5)  ------------------------
  package or namespace load failed for 'quanteda' in inDL(x, as.logical(local), as.logical(now), ...):
   ICU init failed: U_FILE_ACCESS_ERROR
  1: library("quanteda") at testthat/test_model_specification.R:5
  2: tryCatch({
         attr(package, "LibPath") <- which.lib.loc
         ns <- loadNamespace(package, lib.loc)
         env <- attachNamespace(ns, pos = pos, deps)
     }, error = function(e) {
         P <- if (!is.null(cc <- conditionCall(e))) 
             paste(" in", deparse(cc)[1L])
         else ""
         msg <- gettextf("package or namespace load failed for %s%s:\n %s", sQuote(package), 
             P, conditionMessage(e))
         if (logical.return) 
             message(paste("Error:", msg), domain = NA)
         else stop(msg, call. = FALSE, domain = NA)
     })
  3: tryCatchList(expr, classes, parentenv, handlers)
  4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  5: value[[3L]](cond)
  6: stop(msg, call. = FALSE, domain = NA)
  
  -- 7. Error: (unknown) (@test_sentiment_computation.R#5)  ----------------------
  package or namespace load failed for 'quanteda' in inDL(x, as.logical(local), as.logical(now), ...):
   ICU init failed: U_FILE_ACCESS_ERROR
  1: library("quanteda") at testthat/test_sentiment_computation.R:5
  2: tryCatch({
         attr(package, "LibPath") <- which.lib.loc
         ns <- loadNamespace(package, lib.loc)
         env <- attachNamespace(ns, pos = pos, deps)
     }, error = function(e) {
         P <- if (!is.null(cc <- conditionCall(e))) 
             paste(" in", deparse(cc)[1L])
         else ""
         msg <- gettextf("package or namespace load failed for %s%s:\n %s", sQuote(package), 
             P, conditionMessage(e))
         if (logical.return) 
             message(paste("Error:", msg), domain = NA)
         else stop(msg, call. = FALSE, domain = NA)
     })
  3: tryCatchList(expr, classes, parentenv, handlers)
  4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  5: value[[3L]](cond)
  6: stop(msg, call. = FALSE, domain = NA)
  
  == testthat results  ===========================================================
  OK: 0 SKIPPED: 0 FAILED: 7
  1. Error: (unknown) (@test_aggregation.R#5) 
  2. Error: (unknown) (@test_attribution.R#5) 
  3. Error: (unknown) (@test_corpus_building.R#5) 
  4. Error: (unknown) (@test_measures_manipulation.R#5) 
  5. Error: (unknown) (@test_methods_sentomeasures.R#5) 
  6. Error: (unknown) (@test_model_specification.R#5) 
  7. Error: (unknown) (@test_sentiment_computation.R#5) 
  
  Error: testthat unit tests failed
  Execution halted