Running 'testthat.R' [9s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(IBLM)
  > 
  > test_check("IBLM")
  Saving _problems/test-explain_iblm-222.R
  Saving _problems/test-explain_iblm-247.R
  Saving _problems/test-explain_iblm-272.R
  Saving _problems/test-explain_iblm-300.R
  Saving _problems/test-explain_iblm-328.R
  Saving _problems/test-explain_iblm-361.R
  Saving _problems/test-explain_iblm-421.R
  Saving _problems/test-explain_iblm-454.R
  Saving _problems/test-explain_iblm-484.R
  Saving _problems/test-predict-32.R
  [ FAIL 10 | WARN 12 | SKIP 4 | PASS 2 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (4): 'test-explain_iblm.R:4:3', 'test-get_pinball_scores.R:5:3',
    'test-get_pinball_scores.R:85:3', 'test-train_iblm.R:6:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-explain_iblm.R:214:3'): test explain completes when one categorical and one continuous ──
  Expected `{ ... }` not to throw any errors.
  Actually got a <simpleError> with message:
    [08:47:15] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment.
  ── Failure ('test-explain_iblm.R:239:3'): test explain completes when categorical only ──
  Expected `{ ... }` not to throw any errors.
  Actually got a <simpleError> with message:
    [08:47:16] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment.
  ── Failure ('test-explain_iblm.R:264:3'): test explain completes when continuous only ──
  Expected `{ ... }` not to throw any errors.
  Actually got a <simpleError> with message:
    [08:47:16] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment.
  ── Failure ('test-explain_iblm.R:292:3'): test explain completes when logical field ──
  Expected `{ ... }` not to throw any errors.
  Actually got a <simpleError> with message:
    [08:47:17] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment.
  ── Failure ('test-explain_iblm.R:320:3'): test explain completes when no reference/zero levels ──
  Expected `{ ... }` not to throw any errors.
  Actually got a <simpleError> with message:
    [08:47:17] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment.
  ── Error ('test-explain_iblm.R:361:3'): test migrate-to-bias vs non-migrate-to-bias options ──
  Error in `xgboost::xgb.DMatrix(data.matrix(data))`: [08:47:17] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment.
  Backtrace:
      ▆
   1. └─IBLM::explain_iblm(iblm_model = IBLM, data = splits$test, migrate_reference_to_bias = TRUE) at test-explain_iblm.R:361:3
   2.   ├─IBLM::extract_booster_shap(iblm_model$booster_model, data)
   3.   └─IBLM:::extract_booster_shap.xgb.Booster(...)
   4.     ├─base::data.frame(...)
   5.     ├─stats::predict(...)
   6.     ├─xgboost:::predict.xgb.Booster(...)
   7.     └─xgboost::xgb.DMatrix(data.matrix(data))
  ── Failure ('test-explain_iblm.R:413:3'): test gaussian can run ────────────────
  Expected `{ ... }` not to throw any errors.
  Actually got a <simpleError> with message:
    [08:47:18] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment.
  ── Failure ('test-explain_iblm.R:445:3'): test gamma can run ───────────────────
  Expected `{ ... }` not to throw any errors.
  Actually got a <simpleError> with message:
    [08:47:18] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment.
  ── Failure ('test-explain_iblm.R:475:3'): test tweedie can run ─────────────────
  Expected `{ ... }` not to throw any errors.
  Actually got a <simpleError> with message:
    [08:47:19] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment.
  ── Error ('test-predict.R:32:3'): test corrected beta coeffecient predictions are same as predict iblm() ──
  Error in `xgboost::xgb.DMatrix(data.matrix(data))`: [08:47:20] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment.
  Backtrace:
      ▆
   1. └─IBLM::explain_iblm(iblm_model = IBLM, data = splits$test, migrate_reference_to_bias = TRUE) at test-predict.R:32:3
   2.   ├─IBLM::extract_booster_shap(iblm_model$booster_model, data)
   3.   └─IBLM:::extract_booster_shap.xgb.Booster(...)
   4.     ├─base::data.frame(...)
   5.     ├─stats::predict(...)
   6.     ├─xgboost:::predict.xgb.Booster(...)
   7.     └─xgboost::xgb.DMatrix(data.matrix(data))
  
  [ FAIL 10 | WARN 12 | SKIP 4 | PASS 2 ]
  Error:
  ! Test failures.
  Execution halted