Running ‘testthat.R’ [11s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(sbo)
  Loading required package: dplyr
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  Loading required package: magrittr
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  > 
  > test_check("sbo")
  ── FAILURE (test-get_kgram_freqs_fast.R:58:9): correct 1-gram and 2-gram counts 
  `expected_1grams` not identical to `actual_1grams`.
  Attributes: < Component "row.names": Numeric: lengths (4, 0) differ >
  Component "w2": Numeric: lengths (4, 0) differ
  Component "n": Numeric: lengths (4, 0) differ
  
  ── FAILURE (test-get_kgram_freqs_fast.R:59:9): correct 1-gram and 2-gram counts 
  `expected_2grams` not identical to `actual_2grams`.
  Attributes: < Component "row.names": Numeric: lengths (12, 0) differ >
  Component "w1": Numeric: lengths (12, 0) differ
  Component "w2": Numeric: lengths (12, 0) differ
  Component "n": Numeric: lengths (12, 0) differ
  
  ── FAILURE (test-get_kgram_freqs_fast.R:80:9): correct 1-gram and 2-gram with so
  `expected_1grams` not identical to `actual_1grams`.
  Attributes: < Component "row.names": Numeric: lengths (4, 0) differ >
  Component "w2": Numeric: lengths (4, 0) differ
  Component "n": Numeric: lengths (4, 0) differ
  
  ── FAILURE (test-get_kgram_freqs_fast.R:81:9): correct 1-gram and 2-gram with so
  `expected_2grams` not identical to `actual_2grams`.
  Attributes: < Component "row.names": Numeric: lengths (12, 0) differ >
  Component "w1": Numeric: lengths (12, 0) differ
  Component "w2": Numeric: lengths (12, 0) differ
  Component "n": Numeric: lengths (12, 0) differ
  
  ── FAILURE (test-get_kgram_freqs_fast.R:102:9): correct 1-gram and 2-gram counts
  `expected_1grams` not identical to `actual_1grams`.
  Attributes: < Component "row.names": Numeric: lengths (4, 0) differ >
  Component "w2": Numeric: lengths (4, 0) differ
  Component "n": Numeric: lengths (4, 0) differ
  
  ── FAILURE (test-get_kgram_freqs_fast.R:103:9): correct 1-gram and 2-gram counts
  `expected_2grams` not identical to `actual_2grams`.
  Attributes: < Component "row.names": Numeric: lengths (12, 0) differ >
  Component "w1": Numeric: lengths (12, 0) differ
  Component "w2": Numeric: lengths (12, 0) differ
  Component "n": Numeric: lengths (12, 0) differ
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  FAILURE (test-get_kgram_freqs_fast.R:58:9): correct 1-gram and 2-gram counts on simple input
  FAILURE (test-get_kgram_freqs_fast.R:59:9): correct 1-gram and 2-gram counts on simple input
  FAILURE (test-get_kgram_freqs_fast.R:80:9): correct 1-gram and 2-gram with some preprocessing
  FAILURE (test-get_kgram_freqs_fast.R:81:9): correct 1-gram and 2-gram with some preprocessing
  FAILURE (test-get_kgram_freqs_fast.R:102:9): correct 1-gram and 2-gram counts with EOS token
  FAILURE (test-get_kgram_freqs_fast.R:103:9): correct 1-gram and 2-gram counts with EOS token
  
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 75 ]
  Error: Test failures
  Execution halted