Running ‘testthat.R’ [9s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > Sys.setenv("OMP_THREAD_LIMIT" = 2)
  > 
  > library(testthat)
  > library(miceFast)
  > library(data.table)
  
  Attaching package: 'data.table'
  
  The following object is masked from 'package:base':
  
      %notin%
  
  > library(dplyr)
  
  Attaching package: 'dplyr'
  
  The following objects are masked from 'package:data.table':
  
      between, first, last
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > library(magrittr)
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  > 
  > test_check("miceFast")
  Saving _problems/test-fill_NA_funcs-474.R
  Saving _problems/test-fill_NA_funcs-599.R
  [ FAIL 2 | WARN 3 | SKIP 0 | PASS 102 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-fill_NA_funcs.R:379:3'): data.table pipeline fill_NA_N, fill_NA accuracy - con ──
  Error in ``[.data.table`(data_DT, , `:=`(y_imp, fill_NA(x = .SD, model = "lm_pred", posit_y = "y", posit_x = c("Intercept", "x2", "x3", "x4"), w = .SD[["weights"]])), by = .(group))`: attempt access index 13/13 in VECTOR_ELT
  Backtrace:
      ▆
   1. ├─... %>% ... at test-fill_NA_funcs.R:379:3
   2. ├─...[]
   3. └─data.table:::`[.data.table`(...)
  ── Error ('test-fill_NA_funcs.R:540:3'): data.table pipeline fill_NA/fill_NA_N accuracy - disc ──
  Error in ``[.data.table`(data_DT, , `:=`(y_imp, fill_NA(x = .SD, model = "lda", posit_y = "y_fac", posit_x = c("x2", "x3", "x4", "x5"))), by = .(group))`: attempt access index 16/16 in VECTOR_ELT
  Backtrace:
      ▆
   1. ├─... %>% ... at test-fill_NA_funcs.R:540:3
   2. ├─...[]
   3. └─data.table:::`[.data.table`(...)
  
  [ FAIL 2 | WARN 3 | SKIP 0 | PASS 102 ]
  Error:
  ! Test failures.
  Execution halted