CRAN Package Check Results for Package simPH

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

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.15 15.22 141.85 157.07 NOTE
r-devel-linux-x86_64-debian-gcc 1.3.15 11.07 94.97 106.04 ERROR
r-devel-linux-x86_64-fedora-clang 1.3.15 13.00 120.39 133.39 NOTE
r-devel-linux-x86_64-fedora-gcc 1.3.15 10.00 91.28 101.28 NOTE
r-devel-windows-x86_64 1.3.15 17.00 150.00 167.00 NOTE
r-patched-linux-x86_64 1.3.15 14.34 132.23 146.57 OK
r-release-linux-x86_64 1.3.15 13.47 134.59 148.06 OK
r-release-macos-arm64 1.3.15 3.00 34.00 37.00 OK
r-release-macos-x86_64 1.3.15 10.00 160.00 170.00 OK
r-release-windows-x86_64 1.3.15 18.00 142.00 160.00 OK
r-oldrel-macos-arm64 1.3.15 3.00 34.00 37.00 OK
r-oldrel-macos-x86_64 1.3.15 10.00 181.00 191.00 OK
r-oldrel-windows-x86_64 1.3.15 20.00 178.00 198.00 OK

Check Details

Version: 1.3.15
Check: dependencies in R code
Result: NOTE Base package in Suggests/Enhances imported in NAMESPACE: ‘stats’ 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: 1.3.15
Check: examples
Result: ERROR Running examples in ‘simPH-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: coxsimSpline > ### Title: Simulate quantities of interest for penalized splines from Cox > ### Proportional Hazards models > ### Aliases: coxsimSpline > > ### ** Examples > > # Load Carpenter (2002) data > data("CarpenterFdaData") > > # Load survival package > library(survival) > > # Run basic model > # From Keele (2010) replication data > M1 <- coxph(Surv(acttime, censor) ~ prevgenx + lethal + deathrt1 + + acutediz + hosp01 + pspline(hospdisc, df = 4) + + pspline(hhosleng, df = 4) + mandiz01 + femdiz01 + peddiz01 + + orphdum + natreg + vandavg3 + wpnoavg3 + + pspline(condavg3, df = 4) + pspline(orderent, df = 4) + + pspline(stafcder, df = 4), data = CarpenterFdaData) > > ## Not run: > ##D # Simulate Relative Hazards for orderent > ##D Sim1 <- coxsimSpline(M1, bspline = "pspline(stafcder, df = 4)", > ##D bdata = CarpenterFdaData$stafcder, > ##D qi = "Hazard Ratio", > ##D Xj = seq(1100, 1700, by = 10), > ##D Xl = seq(1099, 1699, by = 10), spin = TRUE) > ##D > ## End(Not run) > # Simulate Hazard Rates for orderent > Sim2 <- coxsimSpline(M1, bspline = "pspline(orderent, df = 4)", + bdata = CarpenterFdaData$orderent, + qi = "Hazard Rate", + Xj = seq(2, 53, by = 3), nsim = 100) Warning: finding Hazard Rates for spline models with 100 simulations per fitted value may take awhile. Consider decreasing the number of simulations with nsim. Xl is ignored. All variables' values other than b fitted at 0. Error in a$specials[[i]] : subscript out of bounds Calls: coxsimSpline ... survfit.coxph -> model.matrix.coxph -> delete.response -> off Execution halted Flavor: r-devel-linux-x86_64-debian-gcc