Running ‘testthat.R’ [2s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bitsqueezr)
  > 
  > test_check("bitsqueezr")
  [ FAIL 9 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_bitsqueezr.R:8:3'): Zero values are left alone ─────────────────
  Error in `squeeze_bits(0, 1, method = "trim")`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(0, squeeze_bits(0, 1, method = "trim")) at test_bitsqueezr.R:8:2
   2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─bitsqueezr::squeeze_bits(0, 1, method = "trim")
  ── Error ('test_bitsqueezr.R:13:3'): Infinite values are left alone ────────────
  Error in `squeeze_bits(Inf, 1, method = "trim")`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(Inf, squeeze_bits(Inf, 1, method = "trim")) at test_bitsqueezr.R:13:2
   2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─bitsqueezr::squeeze_bits(Inf, 1, method = "trim")
  ── Error ('test_bitsqueezr.R:20:3'): NA values are left alone ──────────────────
  Error in `squeeze_bits(NA_real_, 1, method = "trim")`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(NA_real_, squeeze_bits(NA_real_, 1, method = "trim")) at test_bitsqueezr.R:20:2
   2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─bitsqueezr::squeeze_bits(NA_real_, 1, method = "trim")
  ── Error ('test_bitsqueezr.R:29:3'): We ignore trimming when the tolerance is too small ──
  Error in `squeeze_bits(z, 3, method = "trim", decimal = TRUE)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test_bitsqueezr.R:29:2
   2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─bitsqueezr::squeeze_bits(z, 3, method = "trim", decimal = TRUE)
  ── Error ('test_bitsqueezr.R:37:5'): Trimmed values biased low and within specified tolerance ──
  Error in `squeeze_bits(x, i, method = "trim", decimal = FALSE)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─bitsqueezr::squeeze_bits(x, i, method = "trim", decimal = FALSE) at test_bitsqueezr.R:37:4
  ── Error ('test_bitsqueezr.R:46:5'): Values can be trimmed using a decimal digits tolerance ──
  Error in `squeeze_bits(x, i, method = "trim", decimal = TRUE)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─bitsqueezr::squeeze_bits(x, i, method = "trim", decimal = TRUE) at test_bitsqueezr.R:46:4
  ── Error ('test_bitsqueezr.R:55:5'): Values can be padded using a decimal digits tolerance ──
  Error in `squeeze_bits(x, i, method = "pad", decimal = TRUE)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─bitsqueezr::squeeze_bits(x, i, method = "pad", decimal = TRUE) at test_bitsqueezr.R:55:4
  ── Error ('test_bitsqueezr.R:64:5'): Padded values biased high and within specified tolerance ──
  Error in `squeeze_bits(x, i, method = "pad", decimal = FALSE)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─bitsqueezr::squeeze_bits(x, i, method = "pad", decimal = FALSE) at test_bitsqueezr.R:64:4
  ── Error ('test_bitsqueezr.R:72:5'): Groomed values are within specified tolerance ──
  Error in `squeeze_bits(x, i, method = "groom", decimal = FALSE)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─bitsqueezr::squeeze_bits(x, i, method = "groom", decimal = FALSE) at test_bitsqueezr.R:72:4
  
  [ FAIL 9 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted