CRAN Package Check Results for Package gratia

Last updated on 2026-01-22 18:50:33 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.11.1 22.69 499.56 522.25 OK
r-devel-linux-x86_64-debian-gcc 0.11.1 14.82 336.56 351.38 OK
r-devel-linux-x86_64-fedora-clang 0.11.1 44.00 873.18 917.18 OK
r-devel-linux-x86_64-fedora-gcc 0.11.1 40.00 805.54 845.54 ERROR
r-devel-windows-x86_64 0.11.1 24.00 472.00 496.00 OK
r-patched-linux-x86_64 0.11.1 25.58 479.19 504.77 OK
r-release-linux-x86_64 0.11.1 21.21 483.74 504.95 OK
r-release-macos-arm64 0.11.1 OK
r-release-macos-x86_64 0.11.1 14.00 551.00 565.00 OK
r-release-windows-x86_64 0.11.1 29.00 456.00 485.00 OK
r-oldrel-macos-arm64 0.11.1 OK
r-oldrel-macos-x86_64 0.11.1 14.00 487.00 501.00 OK
r-oldrel-windows-x86_64 0.11.1 40.00 627.00 667.00 OK

Additional issues

M1mac

Check Details

Version: 0.11.1
Check: tests
Result: ERROR Running ‘test-all.R’ [407s/419s] Running the tests in ‘tests/test-all.R’ failed. Complete output: > ## Test `gratia` using the `testthat` package > > ## Setup > library("testthat") > library("gratia") > > ## Runs the tests in tests/testthat > test_check("gratia") Loading required package: nlme This is mgcv 1.9-4. For overview type '?mgcv'. Loading required package: Matrix Loading required package: lme4 Attaching package: 'lme4' The following object is masked from 'package:nlme': lmList This is gamm4 0.2-7 This is scam 1.2-21. Attaching package: 'dplyr' The following object is masked from 'package:nlme': collapse The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Saving _problems/test-basis-48.R Random effect smooths not currently supported. Ignoring: <s(fac)> [ FAIL 2 | WARN 0 | SKIP 289 | PASS 2273 ] ══ Skipped tests (289) ═════════════════════════════════════════════════════════ • On CRAN (289): 'test-add-functions.R:67:3', 'test-add-functions.R:195:1', 'test-add-functions.R:203:1', 'test-add-functions.R:211:1', 'test-add-functions.R:219:1', 'test-add-functions.R:228:1', 'test-assemble.R:2:3', 'test-assemble.R:7:3', 'test-assemble.R:12:3', 'test-assemble.R:18:3', 'test-bam-ar.R:7:1', 'test-bam-ar.R:14:1', 'test-basis.R:24:1', 'test-basis.R:54:3', 'test-basis.R:78:3', 'test-basis.R:100:3', 'test-basis.R:110:3', 'test-basis.R:118:3', 'test-basis.R:128:3', 'test-by-variables.R:3:1', 'test-by-variables.R:10:1', 'test-by-variables.R:54:1', 'test-compare-smooths.R:35:3', 'test-concurvity.R:10:1', 'test-concurvity.R:26:1', 'test-conditional-values.R:14:3', 'test-conditional-values.R:41:3', 'test-conditional-values.R:54:3', 'test-conditional-values.R:67:3', 'test-conditional-values.R:80:3', 'test-conditional-values.R:84:1', 'test-conditional-values.R:93:3', 'test-conditional-values.R:101:3', 'test-conditional-values.R:109:3', 'test-conditional-values.R:117:3', 'test-conditional-values.R:125:3', 'test-confint-methods.R:169:3', 'test-data-sim.R:17:3', 'test-data-sim.R:26:3', 'test-data-slice.R:255:1', 'test-data-slice.R:260:1', 'test-data-slice.R:281:1', 'test-datagen.R:3:1', 'test-derivatives.R:400:3', 'test-derivatives.R:445:3', 'test-derivatives.R:488:3', 'test-diagnostic-plots.R:3:1', 'test-diagnostic-plots.R:47:1', 'test-diagnostic-plots.R:64:1', 'test-diagnostic-plots.R:81:1', 'test-diagnostic-plots.R:98:1', 'test-diagnostic-plots.R:116:1', 'test-diagnostic-plots.R:134:1', 'test-diagnostic-plots.R:142:1', 'test-diagnostic-plots.R:153:3', 'test-diagnostic-plots.R:165:3', 'test-diagnostic-plots.R:177:3', 'test-diagnostic-plots.R:190:3', 'test-difference-smooths.R:3:1', 'test-difference-smooths.R:14:1', 'test-difference-smooths.R:28:1', 'test-difference-smooths.R:39:1', 'test-difference-smooths.R:51:3', 'test-difference-smooths.R:65:3', 'test-difference-smooths.R:80:3', 'test-difference-smooths.R:94:1', 'test-difference-smooths.R:115:3', 'test-difference-smooths.R:138:3', 'test-draw-gam.R:4:1', 'test-draw-gam.R:10:1', 'test-draw-gam.R:16:1', 'test-draw-gam.R:25:1', 'test-draw-gam.R:31:1', 'test-draw-gam.R:37:1', 'test-draw-gam.R:45:3', 'test-draw-gam.R:50:1', 'test-draw-gam.R:56:1', 'test-draw-gam.R:62:1', 'test-draw-gam.R:68:1', 'test-draw-gam.R:74:1', 'test-draw-gam.R:81:1', 'test-draw-gam.R:88:1', 'test-draw-gam.R:96:1', 'test-draw-gam.R:102:1', 'test-draw-gam.R:108:1', 'test-draw-gam.R:114:1', 'test-draw-gam.R:120:1', 'test-draw-gam.R:132:1', 'test-draw-gam.R:144:1', 'test-draw-gam.R:151:1', 'test-draw-gam.R:158:1', 'test-draw-gam.R:164:1', 'test-draw-gam.R:170:1', 'test-draw-gam.R:180:1', 'test-draw-gam.R:190:1', 'test-draw-gam.R:198:1', 'test-draw-gam.R:220:1', 'test-draw-gam.R:226:1', 'test-draw-gam.R:238:1', 'test-draw-gam.R:252:3', 'test-draw-methods.R:3:1', 'test-draw-methods.R:31:1', 'test-draw-methods.R:43:1', 'test-draw-methods.R:52:1', 'test-draw-methods.R:61:1', 'test-draw-methods.R:75:1', 'test-draw-methods.R:107:1', 'test-draw-methods.R:116:1', 'test-draw-methods.R:123:1', 'test-draw-methods.R:131:1', 'test-draw-methods.R:140:1', 'test-draw-methods.R:146:1', 'test-draw-methods.R:152:1', 'test-draw-methods.R:162:1', 'test-draw-methods.R:172:1', 'test-draw-methods.R:196:1', 'test-draw-methods.R:207:1', 'test-draw-methods.R:277:1', 'test-draw-methods.R:284:1', 'test-draw-methods.R:298:3', 'test-draw-methods.R:311:3', 'test-draw-methods.R:324:1', 'test-draw-methods.R:342:3', 'test-draw-methods.R:362:1', 'test-draw-methods.R:369:3', 'test-draw-methods.R:379:3', 'test-draw-methods.R:393:3', 'test-draw-methods.R:397:1', 'test-draw-methods.R:404:3', 'test-draw-methods.R:430:3', 'test-draw-methods.R:467:1', 'test-draw-methods.R:477:3', 'test-draw-methods.R:496:3', 'test-draw-methods.R:516:1', 'test-draw-methods.R:527:3', 'test-draw-methods.R:540:1', 'test-draw-methods.R:568:3', 'test-draw-methods.R:577:1', 'test-draw-parametric-effects.R:3:1', 'test-draw-parametric-effects.R:17:1', 'test-draw-parametric-effects.R:31:1', 'test-draw-parametric-effects.R:42:1', 'test-draw-parametric-effects.R:53:1', 'test-draw-parametric-effects.R:68:3', 'test-draw-parametric-effects.R:161:3', 'test-draw-parametric-effects.R:213:3', 'test-draw-smooth-estimates.R:5:3', 'test-draw-smooth-estimates.R:12:1', 'test-draw-smooth-estimates.R:19:1', 'test-draw-smooth-estimates.R:27:3', 'test-draw-smooth-estimates.R:34:1', 'test-draw-smooth-estimates.R:41:1', 'test-draw-smooth-estimates.R:48:1', 'test-draw-smooth-estimates.R:55:1', 'test-draw-smooth-estimates.R:62:1', 'test-draw-smooth-estimates.R:71:1', 'test-draw-smooth-estimates.R:79:1', 'test-draw-smooth-estimates.R:86:1', 'test-draw-smooth-estimates.R:98:1', 'test-draw-smooth-estimates.R:110:1', 'test-draw-smooth-estimates.R:122:1', 'test-draw-smooth-estimates.R:134:1', 'test-draw-smooth-estimates.R:146:1', 'test-draw-smooth-estimates.R:158:1', 'test-draw-smooth-estimates.R:169:1', 'test-draw-smooth-estimates.R:181:3', 'test-draw-smooth-estimates.R:208:3', 'test-draw-smooth-estimates.R:239:3', 'test-draw-smooth-estimates.R:265:3', 'test-draw-smooth-estimates.R:300:3', 'test-draw-smooth-estimates.R:325:3', 'test-draw-smooth-estimates.R:335:3', 'test-draw-smooth-estimates.R:345:3', 'test-draw-smooth-estimates.R:362:3', 'test-edf.R:5:1', 'test-edf.R:14:1', 'test-edf.R:28:1', 'test-edf.R:37:1', 'test-edf.R:55:1', 'test-edf.R:64:1', 'test-edf.R:73:1', 'test-edf.R:82:1', 'test-edf.R:91:1', 'test-fderiv.R:6:3', 'test-fitted-values.R:114:3', 'test-fitted-values.R:125:3', 'test-fitted-values.R:136:3', 'test-fix-family.R:11:1', 'test-fix-family.R:19:1', 'test-fix-family.R:27:1', 'test-fix-family.R:36:1', 'test-gfam.R:18:3', 'test-gjrm-methods.R:7:3', 'test-hgam-paper.R:26:3', 'test-hgam-paper.R:41:3', 'test-hgam-paper.R:60:3', 'test-hgam-paper.R:76:3', 'test-hgam-paper.R:91:3', 'test-hgam-paper.R:110:3', 'test-hgam-paper.R:126:3', 'test-hgam-paper.R:151:3', 'test-hgam-paper.R:172:3', 'test-hgam-paper.R:192:3', 'test-hgam-paper.R:209:3', 'test-hgam-paper.R:229:3', 'test-lp-matrix.R:26:3', 'test-overview.R:21:1', 'test-overview.R:30:1', 'test-overview.R:39:1', 'test-parametric-effects.R:109:3', 'test-parametric-effects.R:136:3', 'test-partial-derivatives.R:48:1', 'test-partial-derivatives.R:57:1', 'test-partial-derivatives.R:67:1', 'test-penalty.R:52:3', 'test-penalty.R:65:3', 'test-penalty.R:76:3', 'test-penalty.R:106:3', 'test-penalty.R:125:3', 'test-posterior-samples.R:17:3', 'test-posterior-samples.R:33:3', 'test-posterior-samples.R:50:3', 'test-posterior-samples.R:272:3', 'test-posterior-samples.R:280:3', 'test-posterior-samples.R:313:3', 'test-posterior-samples.R:341:3', 'test-posterior-samples.R:362:3', 'test-posterior-samples.R:405:3', 'test-posterior-samples.R:435:3', 'test-posterior-samples.R:440:3', 'test-posterior-samples.R:493:3', 'test-posterior-samples.R:565:3', 'test-posterior-samples.R:574:3', 'test-posterior-samples.R:583:3', 'test-qq-plot.R:17:1', 'test-qq-plot.R:26:1', 'test-qq-plot.R:35:1', 'test-qq-plot.R:44:1', 'test-qq-plot.R:52:1', 'test-qq-plot.R:62:1', 'test-qq-plot.R:69:1', 'test-qq-plot.R:77:1', 'test-qq-plot.R:87:1', 'test-quantile-residuals.R:1:1', 'test-quantile-residuals.R:7:1', 'test-quantile-residuals.R:13:1', 'test-response-derivatives.R:5:3', 'test-response-derivatives.R:41:3', 'test-rfoo.R:2:3', 'test-rfoo.R:18:3', 'test-rfoo.R:34:3', 'test-rfoo.R:43:3', 'test-rfoo.R:53:3', 'test-rfoo.R:63:3', 'test-rootograms.R:4:3', 'test-rootograms.R:11:1', 'test-rootograms.R:19:3', 'test-rootograms.R:32:3', 'test-scales.R:3:1', 'test-simulate-methods.R:76:3', 'test-simulate-methods.R:85:3', 'test-simulate-methods.R:95:3', 'test-smooth-coefs.R:53:1', 'test-smooth-estimates.R:286:3', 'test-smooth-estimates.R:293:3', 'test-smooth-estimates.R:300:3', 'test-soap-films.R:7:3', 'test-soap-films.R:24:3', 'test-soap-films.R:40:3', 'test-soap-films.R:50:3', 'test-soap-films.R:62:3', 'test-soap-films.R:81:5', 'test-soap-films.R:95:5', 'test-utilities.R:376:3', 'test-utilities.R:621:3', 'test-variance-components.R:14:3', 'test-variance-components.R:26:3', 'test-variance-components.R:38:3', 'test-variance-components.R:50:3', 'test-variance-components.R:62:3', 'test-worm-plot.R:21:1', 'test-worm-plot.R:28:1', 'test-worm-plot.R:38:1', 'test-worm-plot.R:49:1', 'test-worm-plot.R:56:1', 'test-worm-plot.R:66:1', 'test-worm-plot.R:77:1', 'test-worm-plot.R:84:1', 'test-worm-plot.R:94:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-basis.R:48:3'): term argument is deprecated in basis() ───────── <purrr_error_indexed/rlang_error/error/condition> Error in `map(seq_along(smooths), tidy_basis_wrapper, ids = ids, data = data, smooths = smooths, model = object, n = n, n_3d = n_3d, n_4d = n_4d, offset = NULL)`: i In index: 1. Caused by error in `tbl[, p_ident]`: ! (subscript) logical subscript too long Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-basis.R:48:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─gratia::basis(m_scam, term = "s(x2)") 8. ├─gratia:::basis.scam(m_scam, term = "s(x2)") 9. │ └─gratia:::basis.gam(...) 10. │ └─purrr::map(...) 11. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 12. │ ├─purrr:::with_indexed_errors(...) 13. │ │ └─base::withCallingHandlers(...) 14. │ ├─purrr:::call_with_cleanup(...) 15. │ └─gratia (local) .f(.x[[i]], ...) 16. │ └─gratia::tidy_basis(smooths[[i]], at = data, coefs = betas, p_ident = p_ident) 17. └─base::.handleSimpleError(...) 18. └─purrr (local) h(simpleError(msg, call)) 19. └─cli::cli_abort(...) 20. └─rlang::abort(...) ── Error ('test-scam-methods.R:4:3'): smooth_estimates works for scams ───────── <purrr_error_indexed/rlang_error/error/condition> Error in `map(smooths, eval_smooth, model = object, n = n, n_3d = n_3d, n_4d = n_4d, data = data, unconditional = unconditional, overall_uncertainty = overall_uncertainty, dist = dist, clip = clip)`: i In index: 1. Caused by error in `X %*% beta`: ! non-conformable arguments Backtrace: ▆ 1. ├─testthat::expect_silent(sm1 <- smooth_estimates(sw)) at test-scam-methods.R:4:3 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. ├─gratia::smooth_estimates(sw) 10. ├─gratia:::smooth_estimates.scam(sw) 11. │ └─gratia:::smooth_estimates.gam(object, ...) 12. │ └─purrr::map(...) 13. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 14. │ ├─purrr:::with_indexed_errors(...) 15. │ │ └─base::withCallingHandlers(...) 16. │ ├─purrr:::call_with_cleanup(...) 17. │ ├─gratia (local) .f(.x[[i]], ...) 18. │ └─gratia:::eval_smooth.scam_smooth(.x[[i]], ...) 19. │ └─gratia:::spline_values_scam(...) 20. │ ├─gratia:::smooth_values(...) 21. │ └─gratia:::smooth_values.univariate_scam_smooth(...) 22. │ ├─gratia:::scam_beta_se(...) 23. │ └─gratia:::scam_beta_se.univariate_scam_smooth(...) 24. └─base::.handleSimpleError(...) 25. └─purrr (local) h(simpleError(msg, call)) 26. └─cli::cli_abort(...) 27. └─rlang::abort(...) [ FAIL 2 | WARN 0 | SKIP 289 | PASS 2273 ] Deleting unused snapshots: 'basis/draw-basis-works-ok-with-weighted-basis-funs.svg', 'basis/draw-basis-works-with-a-bivariate-te-contour.svg', 'basis/draw-basis-works-with-a-bivariate-te.svg', 'basis/draw-basis-works-with-a-bivariate-tprs-contour.svg', 'basis/draw-basis-works-with-a-bivariate-tprs.svg', 'basis/draw-basis-works-with-a-scam-single-smooth.svg', 'compare-smooths/compare-smooths-all-smooths.svg', 'compare-smooths/compare-smooths-bottom-legend.svg', 'compare-smooths/compare-smooths-set-nrow-ncol.svg', 'conditional-values/conditional-values-m-gam-numeric-cond.svg', 'derivatives/draw-issue-47-derivatives-for-complex-factor-by.svg', 'derivatives/draw-issue-47-derivatives-for-factor-by.svg', 'derivatives/draw-issue-47-derivatives-for-gamm-factor-by.svg', 'derivatives/draw-issue-47-derivs-for-ordered-factor-by.svg', 'derivatives/draw-issue-57-derivatives-for-factor-by.svg', 'diagnostic-plots/appraise-for-mvn-model.svg', 'diagnostic-plots/appraise-for-twlss-model.svg', 'diagnostic-plots/r-hist-plot-qresids-poisson-model.svg', …, 'soap-films/draw-smooth-estimates-so-soap-film-bndry.svg', and 'soap-films/draw-smooth-estimates-so-soap-film.svg' Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc