Running ‘spelling.R’
  Running ‘testthat.R’ [92s/104s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE)
  > 
  > library("testthat")
  > # library("quanteda")
  > library("quanteda.textstats")
  Registered S3 methods overwritten by 'quanteda.textstats':
    method                       from    
    [.textstat                   quanteda
    as.data.frame.textstat_proxy quanteda
    as.list.textstat_proxy       quanteda
    head.textstat_proxy          quanteda
    tail.textstat_proxy          quanteda
  > quanteda::quanteda_options(reset = TRUE)
  > 
  > test_check("quanteda.textstats")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● On Solaris (1)
  ● Skip until textstat_simil() has been corrected for empty dfms (1)
  ● Skipped because stats::chisq.test is wrong for small-value 2x2 tables (1)
  ● skip until textstat_dist() works correctly for zero-variance documents (1)
  ● until all MA measures are made functional (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-textstat_summary.R:11:5): textstat_summary method works ─────────
  Error: error in evaluating the argument 'x' in selecting a method for function 'as.list': error in evaluating the argument 'x' in selecting a method for function 'which': Illegal argument. (U_ILLEGAL_ARGUMENT_ERROR, context=`^\p{emoji_presentation}+$`)
  Backtrace:
       █
    1. ├─quanteda.textstats::textstat_summary(corp) test-textstat_summary.R:11:4
    2. ├─quanteda.textstats:::textstat_summary.corpus(corp)
    3. │ └─quanteda.textstats:::summarize(as.corpus(x), ...)
    4. │   ├─quanteda::convert(...)
    5. │   ├─quanteda::dfm_lookup(...)
    6. │   └─quanteda:::dfm_lookup.dfm(...)
    7. │     └─quanteda:::pattern2list(...)
    8. │       └─quanteda::pattern2id(...)
    9. │         ├─base::as.list(search_regex(pattern[[i]], types_search, case_insensitive))
   10. │         └─quanteda:::search_regex(pattern[[i]], types_search, case_insensitive)
   11. │           ├─base::which(stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive))
   12. │           └─stringi::stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive)
   13. ├─base::.handleSimpleError(...)
   14. │ └─base:::h(simpleError(msg, call))
   15. └─base::.handleSimpleError(...)
   16.   └─base:::h(simpleError(msg, call))
  
  [ FAIL 1 | WARN 0 | SKIP 5 | PASS 475 ]
  Error: Test failures
  Execution halted