Running ‘testthat.R’ [109s/96s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > 
  > library(testthat)
  > library(quanteda)
  quanteda version 0.99
  Using 16 of 32 threads for parallel computing
  
  Attaching package: 'quanteda'
  
  The following object is masked from 'package:utils':
  
      View
  
  > 
  > qopts <- quanteda_options()
  > quanteda_options(reset = TRUE)
  > test_check("quanteda")
  <<DocumentTermMatrix (documents: 4, terms: 4)>>
  Non-/sparse entries: 8/8
  Sparsity           : 50%
  Maximal term length: 5
  Weighting          : term frequency (tf)
  Sample             :
         Terms
  Docs    feat1 feat2 feat3 feat4
    text1     1     0     2     0
    text2     0     0     1     2
    text3     0     0     0     0
    text4     1     2     3     4
  <<DocumentTermMatrix (documents: 4, terms: 4)>>
  Non-/sparse entries: 8/8
  Sparsity           : 50%
  Maximal term length: 5
  Weighting          : term frequency (tf)
  Sample             :
         Terms
  Docs    feat1 feat2 feat3 feat4
    text1     1     0     2     0
    text2     0     0     1     2
    text3     1     0     0     0
    text4     1     0     3     4
  <<DocumentTermMatrix (documents: 3, terms: 3)>>
  Non-/sparse entries: 9/0
  Sparsity           : 0%
  Maximal term length: 5
  Weighting          : term frequency (tf)
  Sample             :
         Terms
  Docs    feat1 feat2 feat3
    text1     1     4     7
    text2     2     5     8
    text3     3     6     9
  1. Failure: test corpus constructors works for data.frame (@test-corpus.R#110) -
  corpus(mydf, text_field = "some_text") not equal to corpus(mydf2).
  Component "metadata": Component "created": 1 string mismatch
  
  
  testthat results ================================================================
  OK: 1454 SKIPPED: 19 FAILED: 1
  1. Failure: test corpus constructors works for data.frame (@test-corpus.R#110) 
  
  Error: testthat unit tests failed
  Execution halted