CRAN Package Check Results for Package testflow

Last updated on 2026-10-24 02:56:25 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 12.07 202.44 214.51 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 7.35 135.09 142.44 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.0 10.00 169.70 179.70 OK
r-devel-linux-x86_64-fedora-gcc 1.0.0 149.39 OK
r-devel-windows-x86_64 1.0.0 15.00 333.00 348.00 OK
r-patched-linux-x86_64 1.0.0 11.73 193.04 204.77 OK
r-release-linux-x86_64 1.0.0 10.92 194.14 205.06 OK
r-release-macos-arm64 1.0.0 3.00 47.00 50.00 OK
r-release-macos-x86_64 1.0.0 8.00 211.00 219.00 OK
r-release-windows-x86_64 1.0.0 13.00 318.00 331.00 OK
r-oldrel-macos-arm64 1.0.0 3.00 48.00 51.00 OK
r-oldrel-macos-x86_64 1.0.0 8.00 132.00 140.00 OK
r-oldrel-windows-x86_64 1.0.0 20.00 340.00 360.00 OK

Check Details

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [18s/25s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(testflow) > > test_check("testflow") Note: model has aliased coefficients sums of squares computed by model comparison Saving _problems/test-print-112.R Saving _problems/test-test-survival-50.R Saving _problems/test-test-survival-81.R [ FAIL 3 | WARN 2 | SKIP 0 | PASS 493 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-print.R:112:3'): print.testflow surfaces per-term results tables ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─testflow::test_cox(Surv(time, status) ~ age, data = sd) at test-print.R:112:3 2. └─survival::cox.zph(fit) 3. └─survival:::coxph.getdata(...) 4. ├─stats::model.matrix(fit, data = mf) 5. └─survival:::model.matrix.coxph(fit, data = mf) 6. └─stats::delete.response(object$terms) 7. └─stats (local) off(a$specials[[i]]) ── Error ('test-test-survival.R:50:3'): test_cox matches coxph()/cox.zph() exactly for a multi-predictor model ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─testflow::test_cox(...) at test-test-survival.R:50:3 2. └─survival::cox.zph(fit) 3. └─survival:::coxph.getdata(...) 4. ├─stats::model.matrix(fit, data = mf) 5. └─survival:::model.matrix.coxph(fit, data = mf) 6. └─stats::delete.response(object$terms) 7. └─stats (local) off(a$specials[[i]]) ── Error ('test-test-survival.R:81:3'): test_cox works with a single predictor ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─testflow::test_cox(survival::Surv(time, status) ~ age, data = dat) at test-test-survival.R:81:3 2. └─survival::cox.zph(fit) 3. └─survival:::coxph.getdata(...) 4. ├─stats::model.matrix(fit, data = mf) 5. └─survival:::model.matrix.coxph(fit, data = mf) 6. └─stats::delete.response(object$terms) 7. └─stats (local) off(a$specials[[i]]) [ FAIL 3 | WARN 2 | SKIP 0 | PASS 493 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘getting-started.Rmd’ using rmarkdown --- finished re-building ‘getting-started.Rmd’ --- re-building ‘sample-size-api-reference.Rmd’ using rmarkdown --- finished re-building ‘sample-size-api-reference.Rmd’ --- re-building ‘sample-size-planning.Rmd’ using rmarkdown --- finished re-building ‘sample-size-planning.Rmd’ --- re-building ‘scientific-validation.Rmd’ using rmarkdown --- finished re-building ‘scientific-validation.Rmd’ --- re-building ‘testflow-complete-reference.Rmd’ using rmarkdown Quitting from testflow-complete-reference.Rmd:558-562 [unnamed-chunk-22] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `a$specials[[i]]`: ! subscript out of bounds --- Backtrace: x 1. \-testflow::test_cox(Surv(time, status) ~ age + arm, data = survival_dat) 2. \-survival::cox.zph(fit) 3. \-survival:::coxph.getdata(...) 4. +-stats::model.matrix(fit, data = mf) 5. \-survival:::model.matrix.coxph(fit, data = mf) 6. \-stats::delete.response(object$terms) 7. \-stats (local) off(a$specials[[i]]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'testflow-complete-reference.Rmd' failed with diagnostics: subscript out of bounds --- failed re-building ‘testflow-complete-reference.Rmd’ SUMMARY: processing the following file failed: ‘testflow-complete-reference.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc