Running 'test-all.R' [45s]
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_lines (@test_rtext.R#123)  --------------------
  arguments must have same length
  1: expect_true({
         dings <- rtext$new("meine mudder \nschneidet speck\n - ho-narroh")
         dings$char_data_set("test", 1:20, 1)
         dings$char_data_set("toast", 1:dings$char_length(), "uggah")
         dings$char_data_get()
         dings$tokenize_data_lines()$test[1] == 1 & is.na(dings$tokenize_data_lines()$test[2])
     }) at testthat/test_rtext.R:123
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: dings$tokenize_data_lines() at testthat/test_rtext.R:128
  5: self$tokenize_data_regex(split = split, ignore.case = ignore.case, fixed = fixed, 
         perl = perl, useBytes = useBytes, non_token = non_token, join = join, aggregate_function = aggregate_function, 
         ...)
  6: self$tokenize_data_sequences(token = token, join = join, aggregate_function = aggregate_function, 
         ...)
  7: stats::aggregate(chardata[, -c(1:2)], by = list(token_i = token_i), FUN = "modus", 
         multimodal = NA, warn = FALSE)
  8: aggregate.data.frame(chardata[, -c(1:2)], by = list(token_i = token_i), FUN = "modus", 
         multimodal = NA, warn = FALSE)
  9: stop("arguments must have same length")
  
  -- 2. Failure: easy examples work properly (@test_tools.R#336)  ----------------
  which_token(x = 1:2, y1 = c(2, 1), y2 = c(2, 1)) not equal to c(2, 1).
  Lengths differ: 1 is not 2
  
  == testthat results  ===========================================================
  OK: 281 SKIPPED: 0 WARNINGS: 0 FAILED: 2
  1. Error: rtext tokenize_data_lines (@test_rtext.R#123) 
  2. Failure: easy examples work properly (@test_tools.R#336) 
  
  Error: testthat unit tests failed
  Execution halted