CRAN Package Check Results for Package shrink

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

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.3 13.70 139.93 153.63 OK
r-devel-linux-x86_64-debian-gcc 1.2.3 10.36 100.24 110.60 ERROR
r-devel-linux-x86_64-fedora-clang 1.2.3 12.00 120.00 132.00 OK
r-devel-linux-x86_64-fedora-gcc 1.2.3 108.10 OK
r-devel-windows-x86_64 1.2.3 17.00 155.00 172.00 OK
r-patched-linux-x86_64 1.2.3 13.08 130.71 143.79 OK
r-release-linux-x86_64 1.2.3 12.86 129.36 142.22 OK
r-release-macos-arm64 1.2.3 4.00 39.00 43.00 OK
r-release-macos-x86_64 1.2.3 10.00 133.00 143.00 OK
r-release-windows-x86_64 1.2.3 15.00 144.00 159.00 OK
r-oldrel-macos-arm64 1.2.3 OK
r-oldrel-macos-x86_64 1.2.3 8.00 122.00 130.00 OK
r-oldrel-windows-x86_64 1.2.3 21.00 180.00 201.00 OK

Check Details

Version: 1.2.3
Check: examples
Result: ERROR Running examples in ‘shrink-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: predict.shrink > ### Title: Predict Method for Objects of Class 'shrink' > ### Aliases: predict.shrink > > ### ** Examples > > data("GBSG") > library("mfp") Loading required package: survival > > fit <- mfp(Surv(rfst, cens) ~ fp(age, df = 4, select = 0.05) + + fp(prm, df = 4, select = 0.05), family = cox, data = GBSG) > > dfbeta.global <- shrink(fit, type = "global", method = "dfbeta") > dfbeta.pw <- shrink(fit, type = "parameterwise", method = "dfbeta") > dfbeta.join <- shrink(fit, type = "parameterwise", method = "dfbeta", + join=list(c("age.1", "age.2"))) > > age <- 30:80 > newdat <- data.frame(age = age, prm = 0) > refdat <- data.frame(age = 50, prm = 0) > > # unshrunken > plot(age, predict(fit, newdata = newdat, type = "lp") - + predict(fit, newdata = refdat, type = "lp"), xlab = "Age", + ylab = "Log hazard relative to 50 years", type = "l", lwd = 2) Error in a$specials[[i]] : subscript out of bounds Calls: plot ... predict.mfp -> <Anonymous> -> delete.response -> off Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.2.3
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘JSSexample.Rmd’ using rmarkdown Quitting from JSSexample.Rmd:280-413 [unnamed-chunk-6] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `a$specials[[i]]`: ! subscript out of bounds --- Backtrace: ▆ 1. ├─graphics::lines(...) 2. ├─graphics::lines.default(...) 3. │ ├─graphics::plot.xy(xy.coords(x, y), type = type, ...) 4. │ └─grDevices::xy.coords(x, y) 5. ├─stats::predict(fitg, newdata = newdat, type = "lp") 6. ├─stats::predict(fitg, newdata = newdat, type = "lp") 7. └─mfp:::predict.mfp(fitg, newdata = newdat, type = "lp") 8. └─getFromNamespace("predict.coxph", "survival")(...) 9. └─stats::delete.response(Terms) 10. └─stats (local) off(a$specials[[i]]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'JSSexample.Rmd' failed with diagnostics: subscript out of bounds --- failed re-building ‘JSSexample.Rmd’ SUMMARY: processing the following file failed: ‘JSSexample.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc