The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

CRAN Package Check Results for Package risdr

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

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.0 10.25 124.68 134.93 OK
r-devel-linux-x86_64-debian-gcc 0.4.0 7.50 94.97 102.47 ERROR
r-devel-linux-x86_64-fedora-clang 0.4.0 10.00 111.10 121.10 OK
r-devel-linux-x86_64-fedora-gcc 0.4.0 93.80 OK
r-devel-windows-x86_64 0.4.0 14.00 145.00 159.00 OK
r-patched-linux-x86_64 0.4.0 12.31 116.26 128.57 OK
r-release-linux-x86_64 0.4.0 11.13 115.89 127.02 OK
r-release-macos-arm64 0.4.0 3.00 34.00 37.00 OK
r-release-macos-x86_64 0.4.0 8.00 123.00 131.00 OK
r-release-windows-x86_64 0.4.0 13.00 147.00 160.00 OK
r-oldrel-macos-arm64 0.4.0 3.00 48.00 51.00 OK
r-oldrel-macos-x86_64 0.4.0 7.00 122.00 129.00 OK
r-oldrel-windows-x86_64 0.4.0 19.00 179.00 198.00 OK

Check Details

Version: 0.4.0
Check: examples
Result: ERROR Running examples in ‘risdr-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: fit_risdr_dual > ### Title: Fit dual high-dimensional RISDR > ### Aliases: fit_risdr_dual > > ### ** Examples > > set.seed(2026) > X <- matrix(rnorm(80 * 6), 80) > colnames(X) <- paste0("G", 1:6) > time <- rexp(80, rate = exp(0.5 * X[, 1])) > delta <- rep(c(0L, 1L), 40) > fit <- fit_risdr_dual( + X, time, delta = delta, response_type = "survival", + sdr_method = "sir", cov_method = "oas", nslices = 4, + dual_rank = 4, verbose = FALSE, d_max = 2, lambda_grid = c(0, 0.05) + ) > fit$d [1] 1 > predict(fit, X[1:2, , drop = FALSE], type = "risk") Error in a$specials[[i]] : subscript out of bounds Calls: predict ... <Anonymous> -> predict.coxph -> delete.response -> off Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [7s/9s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(risdr) > > test_check("risdr") Saving _problems/test-thesis-prediction-contracts-10.R Saving _problems/test-thesis-prediction-18.R Saving _problems/test-thesis-prediction-36.R [ FAIL 3 | WARN 0 | SKIP 0 | PASS 477 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-thesis-prediction-contracts.R:10:3'): prediction aliases and rejected types follow each outcome model ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-thesis-prediction-contracts.R:10:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─stats::predict(survival, dat$X) 5. └─risdr:::predict.risdr_sparse(survival, dat$X) 6. ├─stats::predict(...) 7. └─survival:::predict.coxph(...) 8. └─stats::delete.response(Terms) 9. └─stats (local) off(a$specials[[i]]) ── Error ('test-thesis-prediction.R:17:3'): sparse predictions reproduce training scores and downstream Cox risks ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-thesis-prediction.R:17:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(predict(fit, dat$X, type = "risk")) 5. ├─stats::predict(fit, dat$X, type = "risk") 6. └─risdr:::predict.risdr_sparse(fit, dat$X, type = "risk") 7. ├─stats::predict(...) 8. └─survival:::predict.coxph(...) 9. └─stats::delete.response(Terms) 10. └─stats (local) off(a$specials[[i]]) ── Error ('test-thesis-prediction.R:34:3'): dual predictions reproduce selected training coordinates ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-thesis-prediction.R:34:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(predict(fit, dat$X, type = "risk")) 5. ├─stats::predict(fit, dat$X, type = "risk") 6. └─risdr:::predict.risdr_dual(fit, dat$X, type = "risk") 7. ├─stats::predict(...) 8. └─risdr:::predict.risdr_sparse(...) 9. ├─stats::predict(...) 10. └─survival:::predict.coxph(...) 11. └─stats::delete.response(Terms) 12. └─stats (local) off(a$specials[[i]]) [ FAIL 3 | WARN 0 | SKIP 0 | PASS 477 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.4.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘covariance-regularisation.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘covariance-regularisation.Rmd’ --- re-building ‘epi-case-study.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘epi-case-study.Rmd’ --- re-building ‘getting-started.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘getting-started.Rmd’ --- re-building ‘simulation-study.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘simulation-study.Rmd’ --- re-building ‘sparse-survival.Rmd’ using rmarkdown Quitting from sparse-survival.Rmd:129-133 [prediction] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `a$specials[[i]]`: ! subscript out of bounds --- Backtrace: ▆ 1. ├─stats::predict(fit, X[1:2, , drop = FALSE], type = "risk") 2. └─risdr:::predict.risdr_sparse(fit, X[1:2, , drop = FALSE], type = "risk") 3. ├─stats::predict(...) 4. └─survival:::predict.coxph(...) 5. └─stats::delete.response(Terms) 6. └─stats (local) off(a$specials[[i]]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'sparse-survival.Rmd' failed with diagnostics: subscript out of bounds --- failed re-building ‘sparse-survival.Rmd’ --- re-building ‘structural-dimension-selection.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘structural-dimension-selection.Rmd’ SUMMARY: processing the following file failed: ‘sparse-survival.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.