CRAN Package Check Results for Package polle

Last updated on 2026-10-24 04:51:23 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.6.7 15.09 633.01 648.10 OK
r-devel-linux-x86_64-debian-gcc 1.6.7 10.30 440.83 451.13 ERROR
r-devel-linux-x86_64-fedora-clang 1.6.7 10.00 393.47 403.47 OK
r-devel-linux-x86_64-fedora-gcc 1.6.7 9.00 380.27 389.27 OK
r-devel-windows-x86_64 1.6.7 19.00 553.00 572.00 OK
r-patched-linux-x86_64 1.6.7 15.11 641.63 656.74 OK
r-release-linux-x86_64 1.6.7 12.60 634.93 647.53 OK
r-release-macos-arm64 1.6.7 3.00 132.00 135.00 OK
r-release-macos-x86_64 1.6.7 10.00 1055.00 1065.00 OK
r-release-windows-x86_64 1.6.7 16.00 511.00 527.00 OK
r-oldrel-macos-arm64 1.6.7 4.00 164.00 168.00 OK
r-oldrel-macos-x86_64 1.6.7 10.00 1171.00 1181.00 OK
r-oldrel-windows-x86_64 1.6.7 22.00 727.00 749.00 OK

Check Details

Version: 1.6.7
Check: tests
Result: ERROR Running ‘test-all.R’ [259s/331s] Running the tests in ‘tests/test-all.R’ failed. Complete output: > suppressPackageStartupMessages(library("testthat")) > options(Ncpus = 2) > data.table::setDTthreads(2) > test_check("polle") Loading required package: polle Saving _problems/test-c_cox-77.R Saving _problems/test-policy_eval-censoring-681.R [ FAIL 2 | WARN 0 | SKIP 1 | PASS 1191 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-q_sl.R:63:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-c_cox.R:77:3'): c_cox returns the expected output ────────────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─polle:::predict.c_function(fcf, new_history = his) at test-c_cox.R:77:3 2. ├─stats::predict(c_model, new_H = new_H, new_time = new_time) 3. └─polle:::predict.c_cox(c_model, new_H = new_H, new_time = new_time) 4. └─targeted::cumhaz(...) 5. ├─stats::predict(...) 6. └─mets:::predict.phreg(...) 7. └─mets:::update_design(object$design, data = newdata, response = FALSE) 8. └─mets:::proc_design(...) 9. └─stats::delete.response(tt) 10. └─stats (local) off(a$specials[[i]]) ── Error ('test-policy_eval-censoring.R:675:3'): policy_eval returns the expected c_functions output when using c-models. ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─polle::policy_eval(...) at test-policy_eval-censoring.R:675:3 2. ├─base::do.call(what = policy_eval_type, args = args) 3. └─polle (local) `<fn>`(...) 4. ├─stats::predict(c_functions, valid_policy_data) 5. └─polle:::predict.c_functions(c_functions, valid_policy_data) 6. ├─stats::predict(object[[1]], history) 7. └─polle:::predict.c_function(object[[1]], history) 8. ├─stats::predict(c_model, new_H = new_H, new_time = new_time) 9. └─polle:::predict.c_cox(c_model, new_H = new_H, new_time = new_time) 10. └─targeted::cumhaz(...) 11. ├─stats::predict(...) 12. └─mets:::predict.phreg(...) 13. └─mets:::update_design(object$design, data = newdata, response = FALSE) 14. └─mets:::proc_design(...) 15. └─stats::delete.response(tt) 16. └─stats (local) off(a$specials[[i]]) [ FAIL 2 | WARN 0 | SKIP 1 | PASS 1191 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.6.7
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘optimal_subgroup.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘optimal_subgroup.Rmd’ --- re-building ‘policy_data.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘policy_data.Rmd’ --- re-building ‘policy_eval.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘policy_eval.Rmd’ --- re-building ‘policy_learn.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘policy_learn.Rmd’ --- re-building ‘right_censoring.Rmd’ using rmarkdown Quitting from right_censoring.Rmd:214-225 [pe] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `a$specials[[i]]`: ! subscript out of bounds --- Backtrace: ▆ 1. └─polle::policy_eval(...) 2. ├─base::do.call(what = policy_eval_type, args = args) 3. └─polle (local) `<fn>`(...) 4. ├─stats::predict(c_functions, valid_policy_data) 5. └─polle:::predict.c_functions(c_functions, valid_policy_data) 6. └─base::mapply(...) 7. └─polle (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]]) 8. ├─stats::predict(f, h) 9. └─polle:::predict.c_function(f, h) 10. ├─stats::predict(c_model, new_H = new_H, new_time = new_time) 11. └─polle:::predict.c_cox(c_model, new_H = new_H, new_time = new_time) 12. └─targeted::cumhaz(...) 13. ├─stats::predict(...) 14. └─mets:::predict.phreg(...) 15. └─mets:::update_design(object$design, data = newdata, response = FALSE) 16. └─mets:::proc_design(...) 17. └─stats::delete.response(tt) 18. └─stats (local) off(a$specials[[i]]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'right_censoring.Rmd' failed with diagnostics: subscript out of bounds --- failed re-building ‘right_censoring.Rmd’ SUMMARY: processing the following file failed: ‘right_censoring.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc