CRAN Package Check Results for Package CoxAalenCR

Last updated on 2026-10-24 00:52:12 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 7.14 78.54 85.68 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 5.21 53.47 58.68 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 58.69 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 62.52 OK
r-devel-windows-x86_64 0.1.0 9.00 93.00 102.00 OK
r-patched-linux-x86_64 0.1.0 8.56 71.88 80.44 OK
r-release-linux-x86_64 0.1.0 7.36 72.90 80.26 OK
r-release-macos-arm64 0.1.0 2.00 25.00 27.00 OK
r-release-macos-x86_64 0.1.0 6.00 138.00 144.00 OK
r-release-windows-x86_64 0.1.0 9.00 89.00 98.00 OK
r-oldrel-macos-arm64 0.1.0 2.00 28.00 30.00 OK
r-oldrel-macos-x86_64 0.1.0 5.00 122.00 127.00 OK
r-oldrel-windows-x86_64 0.1.0 11.00 107.00 118.00 OK

Check Details

Version: 0.1.0
Check: examples
Result: ERROR Running examples in ‘CoxAalenCR-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: cif_predict > ### Title: Predict Cumulative Incidence Functions for Cox-Aalen Model > ### Aliases: cif_predict > > ### ** Examples > > set.seed(123) > dat <- simulate_coxaalen(n = 60, p = 0.3, censoring = "cox", cens_rate = 0.20) > fit <- cox_aalen_fit( + time = dat$time, + status = dat$status, + X = cbind(Intercept = 1, X = dat$X), + Z = matrix(dat$Z, ncol = 1, dimnames = list(NULL, "Z")), + W = dat$W + ) Error in a$specials[[i]] : subscript out of bounds Calls: cox_aalen_fit ... survfit.coxph -> model.matrix.coxph -> delete.response -> off Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(CoxAalenCR) > > test_check("CoxAalenCR") Saving _problems/test-coxaalen-11.R Saving _problems/test-coxaalen-38.R Saving _problems/test-coxaalen-121.R [ FAIL 3 | WARN 0 | SKIP 0 | PASS 33 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-coxaalen.R:11:3'): km_weights and cox_weights return valid structures ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─CoxAalenCR::cox_weights(dat$time, dat$status, dat$W) at test-coxaalen.R:11:3 2. └─survival::basehaz(cox_fit, centered = FALSE) 3. ├─survival::survfit(fit, se.fit = FALSE) 4. └─survival:::survfit.coxph(fit, se.fit = FALSE) 5. └─survival:::model.matrix.coxph(object, data = mf) 6. └─stats::delete.response(object$terms) 7. └─stats (local) off(a$specials[[i]]) ── Error ('test-coxaalen.R:33:3'): cox_aalen_fit and formula interface work accurately ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─CoxAalenCR::cox_aalen(...) at test-coxaalen.R:33:3 2. └─CoxAalenCR::cox_aalen_fit(...) 3. └─CoxAalenCR::cox_weights(time, status, W_mat) 4. └─survival::basehaz(cox_fit, centered = FALSE) 5. ├─survival::survfit(fit, se.fit = FALSE) 6. └─survival:::survfit.coxph(fit, se.fit = FALSE) 7. └─survival:::model.matrix.coxph(object, data = mf) 8. └─stats::delete.response(object$terms) 9. └─stats (local) off(a$specials[[i]]) ── Error ('test-coxaalen.R:116:3'): tamoxifen dataset is loaded and fits model ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─CoxAalenCR::cox_aalen(...) at test-coxaalen.R:116:3 2. └─CoxAalenCR::cox_aalen_fit(...) 3. └─CoxAalenCR::cox_weights(time, status, W_mat) 4. └─survival::basehaz(cox_fit, centered = FALSE) 5. ├─survival::survfit(fit, se.fit = FALSE) 6. └─survival:::survfit.coxph(fit, se.fit = FALSE) 7. └─survival:::model.matrix.coxph(object, data = mf) 8. └─stats::delete.response(object$terms) 9. └─stats (local) off(a$specials[[i]]) [ FAIL 3 | WARN 0 | SKIP 0 | PASS 33 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘CoxAalenCR-intro.Rmd’ using rmarkdown Quitting from CoxAalenCR-intro.Rmd:71-79 [unnamed-chunk-2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `a$specials[[i]]`: ! subscript out of bounds --- Backtrace: ▆ 1. └─CoxAalenCR::cox_aalen(...) 2. └─CoxAalenCR::cox_aalen_fit(...) 3. └─CoxAalenCR::cox_weights(time, status, W_mat) 4. └─survival::basehaz(cox_fit, centered = FALSE) 5. ├─survival::survfit(fit, se.fit = FALSE) 6. └─survival:::survfit.coxph(fit, se.fit = FALSE) 7. └─survival:::model.matrix.coxph(object, data = mf) 8. └─stats::delete.response(object$terms) 9. └─stats (local) off(a$specials[[i]]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'CoxAalenCR-intro.Rmd' failed with diagnostics: subscript out of bounds --- failed re-building ‘CoxAalenCR-intro.Rmd’ SUMMARY: processing the following file failed: ‘CoxAalenCR-intro.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc