Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [136s/174s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > 
  > library(testthat)
  > library(quanteda)
  Package version: 1.4.0
  Parallel computing: 2 of 32 threads used.
  See https://quanteda.io for tutorials and examples.
  
  Attaching package: 'quanteda'
  
  The following object is masked from 'package:utils':
  
      View
  
  > 
  > Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE)
  > 
  > ops <- quanteda_options()
  > quanteda_options(reset = TRUE)
  > 
  > test_check("quanteda")
  ── 1. Failure: tokens works for strange spaces (#796) (@test-tokens.R#301)  ────
  ntoken(txt, remove_punct = FALSE, remove_separators = FALSE) not equal to c(text1 = 18).
  1/1 mismatches
  [1] 17 - 18 == -1
  
  ── 2. Failure: tokens works for strange spaces (#796) (@test-tokens.R#302)  ────
  as.character(tokens(txt, remove_punct = FALSE, remove_separators = FALSE))[16:18] not equal to c("variationselector16", " ", ".").
  3/3 mismatches
  x[1]: " "
  y[1]: "variationselector16"
  
  x[2]: "."
  y[2]: " "
  
  x[3]: NA
  y[3]: "."
  
  ── 3. Failure: tokens works for strange spaces (#796) (@test-tokens.R#306)  ────
  ntoken(txt, remove_punct = TRUE, remove_separators = FALSE) not equal to c(text1 = 16).
  1/1 mismatches
  [1] 15 - 16 == -1
  
  ── 4. Failure: tokens works for strange spaces (#796) (@test-tokens.R#310)  ────
  as.character(tokens(txt, remove_punct = TRUE, remove_separators = FALSE))[15:16] not equal to c("variationselector16", " ").
  2/2 mismatches
  x[1]: " "
  y[1]: "variationselector16"
  
  x[2]: NA
  y[2]: " "
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 2689 SKIPPED: 18 FAILED: 4
  1. Failure: tokens works for strange spaces (#796) (@test-tokens.R#301) 
  2. Failure: tokens works for strange spaces (#796) (@test-tokens.R#302) 
  3. Failure: tokens works for strange spaces (#796) (@test-tokens.R#306) 
  4. Failure: tokens works for strange spaces (#796) (@test-tokens.R#310) 
  
  Error: testthat unit tests failed
  Execution halted