CRAN Package Check Results for Package elo

Last updated on 2026-10-24 20:50:55 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.0.2 36.98 60.67 97.65 NOTE
r-devel-linux-x86_64-debian-gcc 3.0.2 27.64 44.58 72.22 ERROR
r-devel-linux-x86_64-fedora-clang 3.0.2 28.00 41.55 69.55 NOTE
r-devel-linux-x86_64-fedora-gcc 3.0.2 33.00 48.49 81.49 NOTE
r-devel-windows-x86_64 3.0.2 40.00 161.00 201.00 NOTE
r-patched-linux-x86_64 3.0.2 36.40 50.40 86.80 NOTE
r-release-linux-x86_64 3.0.2 35.99 50.84 86.83 NOTE
r-release-macos-arm64 3.0.2 8.00 15.00 23.00 NOTE
r-release-macos-x86_64 3.0.2 22.00 62.00 84.00 NOTE
r-release-windows-x86_64 3.0.2 41.00 93.00 134.00 NOTE
r-oldrel-macos-arm64 3.0.2 NOTE
r-oldrel-macos-x86_64 3.0.2 20.00 56.00 76.00 NOTE
r-oldrel-windows-x86_64 3.0.2 51.00 96.00 147.00 NOTE

Check Details

Version: 3.0.2
Check: Rd files
Result: NOTE checkRd: (-1) elo.run.Rd:80: Lost braces 80 | \code{\link{score}}, \link{elo.run.helpers}{elo.run helpers}, \code{\link{elo.calc}}, | ^ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 3.0.2
Check: examples
Result: ERROR Running examples in ‘elo-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: predict.elo > ### Title: Make Predictions on an 'elo' Object > ### Aliases: predict.elo predict.elo.run predict.elo.run.regressed > ### predict.elo.run.multiteam predict.elo.glm predict.elo.running > ### predict.elo.markovchain predict.elo.colley predict.elo.winpct > > ### ** Examples > > data(tournament) > t1 <- head(tournament, -3) > t2 <- tail(tournament, 3) > results <- elo.run(score(points.Home, points.Visitor) ~ team.Home + team.Visitor, + data = t1, k = 20) > predict(results) [1] 0.5000000 0.5000000 0.5000000 0.5000000 0.4712494 0.5287506 0.5287506 [8] 0.4712494 0.5000000 0.5000000 0.5000000 0.5000000 0.5016550 0.4983450 [15] 0.4983450 0.5016550 0.5000000 0.5000000 0.5000000 0.5000000 0.5287506 [22] 0.5714631 0.4569335 0.5287506 0.5560040 0.5671044 0.5132404 0.5307154 [29] 0.5684153 0.5420635 0.4743640 0.4993501 0.5009797 0.4758315 0.4622916 [36] 0.5432464 0.4370737 0.5976816 0.5006344 0.4758579 0.5219654 0.3722182 [43] 0.4871266 0.4069742 0.4370169 0.5182687 0.3844961 0.4879447 0.5095624 [50] 0.3897233 0.5470091 0.4200704 0.3970499 > predict(results, newdata = t2) Error in a$specials[[i]] : subscript out of bounds Calls: predict ... clean_elo_formula -> <Anonymous> -> <Anonymous> -> off Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 3.0.2
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(elo) > > test_check("elo") Saving _problems/test_elo.glm-27.R Saving _problems/test_elo.glm-52.R Saving _problems/test_elo.glm-53.R Saving _problems/test_elo.glm-58.R Saving _problems/test_elo.markovchain-25.R Saving _problems/test_elo.markovchain-30.R Saving _problems/test_elo.markovchain-33.R Saving _problems/test_elo.markovchain-43.R Saving _problems/test_elo.run-75.R Saving _problems/test_elo.run_regress_group-108.R Saving _problems/test_elo.team-104.R [ FAIL 11 | WARN 0 | SKIP 0 | PASS 183 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_elo.glm.R:27:3'): elo.glm(running=TRUE) works ────────────────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test_elo.glm.R:27:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─stats::predict(tmp.glm, newdata = head(trn, 2)) 5. └─elo:::predict.elo.glm(tmp.glm, newdata = head(trn, 2)) 6. └─elo:::clean_elo_formula(object$elo.terms, drop.neutral = FALSE) 7. ├─stats::formula(stats::delete.response(Terms)) 8. └─stats::delete.response(Terms) 9. └─stats (local) off(a$specials[[i]]) ── Failure ('test_elo.glm.R:52:3'): predict.elo.glm works correctly ──────────── `predict(...)` threw an error with unexpected message. Expected match: "Unknown teams: Unknown, Unknown 2" Actual message: "subscript out of bounds" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_elo.glm.R:52: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. ├─stats::predict(...) 7. └─elo:::predict.elo.glm(...) 8. └─elo:::clean_elo_formula(object$elo.terms, drop.neutral = FALSE) 9. ├─stats::formula(stats::delete.response(Terms)) 10. └─stats::delete.response(Terms) 11. └─stats (local) off(a$specials[[i]]) ── Failure ('test_elo.glm.R:53:3'): predict.elo.glm works correctly ──────────── `predict(tmp.glm, newdata = data.frame(team.Home = "Unknown"))` threw an error with unexpected message. Expected match: "object 'team.Visitor' not found" Actual message: "subscript out of bounds" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_elo.glm.R:53: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. ├─stats::predict(tmp.glm, newdata = data.frame(team.Home = "Unknown")) 7. └─elo:::predict.elo.glm(tmp.glm, newdata = data.frame(team.Home = "Unknown")) 8. └─elo:::clean_elo_formula(object$elo.terms, drop.neutral = FALSE) 9. ├─stats::formula(stats::delete.response(Terms)) 10. └─stats::delete.response(Terms) 11. └─stats (local) off(a$specials[[i]]) ── Error ('test_elo.glm.R:55:3'): predict.elo.glm works correctly ────────────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test_elo.glm.R:55:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(...) 5. ├─stats::predict(...) 6. └─elo:::predict.elo.glm(...) 7. └─elo:::clean_elo_formula(object$elo.terms, drop.neutral = FALSE) 8. ├─stats::formula(stats::delete.response(Terms)) 9. └─stats::delete.response(Terms) 10. └─stats (local) off(a$specials[[i]]) ── Failure ('test_elo.markovchain.R:24:3'): predict.elo.markovchain is working correctly ── `predict(...)` threw an error with unexpected message. Expected match: "'neut' not found" Actual message: "subscript out of bounds" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_elo.markovchain.R:24: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. ├─stats::predict(...) 7. └─elo:::predict.elo.markovchain(...) 8. └─elo:::clean_elo_formula(object$elo.terms, drop.neutral = FALSE) 9. ├─stats::formula(stats::delete.response(Terms)) 10. └─stats::delete.response(Terms) 11. └─stats (local) off(a$specials[[i]]) ── Failure ('test_elo.markovchain.R:29:3'): predict.elo.markovchain is working correctly ── `predict(...)` threw an error with unexpected message. Expected match: "'neut' not found" Actual message: "subscript out of bounds" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_elo.markovchain.R:29: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. ├─stats::predict(...) 7. └─elo:::predict.elo.markovchain(...) 8. └─elo:::clean_elo_formula(object$elo.terms, drop.neutral = FALSE) 9. ├─stats::formula(stats::delete.response(Terms)) 10. └─stats::delete.response(Terms) 11. └─stats (local) off(a$specials[[i]]) ── Failure ('test_elo.markovchain.R:33:3'): predict.elo.markovchain is working correctly ── `predict(...)` threw an error. Message: subscript out of bounds Class: subscriptOutOfBoundsError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_elo.markovchain.R:33: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. ├─stats::predict(...) 7. └─elo:::predict.elo.markovchain(...) 8. └─elo:::clean_elo_formula(object$elo.terms, drop.neutral = FALSE) 9. ├─stats::formula(stats::delete.response(Terms)) 10. └─stats::delete.response(Terms) 11. └─stats (local) off(a$specials[[i]]) ── Error ('test_elo.markovchain.R:43:3'): elo.markovchain(running=TRUE) works ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test_elo.markovchain.R:43:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─stats::predict(tmp.mc, newdata = head(trn, 2)) 5. └─elo:::predict.elo.markovchain(tmp.mc, newdata = head(trn, 2)) 6. └─elo:::clean_elo_formula(object$elo.terms, drop.neutral = FALSE) 7. ├─stats::formula(stats::delete.response(Terms)) 8. └─stats::delete.response(Terms) 9. └─stats (local) off(a$specials[[i]]) ── Error ('test_elo.run.R:70:3'): prediction works correctly ─────────────────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─elo:::expect_eq(...) at test_elo.run.R:70:3 2. │ └─testthat::expect_equal(x, y) at ./helper-data.R:27:3 3. │ └─testthat::quasi_label(enquo(object), label) 4. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 5. ├─stats::predict(results, newdata = newdat) 6. └─elo:::predict.elo.run(results, newdata = newdat) 7. └─elo:::clean_elo_formula(stats::terms(object)) 8. ├─stats::formula(stats::delete.response(Terms)) 9. └─stats::delete.response(Terms) 10. └─stats (local) off(a$specials[[i]]) ── Error ('test_elo.run_regress_group.R:103:3'): prediction works correctly ──── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─testthat::expect_identical(...) at test_elo.run_regress_group.R:103:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─stats::predict(results, newdata = newdat) 5. └─elo:::predict.elo.run.regressed(results, newdata = newdat) 6. └─elo:::clean_elo_formula(stats::terms(object)) 7. ├─stats::formula(stats::delete.response(Terms)) 8. └─stats::delete.response(Terms) 9. └─stats (local) off(a$specials[[i]]) ── Error ('test_elo.team.R:100:3'): prediction works correctly with players() ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─testthat::expect_identical(...) at test_elo.team.R:100:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─stats::predict(results, newdata = newdat) 5. └─elo:::predict.elo.run(results, newdata = newdat) 6. └─elo:::clean_elo_formula(stats::terms(object)) 7. ├─stats::formula(stats::delete.response(Terms)) 8. └─stats::delete.response(Terms) 9. └─stats (local) off(a$specials[[i]]) [ FAIL 11 | WARN 0 | SKIP 0 | PASS 183 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 3.0.2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘comparison_methods.Rmd’ using rmarkdown Quitting from comparison_methods.Rmd:27-37 [unnamed-chunk-2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `a$specials[[i]]`: ! subscript out of bounds --- Backtrace: ▆ 1. ├─stats::predict(...) 2. └─elo:::predict.elo.winpct(...) 3. └─elo:::clean_elo_formula(object$elo.terms, drop.neutral = FALSE) 4. ├─stats::formula(stats::delete.response(Terms)) 5. └─stats::delete.response(Terms) 6. └─stats (local) off(a$specials[[i]]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'comparison_methods.Rmd' failed with diagnostics: subscript out of bounds --- failed re-building ‘comparison_methods.Rmd’ --- re-building ‘intro.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘intro.Rmd’ --- re-building ‘running_elos.Rmd’ using rmarkdown Quitting from running_elos.Rmd:193-201 [unnamed-chunk-18] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `a$specials[[i]]`: ! subscript out of bounds --- Backtrace: ▆ 1. ├─stats::predict(results, newdata = newdat) 2. └─elo:::predict.elo.run(results, newdata = newdat) 3. └─elo:::clean_elo_formula(stats::terms(object)) 4. ├─stats::formula(stats::delete.response(Terms)) 5. └─stats::delete.response(Terms) 6. └─stats (local) off(a$specials[[i]]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'running_elos.Rmd' failed with diagnostics: subscript out of bounds --- failed re-building ‘running_elos.Rmd’ SUMMARY: processing the following files failed: ‘comparison_methods.Rmd’ ‘running_elos.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc