CRAN Package Check Results for Package R4VN

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

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.6 74.07 549.28 623.35 OK
r-devel-linux-x86_64-debian-gcc 1.6 46.56 349.50 396.06 ERROR
r-devel-linux-x86_64-fedora-clang 1.6 53.00 348.65 401.65 OK
r-devel-linux-x86_64-fedora-gcc 1.6 53.00 336.95 389.95 OK
r-devel-windows-x86_64 1.6 76.00 457.00 533.00 OK
r-patched-linux-x86_64 1.6 71.13 531.31 602.44 OK
r-release-linux-x86_64 1.6 77.60 514.59 592.19 OK
r-release-macos-arm64 1.6 17.00 106.00 123.00 OK
r-release-macos-x86_64 1.6 53.00 494.00 547.00 OK
r-release-windows-x86_64 1.6 76.00 456.00 532.00 OK
r-oldrel-macos-arm64 1.6 17.00 137.00 154.00 OK
r-oldrel-macos-x86_64 1.6 51.00 490.00 541.00 OK
r-oldrel-windows-x86_64 1.6 104.00 638.00 742.00 OK

Check Details

Version: 1.6
Check: tests
Result: ERROR Running ‘testthat.R’ [127s/167s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(R4VN) Attaching package: 'R4VN' The following object is masked from 'package:testthat': describe The following objects are masked from 'package:stats': anova, poisson, predict > test_check("R4VN") Active data: d (8 observations, 3 variables) [linked] Active data: d (8 observations, 4 variables) [linked] Saving _problems/test-r4vn-1-4-1-upgrade-330.R Loading required namespace: Rcsdp Failed with error: 'there is no package called 'Rcsdp'' Loading required namespace: Rcsdp Failed with error: 'there is no package called 'Rcsdp'' Loading required namespace: Rcsdp Failed with error: 'there is no package called 'Rcsdp'' Loading required namespace: Rcsdp Failed with error: 'there is no package called 'Rcsdp'' Loading required namespace: Rcsdp Failed with error: 'there is no package called 'Rcsdp'' Loading required namespace: Rcsdp Failed with error: 'there is no package called 'Rcsdp'' Loading required namespace: Rcsdp Failed with error: 'there is no package called 'Rcsdp'' Loading required namespace: Rcsdp Failed with error: 'there is no package called 'Rcsdp'' Loading required namespace: Rcsdp Failed with error: 'there is no package called 'Rcsdp'' Loading required namespace: Rcsdp Failed with error: 'there is no package called 'Rcsdp'' Loading required namespace: Rcsdp Failed with error: 'there is no package called 'Rcsdp'' Loading required namespace: Rcsdp Failed with error: 'there is no package called 'Rcsdp'' Loading required namespace: Rcsdp Failed with error: 'there is no package called 'Rcsdp'' Loading required namespace: Rcsdp Failed with error: 'there is no package called 'Rcsdp'' Loading required namespace: Rcsdp Failed with error: 'there is no package called 'Rcsdp'' Loading required namespace: Rcsdp Failed with error: 'there is no package called 'Rcsdp'' Saving _problems/test-tabscore-131.R Saving _problems/test-tabscore-291.R [ FAIL 3 | WARN 8 | SKIP 3 | PASS 1627 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • dependency-free fallback is only used when forecast is unavailable (1): 'test-tabts-fallback.R:2:3' • dependency-light automatic fallback is only used when forecast is unavailable (1): 'test-tabts-fallback.R:35:3' • empty test (1): 'test-tabmachine.R:108:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-r4vn-1-4-1-upgrade.R:330:3'): Cox models become active for margins and prediction ── Error: Predictions could not be calculated for a margins scenario. Backtrace: ▆ 1. └─R4VN::margins(...) at test-r4vn-1-4-1-upgrade.R:330:3 2. └─R4VN:::.r4vn_margin_one(...) ── Error ('test-tabscore.R:129:3'): Cox scorecard produces time-specific risk ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─R4VN::tabscore(...) at test-tabscore.R:129:3 2. └─R4VN:::.r4vn_score_effect_dictionary(...) 3. └─R4VN:::.r4vn_score_predict_lp(fit, newdata = ref) 4. ├─base::do.call(stats::predict, args) 5. ├─stats (local) `<fn>`(object = `<coxph>`, type = "lp", reference = "zero", newdata = `<df[,2]>`) 6. └─survival:::predict.coxph(...) 7. └─stats::delete.response(Terms) 8. └─stats (local) off(a$specials[[i]]) ── Error ('test-tabscore.R:288:3'): Cox riskonly reorients protective HRs to HR >= 1 ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─R4VN::tabscore(...) at test-tabscore.R:288:3 2. └─R4VN:::.r4vn_score_effect_dictionary(...) 3. └─R4VN:::.r4vn_score_predict_lp(fit, newdata = ref) 4. ├─base::do.call(stats::predict, args) 5. ├─stats (local) `<fn>`(object = `<coxph>`, type = "lp", reference = "zero", newdata = `<df[,1]>`) 6. └─survival:::predict.coxph(...) 7. └─stats::delete.response(Terms) 8. └─stats (local) off(a$specials[[i]]) [ FAIL 3 | WARN 8 | SKIP 3 | PASS 1627 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc