CRAN Package Check Results for Package IBLM

Last updated on 2025-12-05 09:49:56 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 7.75 157.81 165.56 OK
r-devel-linux-x86_64-debian-gcc 1.0.1 5.27 124.91 130.18 OK
r-devel-linux-x86_64-fedora-clang 1.0.1 35.00 102.97 137.97 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.1 59.00 98.92 157.92 ERROR
r-devel-windows-x86_64 1.0.1 10.00 147.00 157.00 OK
r-patched-linux-x86_64 1.0.1 7.46 147.44 154.90 OK
r-release-linux-x86_64 1.0.1 6.41 132.82 139.23 OK
r-release-macos-arm64 1.0.1 2.00 34.00 36.00 OK
r-release-macos-x86_64 1.0.1 6.00 150.00 156.00 OK
r-release-windows-x86_64 1.0.1 9.00 146.00 155.00 OK
r-oldrel-macos-arm64 1.0.1 2.00 40.00 42.00 OK
r-oldrel-macos-x86_64 1.0.1 10.00 164.00 174.00 OK
r-oldrel-windows-x86_64 1.0.1 13.00 163.00 176.00 OK

Check Details

Version: 1.0.1
Check: examples
Result: ERROR Running examples in ‘IBLM-Ex.R’ failed The error most likely occurred in: > ### Name: beta_corrected_density > ### Title: Density Plot of Beta Corrections for a Variable > ### Aliases: beta_corrected_density > > ### ** Examples > > # This function is created inside explain_iblm() and is output as an item > > df_list <- freMTPLmini |> split_into_train_validate_test(seed = 9000) > > iblm_model <- train_iblm_xgb( + df_list, + response_var = "ClaimRate", + family = "poisson" + ) Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. > > explain_objects <- explain_iblm(iblm_model, df_list$test) Error in xgboost::xgb.DMatrix(data.matrix(data)) : [10:42:21] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment. Stack trace: [bt] (0) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(+0x13b82) [0x7fc1ebe13b82] [bt] (1) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(+0x16c3cb) [0x7fc1ebf6c3cb] [bt] (2) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(XGDMatrixCreateFromDense+0xe2) [0x7fc1ec1d8e12] [bt] (3) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(XGDMatrixCreateFromMat_R+0x232) [0x7fc1ebe096a2] [bt] (4) /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8e6f3) [0x5610a62266f3] [bt] (5) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdd470) [0x5610a6275470] [bt] (6) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc62ac) [0x5610a625e2ac] [bt] (7) /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x5610a625da35] [bt] (8) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe2e29) [0x5610a627ae29] Calls: explain_iblm ... data.frame -> <Anonymous> -> predict.xgb.Booster -> <Anonymous> Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [19s/26s] 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: [10:42:38] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment. Stack trace: [bt] (0) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(+0x13b82) [0x7f92b9213b82] [bt] (1) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(+0x16c3cb) [0x7f92b936c3cb] [bt] (2) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(XGDMatrixCreateFromDense+0xe2) [0x7f92b95d8e12] [bt] (3) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(XGDMatrixCreateFromMat_R+0x232) [0x7f92b92096a2] [bt] (4) /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8e6f3) [0x562a0de1e6f3] [bt] (5) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdd470) [0x562a0de6d470] [bt] (6) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc62ac) [0x562a0de562ac] [bt] (7) /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x562a0de55a35] [bt] (8) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe2e29) [0x562a0de72e29] ── 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: [10:42:39] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment. Stack trace: [bt] (0) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(+0x13b82) [0x7f92b9213b82] [bt] (1) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(+0x16c3cb) [0x7f92b936c3cb] [bt] (2) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(XGDMatrixCreateFromDense+0xe2) [0x7f92b95d8e12] [bt] (3) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(XGDMatrixCreateFromMat_R+0x232) [0x7f92b92096a2] [bt] (4) /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8e6f3) [0x562a0de1e6f3] [bt] (5) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdd470) [0x562a0de6d470] [bt] (6) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc62ac) [0x562a0de562ac] [bt] (7) /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x562a0de55a35] [bt] (8) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe2e29) [0x562a0de72e29] ── 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: [10:42:39] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment. Stack trace: [bt] (0) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(+0x13b82) [0x7f92b9213b82] [bt] (1) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(+0x16c3cb) [0x7f92b936c3cb] [bt] (2) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(XGDMatrixCreateFromDense+0xe2) [0x7f92b95d8e12] [bt] (3) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(XGDMatrixCreateFromMat_R+0x232) [0x7f92b92096a2] [bt] (4) /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8e6f3) [0x562a0de1e6f3] [bt] (5) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdd470) [0x562a0de6d470] [bt] (6) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc62ac) [0x562a0de562ac] [bt] (7) /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x562a0de55a35] [bt] (8) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe2e29) [0x562a0de72e29] ── 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: [10:42:40] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment. Stack trace: [bt] (0) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(+0x13b82) [0x7f92b9213b82] [bt] (1) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(+0x16c3cb) [0x7f92b936c3cb] [bt] (2) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(XGDMatrixCreateFromDense+0xe2) [0x7f92b95d8e12] [bt] (3) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(XGDMatrixCreateFromMat_R+0x232) [0x7f92b92096a2] [bt] (4) /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8e6f3) [0x562a0de1e6f3] [bt] (5) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdd470) [0x562a0de6d470] [bt] (6) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc62ac) [0x562a0de562ac] [bt] (7) /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x562a0de55a35] [bt] (8) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe2e29) [0x562a0de72e29] ── 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: [10:42:41] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment. Stack trace: [bt] (0) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(+0x13b82) [0x7f92b9213b82] [bt] (1) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(+0x16c3cb) [0x7f92b936c3cb] [bt] (2) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(XGDMatrixCreateFromDense+0xe2) [0x7f92b95d8e12] [bt] (3) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(XGDMatrixCreateFromMat_R+0x232) [0x7f92b92096a2] [bt] (4) /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8e6f3) [0x562a0de1e6f3] [bt] (5) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdd470) [0x562a0de6d470] [bt] (6) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc62ac) [0x562a0de562ac] [bt] (7) /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x562a0de55a35] [bt] (8) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe2e29) [0x562a0de72e29] ── 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))`: [10:42:42] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment. Stack trace: [bt] (0) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(+0x13b82) [0x7f92b9213b82] [bt] (1) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(+0x16c3cb) [0x7f92b936c3cb] [bt] (2) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(XGDMatrixCreateFromDense+0xe2) [0x7f92b95d8e12] [bt] (3) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(XGDMatrixCreateFromMat_R+0x232) [0x7f92b92096a2] [bt] (4) /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8e6f3) [0x562a0de1e6f3] [bt] (5) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdd470) [0x562a0de6d470] [bt] (6) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc62ac) [0x562a0de562ac] [bt] (7) /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x562a0de55a35] [bt] (8) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe2e29) [0x562a0de72e29] 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: [10:42:42] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment. Stack trace: [bt] (0) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(+0x13b82) [0x7f92b9213b82] [bt] (1) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(+0x16c3cb) [0x7f92b936c3cb] [bt] (2) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(XGDMatrixCreateFromDense+0xe2) [0x7f92b95d8e12] [bt] (3) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(XGDMatrixCreateFromMat_R+0x232) [0x7f92b92096a2] [bt] (4) /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8e6f3) [0x562a0de1e6f3] [bt] (5) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdd470) [0x562a0de6d470] [bt] (6) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc62ac) [0x562a0de562ac] [bt] (7) /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x562a0de55a35] [bt] (8) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe2e29) [0x562a0de72e29] ── Failure ('test-explain_iblm.R:445:3'): test gamma can run ─────────────────── Expected `{ ... }` not to throw any errors. Actually got a <simpleError> with message: [10:42:43] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment. Stack trace: [bt] (0) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(+0x13b82) [0x7f92b9213b82] [bt] (1) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(+0x16c3cb) [0x7f92b936c3cb] [bt] (2) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(XGDMatrixCreateFromDense+0xe2) [0x7f92b95d8e12] [bt] (3) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(XGDMatrixCreateFromMat_R+0x232) [0x7f92b92096a2] [bt] (4) /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8e6f3) [0x562a0de1e6f3] [bt] (5) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdd470) [0x562a0de6d470] [bt] (6) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc62ac) [0x562a0de562ac] [bt] (7) /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x562a0de55a35] [bt] (8) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe2e29) [0x562a0de72e29] ── Failure ('test-explain_iblm.R:475:3'): test tweedie can run ───────────────── Expected `{ ... }` not to throw any errors. Actually got a <simpleError> with message: [10:42:44] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment. Stack trace: [bt] (0) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(+0x13b82) [0x7f92b9213b82] [bt] (1) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(+0x16c3cb) [0x7f92b936c3cb] [bt] (2) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(XGDMatrixCreateFromDense+0xe2) [0x7f92b95d8e12] [bt] (3) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(XGDMatrixCreateFromMat_R+0x232) [0x7f92b92096a2] [bt] (4) /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8e6f3) [0x562a0de1e6f3] [bt] (5) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdd470) [0x562a0de6d470] [bt] (6) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc62ac) [0x562a0de562ac] [bt] (7) /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x562a0de55a35] [bt] (8) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe2e29) [0x562a0de72e29] ── Error ('test-predict.R:32:3'): test corrected beta coeffecient predictions are same as predict iblm() ── Error in `xgboost::xgb.DMatrix(data.matrix(data))`: [10:42:47] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment. Stack trace: [bt] (0) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(+0x13b82) [0x7f92b9213b82] [bt] (1) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(+0x16c3cb) [0x7f92b936c3cb] [bt] (2) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(XGDMatrixCreateFromDense+0xe2) [0x7f92b95d8e12] [bt] (3) /data/gannet/ripley/R/test-clang/xgboost/libs/xgboost.so(XGDMatrixCreateFromMat_R+0x232) [0x7f92b92096a2] [bt] (4) /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8e6f3) [0x562a0de1e6f3] [bt] (5) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdd470) [0x562a0de6d470] [bt] (6) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc62ac) [0x562a0de562ac] [bt] (7) /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x562a0de55a35] [bt] (8) /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe2e29) [0x562a0de72e29] 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 Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.1
Check: examples
Result: ERROR Running examples in ‘IBLM-Ex.R’ failed The error most likely occurred in: > ### Name: beta_corrected_density > ### Title: Density Plot of Beta Corrections for a Variable > ### Aliases: beta_corrected_density > > ### ** Examples > > # This function is created inside explain_iblm() and is output as an item > > df_list <- freMTPLmini |> split_into_train_validate_test(seed = 9000) > > iblm_model <- train_iblm_xgb( + df_list, + response_var = "ClaimRate", + family = "poisson" + ) Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. > > explain_objects <- explain_iblm(iblm_model, df_list$test) Error in xgboost::xgb.DMatrix(data.matrix(data)) : [11:24:52] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment. Stack trace: [bt] (0) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(+0x4e866) [0x7f204d44e866] [bt] (1) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(+0x277988) [0x7f204d677988] [bt] (2) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(XGDMatrixCreateFromDense+0x163) [0x7f204d9770b3] [bt] (3) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(XGDMatrixCreateFromMat_R+0x265) [0x7f204d443865] [bt] (4) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4a1a19] [bt] (5) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e6165] [bt] (6) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e3e7b] [bt] (7) /data/gannet/ripley/R/R-devel/bin/exec/R(Rf_eval+0x17b) [0x4d1efb] [bt] (8) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4d74ee] Calls: explain_iblm ... data.frame -> <Anonymous> -> predict.xgb.Booster -> <Anonymous> Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [42s/131s] 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: [11:25:32] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment. Stack trace: [bt] (0) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(+0x4e866) [0x7f5c31e4e866] [bt] (1) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(+0x277988) [0x7f5c32077988] [bt] (2) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(XGDMatrixCreateFromDense+0x163) [0x7f5c323770b3] [bt] (3) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(XGDMatrixCreateFromMat_R+0x265) [0x7f5c31e43865] [bt] (4) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4a1a19] [bt] (5) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e6165] [bt] (6) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e3e7b] [bt] (7) /data/gannet/ripley/R/R-devel/bin/exec/R(Rf_eval+0x17b) [0x4d1efb] [bt] (8) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4d74ee] ── 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: [11:25:41] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment. Stack trace: [bt] (0) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(+0x4e866) [0x7f5c31e4e866] [bt] (1) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(+0x277988) [0x7f5c32077988] [bt] (2) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(XGDMatrixCreateFromDense+0x163) [0x7f5c323770b3] [bt] (3) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(XGDMatrixCreateFromMat_R+0x265) [0x7f5c31e43865] [bt] (4) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4a1a19] [bt] (5) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e6165] [bt] (6) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e3e7b] [bt] (7) /data/gannet/ripley/R/R-devel/bin/exec/R(Rf_eval+0x17b) [0x4d1efb] [bt] (8) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4d74ee] ── 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: [11:25:48] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment. Stack trace: [bt] (0) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(+0x4e866) [0x7f5c31e4e866] [bt] (1) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(+0x277988) [0x7f5c32077988] [bt] (2) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(XGDMatrixCreateFromDense+0x163) [0x7f5c323770b3] [bt] (3) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(XGDMatrixCreateFromMat_R+0x265) [0x7f5c31e43865] [bt] (4) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4a1a19] [bt] (5) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e6165] [bt] (6) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e3e7b] [bt] (7) /data/gannet/ripley/R/R-devel/bin/exec/R(Rf_eval+0x17b) [0x4d1efb] [bt] (8) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4d74ee] ── 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: [11:25:54] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment. Stack trace: [bt] (0) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(+0x4e866) [0x7f5c31e4e866] [bt] (1) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(+0x277988) [0x7f5c32077988] [bt] (2) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(XGDMatrixCreateFromDense+0x163) [0x7f5c323770b3] [bt] (3) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(XGDMatrixCreateFromMat_R+0x265) [0x7f5c31e43865] [bt] (4) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4a1a19] [bt] (5) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e6165] [bt] (6) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e3e7b] [bt] (7) /data/gannet/ripley/R/R-devel/bin/exec/R(Rf_eval+0x17b) [0x4d1efb] [bt] (8) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4d74ee] ── 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: [11:26:00] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment. Stack trace: [bt] (0) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(+0x4e866) [0x7f5c31e4e866] [bt] (1) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(+0x277988) [0x7f5c32077988] [bt] (2) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(XGDMatrixCreateFromDense+0x163) [0x7f5c323770b3] [bt] (3) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(XGDMatrixCreateFromMat_R+0x265) [0x7f5c31e43865] [bt] (4) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4a1a19] [bt] (5) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e6165] [bt] (6) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e3e7b] [bt] (7) /data/gannet/ripley/R/R-devel/bin/exec/R(Rf_eval+0x17b) [0x4d1efb] [bt] (8) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4d74ee] ── 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))`: [11:26:12] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment. Stack trace: [bt] (0) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(+0x4e866) [0x7f5c31e4e866] [bt] (1) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(+0x277988) [0x7f5c32077988] [bt] (2) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(XGDMatrixCreateFromDense+0x163) [0x7f5c323770b3] [bt] (3) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(XGDMatrixCreateFromMat_R+0x265) [0x7f5c31e43865] [bt] (4) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4a1a19] [bt] (5) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e6165] [bt] (6) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e3e7b] [bt] (7) /data/gannet/ripley/R/R-devel/bin/exec/R(Rf_eval+0x17b) [0x4d1efb] [bt] (8) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4d74ee] 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: [11:26:20] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment. Stack trace: [bt] (0) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(+0x4e866) [0x7f5c31e4e866] [bt] (1) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(+0x277988) [0x7f5c32077988] [bt] (2) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(XGDMatrixCreateFromDense+0x163) [0x7f5c323770b3] [bt] (3) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(XGDMatrixCreateFromMat_R+0x265) [0x7f5c31e43865] [bt] (4) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4a1a19] [bt] (5) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e6165] [bt] (6) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e3e7b] [bt] (7) /data/gannet/ripley/R/R-devel/bin/exec/R(Rf_eval+0x17b) [0x4d1efb] [bt] (8) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4d74ee] ── Failure ('test-explain_iblm.R:445:3'): test gamma can run ─────────────────── Expected `{ ... }` not to throw any errors. Actually got a <simpleError> with message: [11:26:25] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment. Stack trace: [bt] (0) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(+0x4e866) [0x7f5c31e4e866] [bt] (1) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(+0x277988) [0x7f5c32077988] [bt] (2) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(XGDMatrixCreateFromDense+0x163) [0x7f5c323770b3] [bt] (3) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(XGDMatrixCreateFromMat_R+0x265) [0x7f5c31e43865] [bt] (4) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4a1a19] [bt] (5) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e6165] [bt] (6) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e3e7b] [bt] (7) /data/gannet/ripley/R/R-devel/bin/exec/R(Rf_eval+0x17b) [0x4d1efb] [bt] (8) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4d74ee] ── Failure ('test-explain_iblm.R:475:3'): test tweedie can run ───────────────── Expected `{ ... }` not to throw any errors. Actually got a <simpleError> with message: [11:26:33] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment. Stack trace: [bt] (0) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(+0x4e866) [0x7f5c31e4e866] [bt] (1) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(+0x277988) [0x7f5c32077988] [bt] (2) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(XGDMatrixCreateFromDense+0x163) [0x7f5c323770b3] [bt] (3) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(XGDMatrixCreateFromMat_R+0x265) [0x7f5c31e43865] [bt] (4) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4a1a19] [bt] (5) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e6165] [bt] (6) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e3e7b] [bt] (7) /data/gannet/ripley/R/R-devel/bin/exec/R(Rf_eval+0x17b) [0x4d1efb] [bt] (8) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4d74ee] ── Error ('test-predict.R:32:3'): test corrected beta coeffecient predictions are same as predict iblm() ── Error in `xgboost::xgb.DMatrix(data.matrix(data))`: [11:27:02] src/data/../collective/../data/array_interface.h:422: Check failed: ptr % alignment == 0 (1 vs. 0) : Input pointer misalignment. Stack trace: [bt] (0) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(+0x4e866) [0x7f5c31e4e866] [bt] (1) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(+0x277988) [0x7f5c32077988] [bt] (2) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(XGDMatrixCreateFromDense+0x163) [0x7f5c323770b3] [bt] (3) /data/gannet/ripley/R/test-dev/xgboost/libs/xgboost.so(XGDMatrixCreateFromMat_R+0x265) [0x7f5c31e43865] [bt] (4) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4a1a19] [bt] (5) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e6165] [bt] (6) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4e3e7b] [bt] (7) /data/gannet/ripley/R/R-devel/bin/exec/R(Rf_eval+0x17b) [0x4d1efb] [bt] (8) /data/gannet/ripley/R/R-devel/bin/exec/R() [0x4d74ee] 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 Flavor: r-devel-linux-x86_64-fedora-gcc