CRAN Package Check Results for Package hal9001

Last updated on 2026-10-24 15:51:31 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.6 39.10 763.46 802.56 WARN
r-devel-linux-x86_64-debian-gcc 0.4.6 32.30 481.17 513.47 ERROR
r-devel-linux-x86_64-fedora-clang 0.4.6 31.00 506.58 537.58 WARN
r-devel-linux-x86_64-fedora-gcc 0.4.6 35.00 510.92 545.92 ERROR
r-devel-windows-x86_64 0.4.6 51.00 822.00 873.00 WARN
r-patched-linux-x86_64 0.4.6 44.62 739.87 784.49 WARN
r-release-linux-x86_64 0.4.6 42.07 737.15 779.22 WARN
r-release-macos-arm64 0.4.6 9.00 176.00 185.00 OK
r-release-macos-x86_64 0.4.6 25.00 912.00 937.00 OK
r-release-windows-x86_64 0.4.6 47.00 712.00 759.00 WARN
r-oldrel-macos-arm64 0.4.6 OK
r-oldrel-macos-x86_64 0.4.6 23.00 837.00 860.00 OK
r-oldrel-windows-x86_64 0.4.6 61.00 1023.00 1084.00 WARN

Additional issues

M1mac

Check Details

Version: 0.4.6
Check: for unstated dependencies in ‘tests’
Result: WARN '::' or ':::' import not declared from: ‘hal’ 'library' or 'require' call not declared from: ‘hal’ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 0.4.6
Check: tests
Result: ERROR Running ‘testthat.R’ [389s/493s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(methods) > library(data.table) Attaching package: 'data.table' The following object is masked from 'package:base': %notin% > library(microbenchmark) > library(glmnet) Loading required package: Matrix Loaded glmnet 5.1 > library(SuperLearner) Loading required package: gam Loading required package: splines Loading required package: foreach Loaded gam 1.22-7 Loading required package: nnls Super Learner Version: 2.0-42 Package created on 2026-09-14 > library(hal9001) Loading required package: Rcpp hal9001 v0.4.6: The Scalable Highly Adaptive Lasso note: fit_hal defaults have changed. See ?fit_hal for details > > test_check("hal9001") Saving _problems/test-hal_hazards-18.R [ FAIL 1 | WARN 2 | SKIP 5 | PASS 75 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • empty test (5): , , , , ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-hal_hazards.R:18:1'): (code run outside of `test_that()`) ────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─survival::basehaz(cph, centered = FALSE) at test-hal_hazards.R:18:1 2. ├─survival::survfit(fit, se.fit = FALSE) 3. └─survival:::survfit.coxph(fit, se.fit = FALSE) 4. └─survival:::model.matrix.coxph(object, data = mf) 5. └─stats::delete.response(object$terms) 6. └─stats (local) off(a$specials[[i]]) [ FAIL 1 | WARN 2 | SKIP 5 | PASS 75 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.4.6
Check: tests
Result: ERROR Running ‘testthat.R’ [7m/11m] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(methods) > library(data.table) Attaching package: 'data.table' The following object is masked from 'package:base': %notin% > library(microbenchmark) > library(glmnet) Loading required package: Matrix Loaded glmnet 5.1 > library(SuperLearner) Loading required package: gam Loading required package: splines Loading required package: foreach Loaded gam 1.22-7 Loading required package: nnls Super Learner Version: 2.0-42 Package created on 2026-09-14 > library(hal9001) Loading required package: Rcpp hal9001 v0.4.6: The Scalable Highly Adaptive Lasso note: fit_hal defaults have changed. See ?fit_hal for details > > test_check("hal9001") Saving _problems/test-basis-17.R Saving _problems/test-hal_comparison-25.R Saving _problems/test-stat_performance-52.R [ FAIL 3 | WARN 14 | SKIP 4 | PASS 72 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • empty test (4): , , , ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-basis.R:17:5'): (code run outside of `test_that()`) ──────────── <objectNotFoundError/error/condition> Error in `basis_test(x_mat_1)`: object 'makeSparseMat' not found Backtrace: ▆ 1. └─hal9001 (local) basis_test(x_mat_1) at test-basis.R:40:3 ── Error ('test-hal_comparison.R:25:3'): (code run outside of `test_that()`) ─── Error in `hal::hal(Y = y, X = x, verbose = FALSE)`: All arguments to `hal()` must be character strings. Backtrace: ▆ 1. └─hal::hal(Y = y, X = x, verbose = FALSE) at test-hal_comparison.R:25:3 2. └─cli::cli_abort("All arguments to {.fn hal} must be character strings.") 3. └─rlang::abort(...) ── Error ('test-stat_performance.R:52:3'): (code run outside of `test_that()`) ── Error in `hal(Y = Y, newX = testX, X = X, verbose = FALSE, parallel = FALSE)`: All arguments to `hal()` must be character strings. Backtrace: ▆ 1. └─hal::hal(Y = Y, newX = testX, X = X, verbose = FALSE, parallel = FALSE) at test-stat_performance.R:52:3 2. └─cli::cli_abort("All arguments to {.fn hal} must be character strings.") 3. └─rlang::abort(...) [ FAIL 3 | WARN 14 | SKIP 4 | PASS 72 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.4.6
Check: for unstated dependencies in ‘tests’
Result: WARN '::' or ':::' import not declared from: ‘hal’ 'library' or 'require' call not declared from: ‘hal’ Flavors: r-patched-linux-x86_64, r-release-linux-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64