Running ‘testthat.R’ [36s/49s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("qdap")
  Loading required package: qdapDictionaries
  Loading required package: qdapRegex
  Loading required package: qdapTools
  Loading required package: RColorBrewer
  Registered S3 methods overwritten by 'qdap':
    method               from
    t.DocumentTermMatrix tm  
    t.TermDocumentMatrix tm  
  
  Attaching package: 'qdap'
  
  The following object is masked from 'package:testthat':
  
      %>%
  
  The following objects are masked from 'package:base':
  
      Filter, proportions
  
  > 
  > 
  > test_check("qdap")
  ── 1. Failure: cm_2long gives the desired output for ranges (@test-cm_2long.R#31
  `x` not equivalent to `x2`.
  Component "code": target is character, current is factor
  Component "variable": target is character, current is factor
  
  ── 2. Failure: cm_2long gives the desired output for ranges (@test-cm_2long.R#32
  `y` not equivalent to `y2`.
  Component "code": target is character, current is factor
  Component "time": target is character, current is factor
  
  ── 3. Failure: cm_2long gives the desired output for time spans (@test-cm_2long.
  `x` not equivalent to `x2`.
  Component "code": target is character, current is factor
  Component "variable": target is character, current is factor
  
  ── 4. Failure: cm_2long gives the desired output for time spans (@test-cm_2long.
  `y` not equivalent to `y2`.
  Component "code": target is character, current is factor
  Component "time": target is character, current is factor
  
  ── 5. Failure: cm_code.blank, gives the desired output (@test-cm_code.blank.R#31
  `x1` not equivalent to `x1_c`.
  Component "code": target is character, current is factor
  
  ── 6. Failure: cm_code.blank, gives the desired output (@test-cm_code.blank.R#50
  `x2` not equivalent to `x2_c`.
  Component "code": target is character, current is factor
  Component "time": target is character, current is factor
  
  ── 7. Failure: cm_code.blank, gives the desired output (@test-cm_code.blank.R#66
  `x3` not equivalent to `x3_c`.
  Component "code": target is character, current is factor
  Component "time": target is character, current is factor
  
  ── 8. Failure: cm_code.blank, gives the desired output (@test-cm_code.blank.R#82
  `x4` not equivalent to `x4_c`.
  Component "code": target is character, current is factor
  Component "time": target is character, current is factor
  
  ── 9. Failure: colSplit splits columns and column names (@test-colSplit.R#17)  ─
  head(colSplit(foo1)) not equivalent to `foo1_c`.
  Component "A": target is character, current is factor
  Component "B": target is character, current is factor
  Component "C": target is character, current is factor
  
  ── 10. Failure: colSplit splits columns and column names (@test-colSplit.R#33)  
  head(colSplit(foo2, col.sep = "|")) not equivalent to `foo2_c`.
  Component "X1": target is character, current is factor
  Component "X2": target is character, current is factor
  Component "X3": target is character, current is factor
  
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |======                                                                |   9%
    |                                                                            
    |=============                                                         |  18%
    |                                                                            
    |===================                                                   |  27%
    |                                                                            
    |=========================                                             |  36%
    |                                                                            
    |================================                                      |  45%
    |                                                                            
    |======================================                                |  55%
    |                                                                            
    |=============================================                         |  64%
    |                                                                            
    |===================================================                   |  73%
    |                                                                            
    |=========================================================             |  82%
    |                                                                            
    |================================================================      |  91%
    |                                                                            
    |======================================================================| 100%
  ── 11. Failure: formality gives the desired output (@test-formality.R#54)  ─────
  scores(x) not equal to expected[[1]].
  Component "sex&adult": Modes: character, numeric
  Component "sex&adult": Attributes: < target is NULL, current is list >
  Component "sex&adult": target is character, current is factor
  
  ── 12. Failure: formality gives the desired output (@test-formality.R#55)  ─────
  counts(x) not equal to expected[[2]].
  Component "sex&adult": Modes: character, numeric
  Component "sex&adult": Attributes: < target is NULL, current is list >
  Component "sex&adult": target is character, current is factor
  
  ── 13. Failure: formality gives the desired output (@test-formality.R#56)  ─────
  proportions(x) not equal to expected[[3]].
  Component "sex&adult": Modes: character, numeric
  Component "sex&adult": Attributes: < target is NULL, current is list >
  Component "sex&adult": target is character, current is factor
  
  ── 14. Failure: formality gives the desired output (@test-formality.R#57)  ─────
  preprocessed(x) not equal to expected[[4]].
  Component "POStagged": Modes: character, numeric
  Component "POStagged": Attributes: < target is NULL, current is list >
  Component "POStagged": target is character, current is factor
  
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |======                                                                |   9%
    |                                                                            
    |=============                                                         |  18%
    |                                                                            
    |===================                                                   |  27%
    |                                                                            
    |=========================                                             |  36%
    |                                                                            
    |================================                                      |  45%
    |                                                                            
    |======================================                                |  55%
    |                                                                            
    |=============================================                         |  64%
    |                                                                            
    |===================================================                   |  73%
    |                                                                            
    |=========================================================             |  82%
    |                                                                            
    |================================================================      |  91%
    |                                                                            
    |======================================================================| 100%
  ── 15. Failure: pos gives the desired output (@test-pos.R#101)  ────────────────
  preprocessed(posdat) not equal to expected[[2]].
  Component "POStagged": Modes: character, numeric
  Component "POStagged": Attributes: < target is NULL, current is list >
  Component "POStagged": target is character, current is factor
  
  ── 16. Failure: syllable_count, gives the desired output (@test-syllable_sum.R#2
  `x1` not equivalent to `x1_c`.
  Component "words": target is character, current is factor
  Component "in.dictionary": target is character, current is factor
  
  ── 17. Failure: syllable_count, gives the desired output (@test-syllable_sum.R#2
  `x2` not equivalent to `x2_c`.
  Component "ALGORITHM REPORT": Component "words": target is character, current is factor
  Component "ALGORITHM REPORT": Component "in.dictionary": target is character, current is factor
  Component "SYLLABLE DATAFRAME": Component "words": target is character, current is factor
  Component "SYLLABLE DATAFRAME": Component "in.dictionary": target is character, current is factor
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 201 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 17 ]
  1. Failure: cm_2long gives the desired output for ranges (@test-cm_2long.R#31) 
  2. Failure: cm_2long gives the desired output for ranges (@test-cm_2long.R#32) 
  3. Failure: cm_2long gives the desired output for time spans (@test-cm_2long.R#110) 
  4. Failure: cm_2long gives the desired output for time spans (@test-cm_2long.R#111) 
  5. Failure: cm_code.blank, gives the desired output (@test-cm_code.blank.R#31) 
  6. Failure: cm_code.blank, gives the desired output (@test-cm_code.blank.R#50) 
  7. Failure: cm_code.blank, gives the desired output (@test-cm_code.blank.R#66) 
  8. Failure: cm_code.blank, gives the desired output (@test-cm_code.blank.R#82) 
  9. Failure: colSplit splits columns and column names (@test-colSplit.R#17) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted