Running ‘spelling.R’
  Running ‘testthat.R’ [204s/195s]
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)
  Package version: 3.1.0
  Unicode version: 7.0
  ICU version: 55.1
  Parallel computing: 16 of 16 threads used.
  See https://quanteda.io for tutorials and examples.
  > 
  > ops <- quanteda_options()
  > quanteda_options(reset = TRUE)
  > test_check("quanteda")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (4)
  • On Solaris (1)
  • ngrams disabled in new tokens() (1)
  • not implemented yet (1)
  • requires spacyr installation to work (1)
  • skipping test of option setting when quanteda is not attached (1)
  • we no longer expect these to be the same (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-corpus_segment.R:53:5): corpus_segment works with blank before tag ──
  Error in `h(simpleError(msg, call))`: 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. ├─base::summary(corp_seg) test-corpus_segment.R:53:4
    2. ├─base::summary(corp_seg)
    3. ├─quanteda:::summary.corpus(corp_seg)
    4. │ └─quanteda:::summarize(as.corpus(object), tolower = tolower, ...)
    5. │   ├─quanteda::convert(...)
    6. │   ├─quanteda::dfm_lookup(...)
    7. │   └─quanteda:::dfm_lookup.dfm(...)
    8. │     └─quanteda::object2id(...)
    9. │       └─quanteda::pattern2id(...)
   10. │         ├─base::as.list(search_regex(pattern[[i]], types_search, case_insensitive))
   11. │         └─quanteda:::search_regex(pattern[[i]], types_search, case_insensitive)
   12. │           ├─base::which(stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive))
   13. │           └─stringi::stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive)
   14. ├─base::.handleSimpleError(...)
   15. │ └─base:::h(simpleError(msg, call))
   16. └─base::.handleSimpleError(...)
   17.   └─base:::h(simpleError(msg, call))
  ── Error (test-meta.R:124:5): adding summary info works ────────────────────────
  Error in `h(simpleError(msg, call))`: 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:::add_summary_metadata(corp) test-meta.R:124:4
    2. │ ├─base::summary(x, n = ndoc(x), showmeta = FALSE, ...)
    3. │ ├─base::summary(x, n = ndoc(x), showmeta = FALSE, ...)
    4. │ └─quanteda:::summary.corpus(x, n = ndoc(x), showmeta = FALSE, ...)
    5. │   └─quanteda:::summarize(as.corpus(object), tolower = tolower, ...)
    6. │     ├─quanteda::convert(...)
    7. │     ├─quanteda::dfm_lookup(...)
    8. │     └─quanteda:::dfm_lookup.dfm(...)
    9. │       └─quanteda::object2id(...)
   10. │         └─quanteda::pattern2id(...)
   11. │           ├─base::as.list(search_regex(pattern[[i]], types_search, case_insensitive))
   12. │           └─quanteda:::search_regex(pattern[[i]], types_search, case_insensitive)
   13. │             ├─base::which(stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive))
   14. │             └─stringi::stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive)
   15. ├─base::.handleSimpleError(...)
   16. │ └─base:::h(simpleError(msg, call))
   17. └─base::.handleSimpleError(...)
   18.   └─base:::h(simpleError(msg, call))
  ── Error (test-meta.R:179:5): adding extended summary information works ────────
  Error in `h(simpleError(msg, call))`: 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:::add_summary_metadata(corp, extended = TRUE) test-meta.R:179:4
    2. │ ├─base::summary(x, n = ndoc(x), showmeta = FALSE, ...)
    3. │ ├─base::summary(x, n = ndoc(x), showmeta = FALSE, ...)
    4. │ └─quanteda:::summary.corpus(x, n = ndoc(x), showmeta = FALSE, ...)
    5. │   └─quanteda:::summarize(as.corpus(object), tolower = tolower, ...)
    6. │     ├─quanteda::convert(...)
    7. │     ├─quanteda::dfm_lookup(...)
    8. │     └─quanteda:::dfm_lookup.dfm(...)
    9. │       └─quanteda::object2id(...)
   10. │         └─quanteda::pattern2id(...)
   11. │           ├─base::as.list(search_regex(pattern[[i]], types_search, case_insensitive))
   12. │           └─quanteda:::search_regex(pattern[[i]], types_search, case_insensitive)
   13. │             ├─base::which(stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive))
   14. │             └─stringi::stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive)
   15. ├─base::.handleSimpleError(...)
   16. │ └─base:::h(simpleError(msg, call))
   17. └─base::.handleSimpleError(...)
   18.   └─base:::h(simpleError(msg, call))
  ── Failure (test-nfunctions.R:4:5): test nsentence ─────────────────────────────
  nsentence(txt) not identical to c(doc1 = 2L, doc2 = 2L).
  1/2 mismatches
  [1] 4 - 2 == 2
  ── Failure (test-nfunctions.R:5:5): test nsentence ─────────────────────────────
  nsentence(corpus(txt)) not identical to c(doc1 = 2L, doc2 = 2L).
  1/2 mismatches
  [1] 4 - 2 == 2
  ── Failure (test-nfunctions.R:6:5): test nsentence ─────────────────────────────
  nsentence(tokens(txt, what = "sentence")) not identical to c(doc1 = 2L, doc2 = 2L).
  1/2 mismatches
  [1] 4 - 2 == 2
  ── Error (test-summary.R:2:5): summary and print.summary work ──────────────────
  Error in `h(simpleError(msg, call))`: 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. ├─base::summary(data_corpus_inaugural[1:2]) test-summary.R:2:4
    2. ├─base::summary(data_corpus_inaugural[1:2])
    3. ├─quanteda:::summary.corpus(data_corpus_inaugural[1:2])
    4. │ └─quanteda:::summarize(as.corpus(object), tolower = tolower, ...)
    5. │   ├─quanteda::convert(...)
    6. │   ├─quanteda::dfm_lookup(...)
    7. │   └─quanteda:::dfm_lookup.dfm(...)
    8. │     └─quanteda::object2id(...)
    9. │       └─quanteda::pattern2id(...)
   10. │         ├─base::as.list(search_regex(pattern[[i]], types_search, case_insensitive))
   11. │         └─quanteda:::search_regex(pattern[[i]], types_search, case_insensitive)
   12. │           ├─base::which(stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive))
   13. │           └─stringi::stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive)
   14. ├─base::.handleSimpleError(...)
   15. │ └─base:::h(simpleError(msg, call))
   16. └─base::.handleSimpleError(...)
   17.   └─base:::h(simpleError(msg, call))
  
  [ FAIL 7 | WARN 0 | SKIP 10 | PASS 2822 ]
  Error: Test failures
  Execution halted