CRAN Package Check Results for Package rpsurv

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

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7.1 15.31 64.55 79.86 OK
r-devel-linux-x86_64-debian-gcc 0.7.1 11.43 47.98 59.41 ERROR
r-devel-linux-x86_64-fedora-clang 0.7.1 14.00 70.09 84.09 OK
r-devel-linux-x86_64-fedora-gcc 0.7.1 12.00 51.64 63.64 OK
r-devel-windows-x86_64 0.7.1 26.00 205.00 231.00 OK
r-patched-linux-x86_64 0.7.1 16.09 52.47 68.56 OK
r-release-linux-x86_64 0.7.1 14.75 53.03 67.78 OK
r-release-macos-arm64 0.7.1 5.00 26.00 31.00 OK
r-release-macos-x86_64 0.7.1 12.00 74.00 86.00 OK
r-release-windows-x86_64 0.7.1 24.00 125.00 149.00 OK
r-oldrel-macos-arm64 0.7.1 4.00 26.00 30.00 OK
r-oldrel-macos-x86_64 0.7.1 13.00 75.00 88.00 OK
r-oldrel-windows-x86_64 0.7.1 30.00 137.00 167.00 OK

Check Details

Version: 0.7.1
Check: tests
Result: ERROR Running ‘testthat.R’ [5s/8s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(rpsurv) > > test_check("rpsurv") Saving _problems/test-rpsurv-23.R Saving _problems/test-rpsurv-35.R Saving _problems/test-rpsurv-224.R [ FAIL 3 | WARN 0 | SKIP 1 | PASS 39 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-rpsurv.R:108:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-rpsurv.R:23:3'): PH scale matches rstpm2::stpm2 coefficients and log-likelihood ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─rstpm2::stpm2(...) at test-rpsurv.R:23:3 2. └─base::eval(m, data, parent.frame()) 3. └─base::eval(m, data, parent.frame()) 4. └─rstpm2::gsm(...) 5. ├─link$link(...) 6. │ └─base::as.vector(S) 7. ├─base::pmin(...) 8. ├─base::pmax(...) 9. └─rstpm2:::Shat(coxph.obj, data, control$old.init) 10. ├─base::suppressWarnings(survfit(obj, se.fit = FALSE)) 11. │ └─base::withCallingHandlers(...) 12. ├─survival::survfit(obj, se.fit = FALSE) 13. └─survival:::survfit.coxph(obj, se.fit = FALSE) 14. └─survival:::model.matrix.coxph(object, data = mf) 15. └─stats::delete.response(object$terms) 16. └─stats (local) off(a$specials[[i]]) ── Error ('test-rpsurv.R:35:3'): PO and probit scales match rstpm2::stpm2 ────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─rstpm2::stpm2(...) at test-rpsurv.R:35:3 2. └─base::eval(m, data, parent.frame()) 3. └─base::eval(m, data, parent.frame()) 4. └─rstpm2::gsm(...) 5. ├─link$link(...) 6. │ ├─rstpm2:::logit(as.vector(S)) 7. │ │ └─base::ifelse(p == 0, -Inf, ifelse(p == 1, Inf, log(p/(1 - p)))) 8. │ └─base::as.vector(S) 9. ├─base::pmin(...) 10. ├─base::pmax(...) 11. └─rstpm2:::Shat(coxph.obj, data, control$old.init) 12. ├─base::suppressWarnings(survfit(obj, se.fit = FALSE)) 13. │ └─base::withCallingHandlers(...) 14. ├─survival::survfit(obj, se.fit = FALSE) 15. └─survival:::survfit.coxph(obj, se.fit = FALSE) 16. └─survival:::model.matrix.coxph(object, data = mf) 17. └─stats::delete.response(object$terms) 18. └─stats (local) off(a$specials[[i]]) ── Error ('test-rpsurv.R:224:3'): left truncation (counting-process) matches rstpm2::stpm2 ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─rstpm2::stpm2(...) at test-rpsurv.R:224:3 2. └─base::eval(m, data, parent.frame()) 3. └─base::eval(m, data, parent.frame()) 4. └─rstpm2::gsm(...) 5. ├─link$link(...) 6. │ └─base::as.vector(S) 7. ├─base::pmin(...) 8. ├─base::pmax(...) 9. └─rstpm2:::Shat(coxph.obj, data, control$old.init) 10. ├─base::suppressWarnings(survfit(obj, se.fit = FALSE)) 11. │ └─base::withCallingHandlers(...) 12. ├─survival::survfit(obj, se.fit = FALSE) 13. └─survival:::survfit.coxph(obj, se.fit = FALSE) 14. └─survival:::model.matrix.coxph(object, data = mf) 15. └─stats::delete.response(object$terms) 16. └─stats (local) off(a$specials[[i]]) [ FAIL 3 | WARN 0 | SKIP 1 | PASS 39 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.7.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘rpsurv.Rmd’ using rmarkdown Quitting from rpsurv.Rmd:281-289 [validation] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `a$specials[[i]]`: ! subscript out of bounds --- Backtrace: x 1. \-rstpm2::stpm2(...) 2. \-base::eval(m, data, parent.frame()) 3. \-base::eval(m, data, parent.frame()) 4. \-rstpm2::gsm(...) 5. +-link$link(...) 6. | \-base::as.vector(S) 7. +-base::pmin(...) 8. +-base::pmax(...) 9. \-rstpm2:::Shat(coxph.obj, data, control$old.init) 10. +-base::suppressWarnings(survfit(obj, se.fit = FALSE)) 11. | \-base::withCallingHandlers(...) 12. +-survival::survfit(obj, se.fit = FALSE) 13. \-survival:::survfit.coxph(obj, se.fit = FALSE) 14. \-survival:::model.matrix.coxph(object, data = mf) 15. \-stats::delete.response(object$terms) 16. \-stats (local) off(a$specials[[i]]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'rpsurv.Rmd' failed with diagnostics: subscript out of bounds --- failed re-building ‘rpsurv.Rmd’ SUMMARY: processing the following file failed: ‘rpsurv.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc