Running 'test-all.R' [42s]
Running the tests in 'tests/test-all.R' failed.
Complete output:
  > library(testthat)
  > test_check("rtext")
  Loading required package: rtext
  Loading required package: stringb
  -- 1. Error: rtext tokenize_data_regex (@test_rtext.R#40)  ---------------------
  arguments must have same length
  1: expect_true({
         dings <- rtext$new("meine mudder schneidet speck - ho-narroh")
         dings$char_data_set("test", 1, 1)
         dings$char_data_set("toast", 1:dings$char_length(), "uggah")
         dings$char_data_get()
         all(dim(dings$tokenize_data_regex("\\W+")) == c(6, 7))
     }) at testthat/test_rtext.R:40
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: dings$tokenize_data_regex("\\W+") at testthat/test_rtext.R:45
  5: self$tokenize_data_sequences(token = token, join = join, aggregate_function = aggregate_function, 
         ...)
  6: stats::aggregate(chardata[, -c(1:2)], by = list(token_i = token_i), FUN = "modus", 
         multimodal = NA, warn = FALSE)
  7: aggregate.data.frame(chardata[, -c(1:2)], by = list(token_i = token_i), FUN = "modus", 
         multimodal = NA, warn = FALSE)
  8: stop("arguments must have same length")
  
  -- 2. Failure: easy examples work properly (@test_tools.R#331)  ----------------
  which_token(x = c(7, 2, 4), y1 = c(1, 3, 7), y2 = c(2, 6, 2000)) not equal to c(3, 1, 2).
  Lengths differ: 1 is not 3
  
  -- 3. Failure: easy examples work properly (@test_tools.R#332)  ----------------
  which_token(x = 1:4, y1 = c(1, 3, 7), y2 = c(2, 6, 2000)) not equal to c(1, 1, 2, 2).
  Lengths differ: 1 is not 4
  
  == testthat results  ===========================================================
  OK: 277 SKIPPED: 0 FAILED: 3
  1. Error: rtext tokenize_data_regex (@test_rtext.R#40) 
  2. Failure: easy examples work properly (@test_tools.R#331) 
  3. Failure: easy examples work properly (@test_tools.R#332) 
  
  Error: testthat unit tests failed
  Execution halted