Running ‘testthat.R’ [9s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # setting R_TESTS to empty string because of
  > # https://github.com/hadley/testthat/issues/144
  > # revert this when that issue in R is fixed.
  > Sys.setenv("R_TESTS" = "")
  > 
  > library(testthat)
  > library(rollinglda)
  Loading required package: ldaPrototype
  > library(data.table)
  > library(lubridate)
  
  Attaching package: 'lubridate'
  
  The following objects are masked from 'package:data.table':
  
      hour, isoweek, mday, minute, month, quarter, second, wday, week,
      yday, year
  
  The following objects are masked from 'package:base':
  
      date, intersect, setdiff, union
  
  > 
  > test_check("rollinglda")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_RollingLDA.R:6:1): (code run outside of `test_that()`) ──────────
  Error: A non-empty vector of column names for `by` is required.
  Backtrace:
      █
   1. ├─rollinglda::RollingLDA(...) test_RollingLDA.R:6:0
   2. └─rollinglda:::RollingLDA.default(...)
   3.   └─rollinglda:::updateRollingLDA_one_step(...)
   4.     └─data.table::merge.data.table(...)
  ── Error (test_getter_and_asRollingLDA.R:6:1): (code run outside of `test_that()`) ──
  Error: A non-empty vector of column names for `by` is required.
  Backtrace:
      █
   1. ├─rollinglda::RollingLDA(...) test_getter_and_asRollingLDA.R:6:0
   2. └─rollinglda:::RollingLDA.default(...)
   3.   └─rollinglda:::updateRollingLDA_one_step(...)
   4.     └─data.table::merge.data.table(...)
  ── Error (test_isRollingLDA.R:6:1): (code run outside of `test_that()`) ────────
  Error: A non-empty vector of column names for `by` is required.
  Backtrace:
      █
   1. ├─rollinglda::RollingLDA(...) test_isRollingLDA.R:6:0
   2. └─rollinglda:::RollingLDA.default(...)
   3.   └─rollinglda:::updateRollingLDA_one_step(...)
   4.     └─data.table::merge.data.table(...)
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted