R Under development (unstable) (2026-02-04 r89376 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > ## Test `gratia` using the `testthat` package > > ## Setup > library("testthat") > library("gratia") > > ## Runs the tests in tests/testthat > test_check("gratia") Random effect smooths not currently supported. Ignoring: [ FAIL 0 | WARN 0 | SKIP 293 | PASS 2312 ] ══ Skipped tests (293) ═════════════════════════════════════════════════════════ • On CRAN (278): '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-derivatives.R:543: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: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: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:208:1', 'test-draw-methods.R:218:1', 'test-draw-methods.R:231:1', 'test-draw-methods.R:301:1', 'test-draw-methods.R:308:1', 'test-draw-methods.R:322:3', 'test-draw-methods.R:335:3', 'test-draw-methods.R:348:1', 'test-draw-methods.R:366:3', 'test-draw-methods.R:386:1', 'test-draw-methods.R:393:3', 'test-draw-methods.R:403:3', 'test-draw-methods.R:417:3', 'test-draw-methods.R:421:1', 'test-draw-methods.R:428:3', 'test-draw-methods.R:454:3', 'test-draw-methods.R:501:3', 'test-draw-methods.R:520:3', 'test-draw-methods.R:540:1', 'test-draw-methods.R:551:3', 'test-draw-methods.R:592:3', 'test-draw-methods.R:601: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:79: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-hgam-paper.R:250: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:381:3', 'test-utilities.R:601: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' • On Windows (15): 'test-draw-gam.R:191:3', 'test-draw-gam.R:199:3', 'test-draw-methods.R:124:3', 'test-draw-methods.R:492:3', 'test-draw-methods.R:565:3', 'test-draw-smooth-estimates.R:64:3', 'test-draw-smooth-estimates.R:72:3', 'test-draw-smooth-estimates.R:87:3', 'test-draw-smooth-estimates.R:99:3', 'test-draw-smooth-estimates.R:111:3', 'test-draw-smooth-estimates.R:123:3', 'test-draw-smooth-estimates.R:135:3', 'test-draw-smooth-estimates.R:147:3', 'test-draw-smooth-estimates.R:159:3', 'test-draw-smooth-estimates.R:170:3' [ FAIL 0 | WARN 0 | SKIP 293 | PASS 2312 ] 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' > > proc.time() user system elapsed 136.92 9.10 148.56