CRAN Package Check Results for Package plsRcox

Last updated on 2026-10-24 21:51:43 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.8.2 28.73 250.06 278.79 OK
r-devel-linux-x86_64-debian-gcc 1.8.2 21.55 156.60 178.15 ERROR
r-devel-linux-x86_64-fedora-clang 1.8.2 25.00 186.67 211.67 OK
r-devel-linux-x86_64-fedora-gcc 1.8.2 22.00 158.30 180.30 OK
r-devel-windows-x86_64 1.8.2 37.00 251.00 288.00 OK
r-patched-linux-x86_64 1.8.2 32.70 238.63 271.33 OK
r-release-linux-x86_64 1.8.2 30.37 239.56 269.93 OK
r-release-macos-arm64 1.8.2 8.00 55.00 63.00 OK
r-release-macos-x86_64 1.8.2 22.00 273.00 295.00 OK
r-release-windows-x86_64 1.8.2 34.00 241.00 275.00 OK
r-oldrel-macos-arm64 1.8.2 5.00 ERROR
r-oldrel-macos-x86_64 1.8.2 21.00 189.00 210.00 OK
r-oldrel-windows-x86_64 1.8.2 45.00 316.00 361.00 OK

Check Details

Version: 1.8.2
Check: examples
Result: ERROR Running examples in ‘plsRcox-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: cv.autoplsRcox > ### Title: Cross-validating an autoplsRcox-Model > ### Aliases: cv.autoplsRcox > ### Keywords: models regression > > ### ** Examples > > > data(micro.censure) > data(Xmicro.censure_compl_imp) > set.seed(123456) > X_train_micro <- apply((as.matrix(Xmicro.censure_compl_imp)),FUN="as.numeric",MARGIN=2)[1:80,] > X_train_micro_df <- data.frame(X_train_micro) > Y_train_micro <- micro.censure$survyear[1:80] > C_train_micro <- micro.censure$DC[1:80] > > #Should be run with a higher value of nt (at least 10) > (cv.autoplsRcox.res=cv.autoplsRcox(list(x=X_train_micro,time=Y_train_micro, + status=C_train_micro),nt=3,verbose=FALSE)) Error in a$specials[[i]] : subscript out of bounds Calls: cv.autoplsRcox ... model.matrix -> model.matrix.coxph -> delete.response -> off Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.8.2
Check: tests
Result: ERROR Running ‘testthat.R’ [6s/7s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(plsRcox) > > test_check("plsRcox") Saving _problems/test-predict-coxdrmodels-10.R Saving _problems/test-predict-plsRcoxmodel-7.R Saving _problems/test-predict-plsRcoxmodel-21.R Saving _problems/test-predict-plsRcoxmodel-38.R Saving _problems/test-predict-plsRcoxmodel-65.R [ FAIL 5 | WARN 0 | SKIP 3 | PASS 76 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • {spls} is not installed (3): 'test-behavior-coxsplsDR.R:5:3', 'test-predict-coxdrmodels.R:26:3', 'test-predict-coxdrmodels.R:42:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-predict-coxdrmodels.R:10:3'): coxplsDR allres objects predict from original covariates ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─stats::predict(...) at test-predict-coxdrmodels.R:10:3 2. ├─stats::predict(...) 3. └─survival:::predict.coxph(...) 4. └─stats::delete.response(Terms) 5. └─stats (local) off(a$specials[[i]]) ── Error ('test-predict-plsRcoxmodel.R:7:3'): predict.plsRcoxmodel supports expected predictions on training subsets ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─plsRcox::plsRcox(...) at test-predict-plsRcoxmodel.R:7:3 2. └─plsRcox:::plsRcoxmodel.default(...) 3. ├─base::as.matrix(predict(tempregcox, type = "expected")) 4. ├─stats::predict(tempregcox, type = "expected") 5. ├─stats::predict(tempregcox, type = "expected") 6. └─survival:::predict.coxph(tempregcox, type = "expected") 7. ├─stats::model.matrix(object, data = mf) 8. └─survival:::model.matrix.coxph(object, data = mf) 9. └─stats::delete.response(object$terms) 10. └─stats (local) off(a$specials[[i]]) ── Error ('test-predict-plsRcoxmodel.R:21:3'): predict.plsRcoxmodel matches unnamed training subsets for expected predictions ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─plsRcox::plsRcox(...) at test-predict-plsRcoxmodel.R:21:3 2. └─plsRcox:::plsRcoxmodel.default(...) 3. ├─base::as.matrix(predict(tempregcox, type = "expected")) 4. ├─stats::predict(tempregcox, type = "expected") 5. ├─stats::predict(tempregcox, type = "expected") 6. └─survival:::predict.coxph(tempregcox, type = "expected") 7. ├─stats::model.matrix(object, data = mf) 8. └─survival:::model.matrix.coxph(object, data = mf) 9. └─stats::delete.response(object$terms) 10. └─stats (local) off(a$specials[[i]]) ── Error ('test-predict-plsRcoxmodel.R:38:3'): predict.plsRcoxmodel can use an explicit Surv response for new expected predictions ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─plsRcox::plsRcox(...) at test-predict-plsRcoxmodel.R:38:3 2. └─plsRcox:::plsRcoxmodel.default(...) 3. ├─base::as.matrix(predict(tempregcox, type = "expected")) 4. ├─stats::predict(tempregcox, type = "expected") 5. ├─stats::predict(tempregcox, type = "expected") 6. └─survival:::predict.coxph(tempregcox, type = "expected") 7. ├─stats::model.matrix(object, data = mf) 8. └─survival:::model.matrix.coxph(object, data = mf) 9. └─stats::delete.response(object$terms) 10. └─stats (local) off(a$specials[[i]]) ── Error ('test-predict-plsRcoxmodel.R:65:3'): predict.plsRcoxmodel forwards reference to predict.coxph ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─plsRcox::plsRcox(...) at test-predict-plsRcoxmodel.R:65:3 2. └─plsRcox:::plsRcoxmodel.default(...) 3. ├─base::as.matrix(predict(tempregcox, type = "expected")) 4. ├─stats::predict(tempregcox, type = "expected") 5. ├─stats::predict(tempregcox, type = "expected") 6. └─survival:::predict.coxph(tempregcox, type = "expected") 7. ├─stats::model.matrix(object, data = mf) 8. └─survival:::model.matrix.coxph(object, data = mf) 9. └─stats::delete.response(object$terms) 10. └─stats (local) off(a$specials[[i]]) [ FAIL 5 | WARN 0 | SKIP 3 | PASS 76 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.8.2
Check: package dependencies
Result: ERROR Package required but not available: ‘survcomp’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual. Flavor: r-oldrel-macos-arm64