Running ‘testthat.R’ [27s/32s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rENA)
  Registered S3 method overwritten by 'rENA':
    method               from
    as.matrix.ena.matrix tma 
  For the latest features and updates, install from https://cran.qe-libs.org
  
  Attaching package: 'rENA'
  
  The following object is masked from 'package:stats':
  
      optimize
  
  The following object is masked from 'package:methods':
  
      show
  
  The following object is masked from 'package:base':
  
      units
  
  > 
  > test_check("rENA")
  Saving _problems/test-ena_group-19.R
  Saving _problems/test-ena_wrapper-23.R
  Saving _problems/test-piping-17.R
  Saving _problems/test-set_creator-30.R
  Saving _problems/test-set_creator-121.R
  Saving _problems/test-table_subsetting-17.R
  Saving _problems/test-verify_toy_data_2-87.R
  Saving _problems/test-zero-networks-10.R
  Saving _problems/test.connection.matrix-19.R
  Saving _problems/test.ena.accumulate.data.file-75.R
  Saving _problems/test.ena.accumulate.data.file-133.R
  Saving _problems/test.ena.accumulate.data.file-161.R
  Saving _problems/test.ena.accumulations-262.R
  Saving _problems/test.ena.accumulations-365.R
  Saving _problems/test.ena.make.set.old-137.R
  [1] "Using custom rotation.set."
  [1] "Using custom rotation.set."
  Saving _problems/test.ena.use.cases-13.R
  Saving _problems/test.util.classes-19.R
  Saving _problems/test.util.matrices-17.R
  Saving _problems/test.utils-17.R
  Saving _problems/test.weighted.single.window-24.R
  [ FAIL 20 | WARN 0 | SKIP 3 | PASS 113 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  • empty test (3): , 'test.weighted.single.window.R:34:1',
    'test.weighted.single.window.R:51:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-ena_group.R:13:1'): (code run outside of `test_that()`) ────────
  Error in ``[.data.table`(dfDT_codes, , `:=`((codedTriNames), ref_window_df(.SD[, .SD, .SDcols = just_codes], windowSize = window$back, windowForward = window$forward, binary = binary)), by = conversations.by, .SDcols = initial_cols, with = T)`: attempt access index 11/11 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─rENA::ena(...) at test-ena_group.R:13:1
   2.   └─rENA:::ena.set.creator(...)
   3.     └─rENA::ena.accumulate.data(...)
   4.       └─data$process()
   5.         └─private$loadFile()
   6.           └─rENA:::accumulate.data(self)
   7.             ├─...[]
   8.             └─data.table:::`[.data.table`(...)
  ── Error ('test-ena_wrapper.R:17:3'): Verify group with single unit ────────────
  Error in ``[.data.table`(dfDT_codes, , `:=`((codedTriNames), ref_window_df(.SD[, .SD, .SDcols = just_codes], windowSize = window$back, windowForward = window$forward, binary = binary)), by = conversations.by, .SDcols = initial_cols, with = T)`: attempt access index 11/11 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─rENA::ena(...) at test-ena_wrapper.R:17:3
   2.   └─rENA:::ena.set.creator(...)
   3.     └─rENA::ena.accumulate.data(...)
   4.       └─data$process()
   5.         └─private$loadFile()
   6.           └─rENA:::accumulate.data(self)
   7.             ├─...[]
   8.             └─data.table:::`[.data.table`(...)
  ── Error ('test-piping.R:11:1'): (code run outside of `test_that()`) ───────────
  Error in ``[.data.table`(dfDT_codes, , `:=`((codedTriNames), ref_window_df(.SD[, .SD, .SDcols = just_codes], windowSize = window$back, windowForward = window$forward, binary = binary)), by = conversations.by, .SDcols = initial_cols, with = T)`: attempt access index 11/11 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─rENA::ena.accumulate.data(...) at test-piping.R:11:1
   2.   └─data$process()
   3.     └─private$loadFile()
   4.       └─rENA:::accumulate.data(self)
   5.         ├─...[]
   6.         └─data.table:::`[.data.table`(...)
  ── Error ('test-set_creator.R:22:3'): verify warnings ──────────────────────────
  Error in ``[.data.table`(dfDT_codes, , `:=`((codedTriNames), ref_window_df(.SD[, .SD, .SDcols = just_codes], windowSize = window$back, windowForward = window$forward, binary = binary)), by = conversations.by, .SDcols = initial_cols, with = T)`: attempt access index 12/12 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test-set_creator.R:22:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─rENA:::ena.set.creator(...)
    7.   └─rENA::ena.accumulate.data(...)
    8.     └─data$process()
    9.       └─private$loadFile()
   10.         └─rENA:::accumulate.data(self)
   11.           ├─...[]
   12.           └─data.table:::`[.data.table`(...)
  ── Error ('test-set_creator.R:112:3'): verify messages ─────────────────────────
  Error in ``[.data.table`(dfDT_codes, , `:=`((codedTriNames), ref_window_df(.SD[, .SD, .SDcols = just_codes], windowSize = window$back, windowForward = window$forward, binary = binary)), by = conversations.by, .SDcols = initial_cols, with = T)`: attempt access index 12/12 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─testthat::expect_message(...) at test-set_creator.R:112:3
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─rENA:::ena.set.creator(...)
    7.   └─rENA::ena.accumulate.data(...)
    8.     └─data$process()
    9.       └─private$loadFile()
   10.         └─rENA:::accumulate.data(self)
   11.           ├─...[]
   12.           └─data.table:::`[.data.table`(...)
  ── Error ('test-table_subsetting.R:11:3'): Remove rows from meta data ──────────
  Error in ``[.data.table`(dfDT_codes, , `:=`((codedTriNames), ref_window_df(.SD[, .SD, .SDcols = just_codes], windowSize = window$back, windowForward = window$forward, binary = binary)), by = conversations.by, .SDcols = initial_cols, with = T)`: attempt access index 11/11 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─rENA::ena(...) at test-table_subsetting.R:11:3
   2.   └─rENA:::ena.set.creator(...)
   3.     └─rENA::ena.accumulate.data(...)
   4.       └─data$process()
   5.         └─private$loadFile()
   6.           └─rENA:::accumulate.data(self)
   7.             ├─...[]
   8.             └─data.table:::`[.data.table`(...)
  ── Error ('test-verify_toy_data_2.R:82:1'): (code run outside of `test_that()`) ──
  Error in ``[.data.table`(dfDT_codes, , `:=`((codedTriNames), ref_window_df(.SD[, .SD, .SDcols = just_codes], windowSize = window$back, windowForward = window$forward, binary = binary)), by = conversations.by, .SDcols = initial_cols, with = T)`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─rENA:::ena.accumulate.data.file(...) at test-verify_toy_data_2.R:82:1
   2.   └─data$process()
   3.     └─private$loadFile()
   4.       └─rENA:::accumulate.data(self)
   5.         ├─...[]
   6.         └─data.table:::`[.data.table`(...)
  ── Error ('test-zero-networks.R:3:1'): (code run outside of `test_that()`) ─────
  Error in ``[.data.table`(dfDT_codes, , `:=`((codedTriNames), ref_window_df(.SD[, .SD, .SDcols = just_codes], windowSize = window$back, windowForward = window$forward, binary = binary)), by = conversations.by, .SDcols = initial_cols, with = T)`: attempt access index 15/15 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─rENA::ena.accumulate.data(...) at test-zero-networks.R:3:1
   2.   └─data$process()
   3.     └─private$loadFile()
   4.       └─rENA:::accumulate.data(self)
   5.         ├─...[]
   6.         └─data.table:::`[.data.table`(...)
  ── Error ('test.connection.matrix.R:13:1'): (code run outside of `test_that()`) ──
  Error in ``[.data.table`(dfDT_codes, , `:=`((codedTriNames), ref_window_df(.SD[, .SD, .SDcols = just_codes], windowSize = window$back, windowForward = window$forward, binary = binary)), by = conversations.by, .SDcols = initial_cols, with = T)`: attempt access index 11/11 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─rENA::ena(...) at test.connection.matrix.R:13:1
   2.   └─rENA:::ena.set.creator(...)
   3.     └─rENA::ena.accumulate.data(...)
   4.       └─data$process()
   5.         └─private$loadFile()
   6.           └─rENA:::accumulate.data(self)
   7.             ├─...[]
   8.             └─data.table:::`[.data.table`(...)
  ── Error ('test.ena.accumulate.data.file.R:70:3'): Accumulate weighted data. ───
  Error in ``[.data.table`(dfDT_codes, , `:=`((codedTriNames), ref_window_df(.SD[, .SD, .SDcols = just_codes], windowSize = window$back, windowForward = window$forward, binary = binary)), by = conversations.by, .SDcols = initial_cols, with = T)`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─rENA:::ena.accumulate.data.file(...) at test.ena.accumulate.data.file.R:70:3
   2.   └─data$process()
   3.     └─private$loadFile()
   4.       └─rENA:::accumulate.data(self)
   5.         ├─...[]
   6.         └─data.table:::`[.data.table`(...)
  ── Error ('test.ena.accumulate.data.file.R:127:3'): Corrected adjacency.vectors equals manually corrected raw data (correction = log) ──
  Error in ``[.data.table`(dfDT_codes, , `:=`((codedTriNames), ref_window_df(.SD[, .SD, .SDcols = just_codes], windowSize = window$back, windowForward = window$forward, binary = binary)), by = conversations.by, .SDcols = initial_cols, with = T)`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─rENA:::ena.accumulate.data.file(...) at test.ena.accumulate.data.file.R:127:3
   2.   └─data$process()
   3.     └─private$loadFile()
   4.       └─rENA:::accumulate.data(self)
   5.         ├─...[]
   6.         └─data.table:::`[.data.table`(...)
  ── Error ('test.ena.accumulate.data.file.R:161:3'): Simple forwarded metadata ──
  Error in ``[.data.table`(dfDT_codes, , `:=`((codedTriNames), ref_window_df(.SD[, .SD, .SDcols = just_codes], windowSize = window$back, windowForward = window$forward, binary = binary)), by = conversations.by, .SDcols = initial_cols, with = T)`: attempt access index 8/8 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─rENA:::ena.accumulate.data.file(...) at test.ena.accumulate.data.file.R:161:3
   2.   └─data$process()
   3.     └─private$loadFile()
   4.       └─rENA:::accumulate.data(self)
   5.         ├─...[]
   6.         └─data.table:::`[.data.table`(...)
  ── Error ('test.ena.accumulations.R:260:3'): Test accumulation with infinite windows ──
  Error in ``[.data.table`(dfDT_codes, , `:=`((codedTriNames), ref_window_df(.SD[, .SD, .SDcols = just_codes], windowSize = window$back, windowForward = window$forward, binary = binary)), by = conversations.by, .SDcols = initial_cols, with = T)`: attempt access index 6/6 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─rENA::ena.accumulate.data(...) at test.ena.accumulations.R:260:3
   2.   └─data$process()
   3.     └─private$loadFile()
   4.       └─rENA:::accumulate.data(self)
   5.         ├─...[]
   6.         └─data.table:::`[.data.table`(...)
  ── Error ('test.ena.accumulations.R:363:3'): Test forward windows ──────────────
  Error in ``[.data.table`(dfDT_codes, , `:=`((codedTriNames), ref_window_df(.SD[, .SD, .SDcols = just_codes], windowSize = window$back, windowForward = window$forward, binary = binary)), by = conversations.by, .SDcols = initial_cols, with = T)`: attempt access index 6/6 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─rENA::ena.accumulate.data(...) at test.ena.accumulations.R:363:3
   2.   └─data$process()
   3.     └─private$loadFile()
   4.       └─rENA:::accumulate.data(self)
   5.         ├─...[]
   6.         └─data.table:::`[.data.table`(...)
  ── Error ('test.ena.make.set.old.R:131:3'): Old sets are the same as the new ones ──
  Error in ``[.data.table`(dfDT_codes, , `:=`((codedTriNames), ref_window_df(.SD[, .SD, .SDcols = just_codes], windowSize = window$back, windowForward = window$forward, binary = binary)), by = conversations.by, .SDcols = initial_cols, with = T)`: attempt access index 21/21 in VECTOR_ELT
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(...) at test.ena.make.set.old.R:131:3
   2. │ └─base::withCallingHandlers(...)
   3. └─rENA:::ena.accumulate.data.file(...)
   4.   └─data$process()
   5.     └─private$loadFile()
   6.       └─rENA:::accumulate.data(self)
   7.         ├─...[]
   8.         └─data.table:::`[.data.table`(...)
  ── Error ('test.ena.use.cases.R:7:1'): (code run outside of `test_that()`) ─────
  Error in ``[.data.table`(dfDT_codes, , `:=`((codedTriNames), ref_window_df(.SD[, .SD, .SDcols = just_codes], windowSize = window$back, windowForward = window$forward, binary = binary)), by = conversations.by, .SDcols = initial_cols, with = T)`: attempt access index 14/14 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─rENA::ena.accumulate.data(...) at test.ena.use.cases.R:7:1
   2.   └─data$process()
   3.     └─private$loadFile()
   4.       └─rENA:::accumulate.data(self)
   5.         ├─...[]
   6.         └─data.table:::`[.data.table`(...)
  ── Error ('test.util.classes.R:13:1'): (code run outside of `test_that()`) ─────
  Error in ``[.data.table`(dfDT_codes, , `:=`((codedTriNames), ref_window_df(.SD[, .SD, .SDcols = just_codes], windowSize = window$back, windowForward = window$forward, binary = binary)), by = conversations.by, .SDcols = initial_cols, with = T)`: attempt access index 11/11 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─rENA::ena(...) at test.util.classes.R:13:1
   2.   └─rENA:::ena.set.creator(...)
   3.     └─rENA::ena.accumulate.data(...)
   4.       └─data$process()
   5.         └─private$loadFile()
   6.           └─rENA:::accumulate.data(self)
   7.             ├─...[]
   8.             └─data.table:::`[.data.table`(...)
  ── Error ('test.util.matrices.R:11:1'): (code run outside of `test_that()`) ────
  Error in ``[.data.table`(dfDT_codes, , `:=`((codedTriNames), ref_window_df(.SD[, .SD, .SDcols = just_codes], windowSize = window$back, windowForward = window$forward, binary = binary)), by = conversations.by, .SDcols = initial_cols, with = T)`: attempt access index 11/11 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─rENA::ena(...) at test.util.matrices.R:11:1
   2.   └─rENA:::ena.set.creator(...)
   3.     └─rENA::ena.accumulate.data(...)
   4.       └─data$process()
   5.         └─private$loadFile()
   6.           └─rENA:::accumulate.data(self)
   7.             ├─...[]
   8.             └─data.table:::`[.data.table`(...)
  ── Error ('test.utils.R:11:1'): (code run outside of `test_that()`) ────────────
  Error in ``[.data.table`(dfDT_codes, , `:=`((codedTriNames), ref_window_df(.SD[, .SD, .SDcols = just_codes], windowSize = window$back, windowForward = window$forward, binary = binary)), by = conversations.by, .SDcols = initial_cols, with = T)`: attempt access index 11/11 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─rENA::ena(...) at test.utils.R:11:1
   2.   └─rENA:::ena.set.creator(...)
   3.     └─rENA::ena.accumulate.data(...)
   4.       └─data$process()
   5.         └─private$loadFile()
   6.           └─rENA:::accumulate.data(self)
   7.             ├─...[]
   8.             └─data.table:::`[.data.table`(...)
  ── Error ('test.weighted.single.window.R:21:3'): Verify binary/weighted accumulations with window > 1 are not equal ──
  Error in ``[.data.table`(dfDT_codes, , `:=`((codedTriNames), ref_window_df(.SD[, .SD, .SDcols = just_codes], windowSize = window$back, windowForward = window$forward, binary = binary)), by = conversations.by, .SDcols = initial_cols, with = T)`: attempt access index 6/6 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─rENA::ena.accumulate.data(...) at test.weighted.single.window.R:21:3
   2.   └─data$process()
   3.     └─private$loadFile()
   4.       └─rENA:::accumulate.data(self)
   5.         ├─...[]
   6.         └─data.table:::`[.data.table`(...)
  
  [ FAIL 20 | WARN 0 | SKIP 3 | PASS 113 ]
  Error:
  ! Test failures.
  Execution halted