Running ‘testthat.R’ [18s/24s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bnclassify)
  > 
  > test_check("bnclassify")
  -1.54485 -1.50696 -1.31785 -1.2128 -1.4612 -1.20742 -1.26966 -1.67055 -0.440312 -1.11241 -4.29046 -4.29046 -0.545227 -0.93827 -4.23411 -4.23411
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • Local rdata file (1)
  • On CRAN (17)
  • empty test (16)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-cpp-table.R:18:2): 1D ─────────────────────────────────────────
  `a` not equal to `b`.
  Attributes: < Component "dimnames": Names: 1 string mismatch >
  Backtrace:
      █
   1. └─bnclassify:::check_unidim(car, TRUE, 1) test-cpp-table.R:18:1
   2.   └─testthat::expect_equal(a, b) test-cpp-table.R:14:2
  ── Failure (test-cpp-table.R:19:2): 1D ─────────────────────────────────────────
  `a` not equal to `b`.
  Attributes: < Component "dimnames": Names: 1 string mismatch >
  Backtrace:
      █
   1. └─bnclassify:::check_unidim(car, 1:5, 1) test-cpp-table.R:19:1
   2.   └─testthat::expect_equal(a, b) test-cpp-table.R:14:2
  ── Failure (test-cpp-table.R:20:2): 1D ─────────────────────────────────────────
  `a` not equal to `b`.
  Attributes: < Component "dimnames": Names: 1 string mismatch >
  Backtrace:
      █
   1. └─bnclassify:::check_unidim(car, FALSE, 1) test-cpp-table.R:20:1
   2.   └─testthat::expect_equal(a, b) test-cpp-table.R:14:2
  ── Failure (test-cpp-table.R:22:2): 1D ─────────────────────────────────────────
  `a` not equal to `b`.
  Attributes: < Component "dimnames": Names: 1 string mismatch >
  Backtrace:
      █
   1. └─bnclassify:::check_unidim(v, TRUE, 1) test-cpp-table.R:22:1
   2.   └─testthat::expect_equal(a, b) test-cpp-table.R:14:2
  ── Failure (test-cpp-table.R:23:2): 1D ─────────────────────────────────────────
  `a` not equal to `b`.
  Attributes: < Component "dimnames": Names: 1 string mismatch >
  Backtrace:
      █
   1. └─bnclassify:::check_unidim(v, 1:5, 1) test-cpp-table.R:23:1
   2.   └─testthat::expect_equal(a, b) test-cpp-table.R:14:2
  ── Failure (test-cpp-table.R:24:2): 1D ─────────────────────────────────────────
  `a` not equal to `b`.
  Attributes: < Component "dimnames": Names: 1 string mismatch >
  Backtrace:
      █
   1. └─bnclassify:::check_unidim(v, FALSE, 1) test-cpp-table.R:24:1
   2.   └─testthat::expect_equal(a, b) test-cpp-table.R:14:2
  ── Failure (test-cpp-table.R:40:2): large dim ──────────────────────────────────
  `a` not equal to `b`.
  Attributes: < Component "dimnames": Names: 1 string mismatch >
  Backtrace:
      █
   1. └─bnclassify:::check_unidim(v, TRUE, 17) test-cpp-table.R:40:1
   2.   └─testthat::expect_equal(a, b) test-cpp-table.R:14:2
  ── Failure (test-cpp-table.R:67:3): ordinal ────────────────────────────────────
  `a` not equal to `b`.
  Attributes: < Component "dimnames": Names: 1 string mismatch >
  Backtrace:
      █
   1. └─bnclassify:::check_unidim(Soybean, TRUE, c("precip")) test-cpp-table.R:67:2
   2.   └─testthat::expect_equal(a, b) test-cpp-table.R:14:2
  
  [ FAIL 8 | WARN 0 | SKIP 34 | PASS 600 ]
  Error: Test failures
  Execution halted