CRAN Package Check Results for Package cox.rvph

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

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.1 5.75 67.63 73.38 OK
r-devel-linux-x86_64-debian-gcc 0.2.1 4.54 47.98 52.52 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.1 50.37 OK
r-devel-linux-x86_64-fedora-gcc 0.2.1 5.00 53.27 58.27 OK
r-devel-windows-x86_64 0.2.1 8.00 83.00 91.00 OK
r-patched-linux-x86_64 0.2.1 5.48 60.95 66.43 OK
r-release-linux-x86_64 0.2.1 6.07 61.67 67.74 OK
r-release-macos-arm64 0.2.1 2.00 23.00 25.00 OK
r-release-macos-x86_64 0.2.1 5.00 78.00 83.00 OK
r-release-windows-x86_64 0.2.1 7.00 74.00 81.00 OK
r-oldrel-macos-arm64 0.2.1 2.00 26.00 28.00 OK
r-oldrel-macos-x86_64 0.2.1 5.00 90.00 95.00 OK
r-oldrel-windows-x86_64 0.2.1 9.00 90.00 99.00 OK

Check Details

Version: 0.2.1
Check: examples
Result: ERROR Running examples in ‘cox.rvph-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: cox.rvph > ### Title: Remedy for Violations of the Proportional Hazards Assumption in > ### Cox Proportional Hazards Models > ### Aliases: cox.rvph > > ### ** Examples > > if (requireNamespace("KMsurv", quietly = TRUE)) { + data(psych, package = "KMsurv") + + psych$sex <- factor(psych$sex) + + fit_step <- cox.rvph( + data = psych, + time = "time", + event = "death", + covariate = "age", + adjust_vars = "sex", + method = "step" + ) + + print(fit_step) + summary(fit_step) + } ------------------------------------------- Current K = 2 (number of segments) in progress... Error in a$specials[[i]] : subscript out of bounds Calls: cox.rvph ... model.matrix -> model.matrix.coxph -> delete.response -> off Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/3s] 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(cox.rvph) > > test_check("cox.rvph") Saving _problems/test-cox-rvph-108.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 11 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-cox-rvph.R:100:3'): step method returns a cox.rvph object ────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─cox.rvph::cox.rvph(...) at test-cox-rvph.R:100:3 2. └─survival::cox.zph(fit.current) 3. └─survival:::coxph.getdata(...) 4. ├─stats::model.matrix(fit, data = mf) 5. └─survival:::model.matrix.coxph(fit, data = mf) 6. └─stats::delete.response(object$terms) 7. └─stats (local) off(a$specials[[i]]) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 11 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘cox-rvph.Rmd’ using rmarkdown Quitting from cox-rvph.Rmd:39-58 [step-example] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `a$specials[[i]]`: ! subscript out of bounds --- Backtrace: ▆ 1. └─cox.rvph::cox.rvph(...) 2. └─survival::cox.zph(fit.current) 3. └─survival:::coxph.getdata(...) 4. ├─stats::model.matrix(fit, data = mf) 5. └─survival:::model.matrix.coxph(fit, data = mf) 6. └─stats::delete.response(object$terms) 7. └─stats (local) off(a$specials[[i]]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'cox-rvph.Rmd' failed with diagnostics: subscript out of bounds --- failed re-building ‘cox-rvph.Rmd’ SUMMARY: processing the following file failed: ‘cox-rvph.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc