R Under development (unstable) (2024-01-07 r85787 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 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") > > ## Runs the tests in tests/testthat > test_check("gratia") Loading required package: gratia Loading required package: nlme This is mgcv 1.9-1. For overview type 'help("mgcv-package")'. 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-6 This is scam 1.2-14. Attaching package: 'dplyr' The following object is masked from 'package:nlme': collapse The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Random effect smooths not currently supported. Ignoring: [ FAIL 0 | WARN 0 | SKIP 172 | PASS 1764 ] ══ Skipped tests (172) ═════════════════════════════════════════════════════════ • On CRAN (154): 'test-add-functions.R:72:5', 'test-bam-ar.R:14:5', 'test-bam-ar.R:19:5', 'test-basis.R:21:5', 'test-basis.R:32:5', 'test-by-variables.R:11:5', 'test-by-variables.R:60:5', 'test-compare-smooths.R:30:5', 'test-concurvity.R:16:5', 'test-concurvity.R:32:5', 'test-confint-methods.R:146:5', 'test-data-sim.R:20:5', 'test-derivatives.R:374:5', 'test-derivatives.R:416:5', 'test-derivatives.R:444:5', 'test-diagnostic-plots.R:11:5', 'test-diagnostic-plots.R:17:5', 'test-diagnostic-plots.R:42:5', 'test-diagnostic-plots.R:56:5', 'test-diagnostic-plots.R:70:5', 'test-diagnostic-plots.R:84:5', 'test-diagnostic-plots.R:98:5', 'test-diagnostic-plots.R:112:5', 'test-difference-smooths.R:15:5', 'test-difference-smooths.R:25:5', 'test-difference-smooths.R:34:5', 'test-difference-smooths.R:43:5', 'test-difference-smooths.R:47:5', 'test-difference-smooths.R:58:5', 'test-difference-smooths.R:70:5', 'test-difference-smooths.R:96:5', 'test-draw-gam.R:12:5', 'test-draw-gam.R:17:5', 'test-draw-gam.R:23:5', 'test-draw-gam.R:28:5', 'test-draw-gam.R:33:5', 'test-draw-gam.R:38:5', 'test-draw-gam.R:43:5', 'test-draw-gam.R:50:5', 'test-draw-gam.R:55:5', 'test-draw-gam.R:60:5', 'test-draw-gam.R:65:5', 'test-draw-gam.R:70:5', 'test-draw-gam.R:75:5', 'test-draw-gam.R:80:5', 'test-draw-gam.R:85:5', 'test-draw-gam.R:90:5', 'test-draw-gam.R:95:5', 'test-draw-gam.R:100:5', 'test-draw-gam.R:106:5', 'test-draw-gam.R:112:5', 'test-draw-gam.R:118:5', 'test-draw-gam.R:124:5', 'test-draw-gam.R:129:5', 'test-draw-gam.R:134:5', 'test-draw-gam.R:141:5', 'test-draw-gam.R:148:5', 'test-draw-gam.R:188:5', 'test-draw-methods.R:19:5', 'test-draw-methods.R:24:5', 'test-draw-methods.R:46:5', 'test-draw-methods.R:54:5', 'test-draw-methods.R:61:5', 'test-draw-methods.R:69:5', 'test-draw-methods.R:98:5', 'test-draw-methods.R:123:5', 'test-draw-methods.R:131:5', 'test-draw-methods.R:151:5', 'test-draw-methods.R:163:5', 'test-draw-methods.R:168:5', 'test-draw-methods.R:183:5', 'test-draw-methods.R:204:5', 'test-draw-methods.R:225:5', 'test-draw-methods.R:258:5', 'test-draw-methods.R:295:5', 'test-draw-methods.R:326:5', 'test-draw-methods.R:332:5', 'test-draw-methods.R:340:5', 'test-draw-methods.R:353:5', 'test-draw-methods.R:359:5', 'test-draw-methods.R:364:5', 'test-draw-methods.R:373:5', 'test-draw-methods.R:401:5', 'test-draw-methods.R:407:5', 'test-draw-methods.R:424:5', 'test-draw-methods.R:458:5', 'test-draw-methods.R:472:5', 'test-draw-methods.R:484:5', 'test-draw-methods.R:488:5', 'test-draw-methods.R:516:5', 'test-draw-methods.R:525:5', 'test-draw-methods.R:537:5', 'test-draw-methods.R:550:5', 'test-draw-parametric-effects.R:12:5', 'test-draw-parametric-effects.R:19:5', 'test-draw-parametric-effects.R:25:5', 'test-draw-parametric-effects.R:31:5', 'test-draw-parametric-effects.R:38:5', 'test-draw-smooth-estimates.R:11:5', 'test-draw-smooth-estimates.R:18:5', 'test-draw-smooth-estimates.R:23:5', 'test-draw-smooth-estimates.R:28:5', 'test-draw-smooth-estimates.R:35:5', 'test-draw-smooth-estimates.R:40:5', 'test-draw-smooth-estimates.R:45:5', 'test-draw-smooth-estimates.R:50:5', 'test-draw-smooth-estimates.R:68:5', 'test-evaluate-smooth-methods.R:15:5', 'test-evaluate-smooth-methods.R:191:5', 'test-fderiv.R:11:5', 'test-gjrm-methods.R:6:5', 'test-hgam-paper.R:39:5', 'test-hgam-paper.R:53:5', 'test-hgam-paper.R:71:5', 'test-hgam-paper.R:86:5', 'test-hgam-paper.R:100:5', 'test-hgam-paper.R:116:5', 'test-hgam-paper.R:129:5', 'test-hgam-paper.R:144:5', 'test-hgam-paper.R:160:5', 'test-hgam-paper.R:175:5', 'test-hgam-paper.R:189:5', 'test-hgam-paper.R:207:5', 'test-lp-matrix.R:25:5', 'test-overview.R:26:5', 'test-overview.R:32:5', 'test-overview.R:38:5', 'test-posterior-samples.R:177:5', 'test-posterior-samples.R:184:5', 'test-qq-plot.R:32:5', 'test-qq-plot.R:39:5', 'test-qq-plot.R:46:5', 'test-qq-plot.R:51:5', 'test-qq-plot.R:56:5', 'test-qq-plot.R:61:5', 'test-qq-plot.R:67:5', 'test-qq-plot.R:73:5', 'test-qq-plot.R:79:5', 'test-rootograms.R:9:5', 'test-rootograms.R:16:5', 'test-rootograms.R:20:5', 'test-rootograms.R:26:5', 'test-simulate-methods.R:76:5', 'test-smooth-coefs.R:52:5', 'test-utilities.R:340:5', 'test-worm-plot.R:32:5', 'test-worm-plot.R:37:5', 'test-worm-plot.R:42:5', 'test-worm-plot.R:47:5', 'test-worm-plot.R:52:5', 'test-worm-plot.R:57:5', 'test-worm-plot.R:62:5', 'test-worm-plot.R:67:5', 'test-worm-plot.R:72:5' • On Windows (18): 'test-draw-gam.R:152:5', 'test-draw-gam.R:159:5', 'test-draw-methods.R:84:5', 'test-draw-methods.R:103:5', 'test-draw-methods.R:114:5', 'test-draw-methods.R:139:5', 'test-draw-methods.R:448:5', 'test-draw-methods.R:498:5', 'test-draw-smooth-estimates.R:55:5', 'test-draw-smooth-estimates.R:61:5', 'test-draw-smooth-estimates.R:72:5', 'test-draw-smooth-estimates.R:80:5', 'test-draw-smooth-estimates.R:88:5', 'test-draw-smooth-estimates.R:96:5', 'test-draw-smooth-estimates.R:104:5', 'test-draw-smooth-estimates.R:112:5', 'test-draw-smooth-estimates.R:120:5', 'test-draw-smooth-estimates.R:129:5' [ FAIL 0 | WARN 0 | SKIP 172 | PASS 1764 ] Deleting unused snapshots: • basis/draw-basis-works-with-a-gam-single-smooth.svg • basis/draw-basis-works-with-a-scam-single-smooth.svg • compare-smooths/compare-smooths-bottom-legened.svg • compare-smooths/compare-smooths-set-nrow-ncol.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 • diagnostic-plots/qq-plot-glm-normal.svg • diagnostic-plots/qq-plot-glm-simulate.svg • diagnostic-plots/qq-plot-lm-normal.svg • diagnostic-plots/qq-plot-lm-simulate.svg • diagnostic-plots/worm-plot-gam-normal.svg • diagnostic-plots/worm-plot-gam-simulate.svg • diagnostic-plots/worm-plot-glm-normal.svg • diagnostic-plots/worm-plot-glm-simulate.svg • diagnostic-plots/worm-plot-lm-normal.svg • diagnostic-plots/worm-plot-lm-simulate.svg • difference-smooths/draw-difference-smooths-bam.svg • difference-smooths/draw-difference-smooths-bivariate-gam-contours.svg • difference-smooths/draw-difference-smooths-bivariate-gam.svg • difference-smooths/draw-difference-smooths-gamm.svg • difference-smooths/draw-difference-smooths-gamm4.svg • draw-gam/draw-gam-m-gamm4.svg • draw-gam/draw-gam-parametric-only-model-rotated-labels.svg • draw-gam/draw-gam-quadvar-te.svg • draw-gam/draw-gam-trivar-te.svg • draw-methods/draw-2d-smooth-diff-contour-colour.svg • draw-methods/draw-2d-smooth-with-20-contour-bins.svg • draw-methods/draw-2d-smooth-with-5-contour-bins.svg • draw-methods/draw-2d-smooth-with-spectral-palette.svg • draw-methods/draw-2d-smooth.svg • draw-methods/draw-am-with-2d-smooth.svg • draw-methods/draw-basic-tprs-basis-rotated.svg • draw-methods/draw-derivatives-for-a-gam-rotated-labels.svg • draw-methods/draw-derivatives-for-a-gam-with-fixed-scales-rotated.svg • draw-methods/draw-derivatives-for-a-gam-with-fixed-scales.svg • draw-methods/draw-distributed-lag-model-issue-116.svg • draw-methods/draw-evaulated-2d-smooth-standard-errors.svg • draw-methods/draw-factor-by-variable-smooth-with-fixed-scales.svg • draw-methods/draw-fs-smooth-with-discrete-plasma-palette.svg • draw-methods/draw-gam-model-with-fs-smooth.svg • draw-methods/draw-gam-model-with-ranef-smooth-factor-by.svg • draw-methods/draw-gam-model-with-ranef-smooth.svg • draw-methods/draw-gam-smooth-for-two-selected-smooths-character.svg • draw-methods/draw-gam-smooth-for-two-selected-smooths-logical.svg • draw-methods/draw-gam-smooth-for-two-selected-smooths-numeric.svg • draw-methods/draw-gam-with-factor-parametric-term.svg • draw-methods/draw-gam-with-linear-parametric-term.svg • draw-methods/draw-gam-with-select-and-parametric-is-false.svg • draw-methods/draw-gam-with-select-and-parametric-is-true.svg • draw-methods/draw-gam-without-select-and-parametric-is-false.svg • draw-methods/draw-gam-without-select-and-parametric-is-true.svg • draw-methods/draw-model-with-fs-smooth-fixed-scales.svg • draw-methods/draw-model-with-ranef-smooth-fixed-scales.svg • draw-methods/draw-penalty-df-issue-95-label-order.svg • draw-methods/draw-penalty-df-with-single-smooths-normalized.svg • draw-methods/draw-penalty-df-with-single-smooths.svg • draw-methods/draw-penalty-single-smooths-user-continous-fill.svg • draw-methods/draw-selected-factor-by-smooth-samples-for-gam-m3.svg • draw-methods/draw-selected-smooth-with-overall-uncertainty-false.svg • draw-methods/draw-simple-multi-smooth-am-with-fixed-scales.svg • draw-methods/draw-simple-partial-residuals-with-fixed-scales.svg • draw-methods/draw-smooth-samples-for-bivariate-gam-contours.svg • draw-methods/draw-smooth-samples-for-gam-m1-rotated.svg • draw-methods/draw-smooth-samples-for-gam-m2-rotated.svg • draw-methods/draw-smooth-samples-for-gam-m2.svg • draw-methods/draw-smooth-samples-for-gam-m3-fixed-scales-rotated.svg • draw-methods/draw-smooth-samples-for-gam-m3-fixed-scales.svg • draw-methods/draw-smooth-samples-for-gam-m3-rotated.svg • draw-methods/draw-smooth-samples-for-gam-m3.svg • draw-methods/draw-smooth-samples-for-gam-n-samples.svg • draw-methods/draw-smooth-samples-for-m2-n-samples.svg • draw-methods/draw-std-error-of-2d-smooth.svg • draw-methods/draw-with-ranef-smooth-factor-by-fixed-scales.svg • draw-methods/issue-73-draw-uses-fixed-scales-if-asked-for-them.svg • draw-smooth-estimates/draw-smooth-estimates-m-1-smooth.svg • draw-smooth-estimates/draw-smooth-estimates-m-gamm4.svg • draw-smooth-estimates/draw-smooth-estimates-su-m-bivar-te.svg • draw-smooth-estimates/draw-smooth-estimates-su-m-bivar.svg • draw-smooth-estimates/draw-smooth-estimates-su-m-quadvar-t2.svg • draw-smooth-estimates/draw-smooth-estimates-su-m-quadvar-te.svg • draw-smooth-estimates/draw-smooth-estimates-su-m-quadvar.svg • draw-smooth-estimates/draw-smooth-estimates-su-m-trivar-t2.svg • draw-smooth-estimates/draw-smooth-estimates-su-m-trivar-te.svg • draw-smooth-estimates/draw-smooth-estimates-su-m-trivar.svg • draw-smooth-estimates/draw-smooth-estimates-sz-factor-smooth.svg • draw-smooth-estimates/draw-smooth-estimates-sz-two-factor-smooth.svg • gjrm-methods/draw-simple-gjrm-gamlss.svg • gjrm/draw-gamlss.svg • hgam-paper/hgam-paper-bird-move-model-1.svg • hgam-paper/hgam-paper-bird-move-model-2.svg • hgam-paper/hgam-paper-bird-move-model-3.svg • hgam-paper/hgam-paper-bird-move-model-4.svg • hgam-paper/hgam-paper-bird-move-model-5.svg • hgam-paper/hgam-paper-co2-model-1.svg • hgam-paper/hgam-paper-co2-model-2.svg • hgam-paper/hgam-paper-co2-model-3.svg • hgam-paper/hgam-paper-co2-model-4.svg • hgam-paper/hgam-paper-co2-model-5.svg • hgam-paper/hgam-paper-zoop-model-4.svg • hgam-paper/hgam-paper-zoop-model-5.svg • rootograms/draw-gaussian-rootogram.svg • rootograms/draw-neg-bin-rootogram.svg > > proc.time() user system elapsed 95.48 3.56 99.09