CRAN Package Check Results for Package qgam

Last updated on 2026-10-21 11:59:14 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.0 11.79 411.58 423.37 OK
r-devel-linux-x86_64-debian-gcc 2.0.0 8.27 328.45 336.72 OK
r-devel-linux-x86_64-fedora-clang 2.0.0 329.47 OK
r-devel-linux-x86_64-fedora-gcc 2.0.0 339.73 OK
r-devel-windows-x86_64 2.0.0 17.00 475.00 492.00 ERROR
r-patched-linux-x86_64 2.0.0 11.59 398.41 410.00 OK
r-release-linux-x86_64 2.0.0 11.81 401.86 413.67 OK
r-release-macos-arm64 2.0.0 3.00 181.00 184.00 OK
r-release-macos-x86_64 2.0.0 9.00 632.00 641.00 OK
r-release-windows-x86_64 2.0.0 19.00 474.00 493.00 OK
r-oldrel-macos-arm64 2.0.0 OK
r-oldrel-macos-x86_64 2.0.0 9.00 627.00 636.00 OK
r-oldrel-windows-x86_64 2.0.0 23.00 600.00 623.00 OK

Check Details

Version: 2.0.0
Check: tests
Result: ERROR Running 'testthat.R' [112s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(qgam) Loading required package: mgcv Loading required package: nlme This is mgcv 1.9-4. For overview type '?mgcv'. > > test_check("qgam") Saving _problems/test-calFastTuneLearn-98.R Saving _problems/test-calFastTuneLearn-102.R Saving _problems/test-calFastTuneLearnFast-80.R Saving _problems/test-calFastTuneLearnFast-87.R Saving _problems/test-qgam_discrete-72.R Saving _problems/test-qgam_discrete-77.R [ FAIL 6 | WARN 6 | SKIP 3 | PASS 1 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • empty test (3): , , ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-calFastTuneLearn.R:83:5'): calFastTuneLearn ────────────────── `{ ... }` threw an error. Message: lazy-load database 'D:/temp/2026_10_19_01_50_00_32085/RtmpOk95eS/RLIBS_5c3406fe02473/mgcv/R/mgcv.rdb' is corrupt Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-calFastTuneLearn.R:83:5 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─base::withCallingHandlers(...) at test-calFastTuneLearn.R:84:7 7. └─base::lapply(...) 8. └─qgam (local) FUN(X[[i]], ...) 9. └─qgam::tuneLearn(...) at test-calFastTuneLearn.R:87:50 10. └─qgam:::.should_we_use_discrete(form = form, discrete = discrete) 11. └─mgcv::interpret.gam(form) ── Error ('test-calFastTuneLearn.R:101:5'): calFastTuneLearn ─────────────────── Error in `log(tmp)`: non-numeric argument to mathematical function Backtrace: ▆ 1. └─graphics::matplot(...) at test-calFastTuneLearn.R:101:5 ── Failure ('test-calFastTuneLearnFast.R:60:5'): calFastTuneLearnFast ────────── `{ ... }` threw an error. Message: lazy-load database 'D:/temp/2026_10_19_01_50_00_32085/RtmpOk95eS/RLIBS_5c3406fe02473/mgcv/R/mgcv.rdb' is corrupt Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-calFastTuneLearnFast.R:60:5 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─qgam::tuneLearnFast(form, data = dat, qu = qus, control = list(progress = FALSE)) at test-calFastTuneLearnFast.R:62:7 7. └─mgcv::predict.gam(mObj, newdata = data, type = "lpmatrix") ── Error ('test-calFastTuneLearnFast.R:86:5'): calFastTuneLearnFast ──────────── <subscriptOutOfBoundsError/error/condition> Error in `x[[1]]`: subscript out of bounds Backtrace: ▆ 1. └─base::plot(...) at test-calFastTuneLearnFast.R:86:5 ── Failure ('test-qgam_discrete.R:61:5'): qgam_discrete ──────────────────────── `{ ... }` threw an error. Message: lazy-load database 'D:/temp/2026_10_19_01_50_00_32085/RtmpOk95eS/RLIBS_5c3406fe02473/mgcv/R/mgcv.rdb' is corrupt Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-qgam_discrete.R:61:5 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─base::lapply(...) at test-qgam_discrete.R:64:9 7. └─qgam (local) FUN(X[[i]], ...) 8. └─qgam::qgam(...) at test-qgam_discrete.R:66:35 9. └─qgam::tuneLearnFast(...) 10. └─mgcv::predict.gam(mObj, newdata = data, type = "lpmatrix") ── Error ('test-qgam_discrete.R:77:5'): qgam_discrete ────────────────────────── <subscriptOutOfBoundsError/error/condition> Error in `tmp[, 3 + 1]`: subscript out of bounds Backtrace: ▆ 1. ├─base::plot(...) at test-qgam_discrete.R:77:5 2. └─graphics::plot.default(...) 3. └─grDevices::xy.coords(x, y, xlabel, ylabel, log) [ FAIL 6 | WARN 6 | SKIP 3 | PASS 1 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64