CRAN Package Check Results for Package rpsftm

Last updated on 2026-10-24 12:51:46 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.9 5.95 256.39 262.34 OK
r-devel-linux-x86_64-debian-gcc 1.2.9 5.00 178.56 183.56 ERROR
r-devel-linux-x86_64-fedora-clang 1.2.9 7.00 196.71 203.71 OK
r-devel-linux-x86_64-fedora-gcc 1.2.9 188.20 OK
r-devel-windows-x86_64 1.2.9 9.00 268.00 277.00 OK
r-patched-linux-x86_64 1.2.9 6.09 243.47 249.56 OK
r-release-linux-x86_64 1.2.9 6.57 244.94 251.51 OK
r-release-macos-arm64 1.2.9 2.00 62.00 64.00 OK
r-release-macos-x86_64 1.2.9 5.00 276.00 281.00 OK
r-release-windows-x86_64 1.2.9 8.00 267.00 275.00 OK
r-oldrel-macos-arm64 1.2.9 OK
r-oldrel-macos-x86_64 1.2.9 4.00 250.00 254.00 OK
r-oldrel-windows-x86_64 1.2.9 13.00 348.00 361.00 OK

Check Details

Version: 1.2.9
Check: tests
Result: ERROR Running ‘testthat.R’ [103s/120s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(rpsftm) > > test_check("rpsftm") Saving _problems/test_rpsftm-369.R Saving _problems/test_rpsftm-386.R [ FAIL 2 | WARN 128 | SKIP 0 | PASS 94 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_rpsftm.R:369:11'): survfit ───────────────────────────────────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─testthat::expect_s3_class(survfit(fit_coxph), class = "survfit") at test_rpsftm.R:369:11 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─survival::survfit(fit_coxph) 5. └─rpsftm:::survfit.rpsftm(fit_coxph) 6. ├─survival::survfit(coxfit, ... = ...) 7. └─survival:::survfit.coxph(coxfit, ... = ...) 8. └─survival:::model.matrix.coxph(object, data = mf) 9. └─stats::delete.response(object$terms) 10. └─stats (local) off(a$specials[[i]]) ── Error ('test_rpsftm.R:386:3'): residual ───────────────────────────────────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test_rpsftm.R:386:3 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rpsftm::cox.zph(fit0, transform = "rank") 5. └─survival::cox.zph(fit, ... = ...) 6. └─survival:::coxph.getdata(...) 7. ├─stats::model.matrix(fit, data = mf) 8. └─survival:::model.matrix.coxph(fit, data = mf) 9. └─stats::delete.response(object$terms) 10. └─stats (local) off(a$specials[[i]]) [ FAIL 2 | WARN 128 | SKIP 0 | PASS 94 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc