Running ‘testthat.R’ [8s/20s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(missRanger)
  > 
  > test_check("missRanger")
  [ FAIL 9 | WARN 0 | SKIP 0 | PASS 46 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-missRanger.R:6:3'): all missings are filled ────────────────────
  Error in `get.knnx(data, query, k, algorithm)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─missRanger::missRanger(...) at test-missRanger.R:6:2
   2.   └─missRanger::pmm(...)
   3.     └─FNN::knnx.index(xtrain, xtest, k)
   4.       └─FNN::get.knnx(data, query, k, algorithm)
  ── Error ('test-missRanger.R:44:3'): pmm.k works regarding value range in double columns ──
  Error in `get.knnx(data, query, k, algorithm)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─missRanger::missRanger(...) at test-missRanger.R:44:2
   2.   └─missRanger::pmm(...)
   3.     └─FNN::knnx.index(xtrain, xtest, k)
   4.       └─FNN::get.knnx(data, query, k, algorithm)
  ── Error ('test-missRanger.R:52:3'): pmm.k works regarding value range in integer columns ──
  Error in `get.knnx(data, query, k, algorithm)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─missRanger::missRanger(...) at test-missRanger.R:52:2
   2.   └─missRanger::pmm(...)
   3.     └─FNN::knnx.index(xtrain, xtest, k)
   4.       └─FNN::get.knnx(data, query, k, algorithm)
  ── Error ('test-missRanger.R:76:3'): formula interface works with unspecified left side ──
  Error in `get.knnx(data, query, k, algorithm)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─missRanger::missRanger(...) at test-missRanger.R:76:2
   2.   └─missRanger::pmm(...)
   3.     └─FNN::knnx.index(xtrain, xtest, k)
   4.       └─FNN::get.knnx(data, query, k, algorithm)
  ── Error ('test-pmm.R:4:3'): pmm picks the right reference based on numeric values ──
  Error in `get.knnx(data, query, k, algorithm)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-pmm.R:4:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─missRanger::pmm(...)
   5.   └─FNN::knnx.index(xtrain, xtest, k)
   6.     └─FNN::get.knnx(data, query, k, algorithm)
  ── Error ('test-pmm.R:12:3'): pmm picks the right reference based on logical values ──
  Error in `get.knnx(data, query, k, algorithm)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-pmm.R:12:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─missRanger::pmm(...)
   5.   └─FNN::knnx.index(xtrain, xtest, k)
   6.     └─FNN::get.knnx(data, query, k, algorithm)
  ── Error ('test-pmm.R:19:3'): pmm picks the right reference based on character values ──
  Error in `get.knnx(data, query, k, algorithm)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-pmm.R:19:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─missRanger::pmm(...)
   5.   └─FNN::knnx.index(xtrain, xtest, k)
   6.     └─FNN::get.knnx(data, query, k, algorithm)
  ── Error ('test-pmm.R:26:3'): pmm picks the right reference based on a factor ──
  Error in `get.knnx(data, query, k, algorithm)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-pmm.R:26:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─missRanger::pmm(...)
   5.   └─FNN::knnx.index(xtrain, xtest, k)
   6.     └─FNN::get.knnx(data, query, k, algorithm)
  ── Error ('test-pmm.R:35:3'): pmm picks the right reference based on date vector ──
  Error in `get.knnx(data, query, k, algorithm)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-pmm.R:35:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─missRanger::pmm(xtrain, xquery, ytrain = 1:2)
   5.   └─FNN::knnx.index(xtrain, xtest, k)
   6.     └─FNN::get.knnx(data, query, k, algorithm)
  
  [ FAIL 9 | WARN 0 | SKIP 0 | PASS 46 ]
  Error: Test failures
  Execution halted