CRAN Package Check Results for Package cforward

Last updated on 2026-10-24 00:52:12 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 1.49 44.53 46.02 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 1.44 25.96 27.40 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.0 30.47 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 33.74 OK
r-devel-windows-x86_64 0.2.0 4.00 66.00 70.00 OK
r-patched-linux-x86_64 0.2.0 2.02 38.95 40.97 OK
r-release-linux-x86_64 0.2.0 1.93 39.97 41.90 OK
r-release-macos-arm64 0.2.0 1.00 15.00 16.00 OK
r-release-macos-x86_64 0.2.0 2.00 45.00 47.00 OK
r-release-windows-x86_64 0.2.0 5.00 60.00 65.00 OK
r-oldrel-macos-arm64 0.2.0 OK
r-oldrel-macos-x86_64 0.2.0 2.00 54.00 56.00 OK
r-oldrel-windows-x86_64 0.2.0 6.00 69.00 75.00 OK

Check Details

Version: 0.2.0
Check: examples
Result: ERROR Running examples in ‘cforward-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: cforward > ### Title: Forward Selection Based on C-Index/Concordance > ### Aliases: cforward cforward_one make_folds > > ### ** Examples > > variables = c("gender", + "age_years_interview", "education_adult") > > res = cforward(nhanes_example, + event_time = "event_time_years", + event_status = "mortstat", + weight_column = "WTMEC4YR_norm", + variables = variables, + included_variables = NULL, + n_folds = 5, + c_threshold = 0.02, + seed = 1989, + max_model_size = 50, + verbose = TRUE) Creating 5 Folds # A tibble: 5 × 2 fold_number n <int> <int> 1 1 731 2 2 730 3 3 731 4 4 729 5 5 732 Error in a$specials[[i]] : subscript out of bounds Calls: cforward ... estimate_concordance -> predict -> predict.coxph -> delete.response -> off Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(cforward) > > test_check("cforward") # A tibble: 5 × 2 fold_number n <int> <int> 1 1 731 2 2 730 3 3 731 4 4 729 5 5 732 Saving _problems/test-nhanes-15.R # A tibble: 10 × 2 fold_number n <int> <int> 1 1 367 2 2 367 3 3 363 4 4 365 5 5 364 6 6 366 7 7 365 8 8 365 9 9 365 10 10 366 # A tibble: 10 × 2 fold_number n <int> <int> 1 1 367 2 2 367 3 3 363 4 4 365 5 5 364 6 6 366 7 7 365 8 8 365 9 9 365 10 10 366 Saving _problems/test-nhanes-95.R # A tibble: 5 × 2 fold_number n <int> <int> 1 1 731 2 2 730 3 3 731 4 4 729 5 5 732 Saving _problems/test-nhanes-126.R # A tibble: 5 × 2 fold_number n <int> <int> 1 1 731 2 2 730 3 3 731 4 4 729 5 5 732 Saving _problems/test-nhanes-146.R Saving _problems/test-wrong_arguments-15.R [ FAIL 5 | WARN 0 | SKIP 0 | PASS 1 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-nhanes.R:6:3'): Example for cforward ─────────────────────────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─cforward::cforward(...) at test-nhanes.R:6:3 2. └─cforward::cforward_one(...) 3. └─cforward::estimate_concordance(...) 4. ├─stats::predict(fit_k, type = "lp", newdata = test) 5. └─survival:::predict.coxph(fit_k, type = "lp", newdata = test) 6. └─stats::delete.response(Terms) 7. └─stats (local) off(a$specials[[i]]) ── Error ('test-nhanes.R:86:7'): Variables and included have overlap ─────────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-nhanes.R:84:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─testthat::expect_message(...) at test-nhanes.R:85:5 7. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 8. │ ├─testthat (local) .capture(...) 9. │ │ └─base::withCallingHandlers(...) 10. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 11. └─cforward::cforward(...) at test-nhanes.R:86:7 12. └─cforward::cforward_one(...) 13. └─cforward::estimate_concordance(...) 14. ├─stats::predict(fit_k, type = "lp", newdata = test) 15. └─survival:::predict.coxph(fit_k, type = "lp", newdata = test) 16. └─stats::delete.response(Terms) 17. └─stats (local) off(a$specials[[i]]) ── Error ('test-nhanes.R:117:3'): Restrict maximum size ──────────────────────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─cforward::cforward(...) at test-nhanes.R:117:3 2. └─cforward::cforward_one(...) 3. └─cforward::estimate_concordance(...) 4. ├─stats::predict(fit_k, type = "lp", newdata = test) 5. └─survival:::predict.coxph(fit_k, type = "lp", newdata = test) 6. └─stats::delete.response(Terms) 7. └─stats (local) off(a$specials[[i]]) ── Error ('test-nhanes.R:135:3'): Restrict c_threshold ───────────────────────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─cforward::cforward(...) at test-nhanes.R:135:3 2. └─cforward::cforward_one(...) 3. └─cforward::estimate_concordance(...) 4. ├─stats::predict(fit_k, type = "lp", newdata = test) 5. └─survival:::predict.coxph(fit_k, type = "lp", newdata = test) 6. └─stats::delete.response(Terms) 7. └─stats (local) off(a$specials[[i]]) ── Error ('test-wrong_arguments.R:6:3'): Passing in weights and data arguments ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─cforward::cforward(...) at test-wrong_arguments.R:6:3 2. └─cforward::cforward_one(...) 3. └─cforward::estimate_concordance(...) 4. ├─stats::predict(fit_k, type = "lp", newdata = test) 5. └─survival:::predict.coxph(fit_k, type = "lp", newdata = test) 6. └─stats::delete.response(Terms) 7. └─stats (local) off(a$specials[[i]]) [ FAIL 5 | WARN 0 | SKIP 0 | PASS 1 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

mirror server hosted at Truenetwork, Russian Federation.