Running ‘test-all.R’ [124s/140s]
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-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-17.
  
  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: <s(fac)>
  
  [ FAIL 1 | WARN 0 | SKIP 232 | PASS 2183 ]
  
  ══ Skipped tests (232) ═════════════════════════════════════════════════════════
  • On CRAN (231): 'test-add-functions.R:67:3', 'test-add-functions.R:200:3',
    'test-add-functions.R:208:3', 'test-add-functions.R:216:3',
    'test-add-functions.R:225:3', 'test-add-functions.R:234:3',
    'test-bam-ar.R:11:3', 'test-bam-ar.R:18:3', 'test-basis.R:30:3',
    'test-basis.R:71:3', 'test-basis.R:92:3', 'test-by-variables.R:7:3',
    'test-by-variables.R:14:3', 'test-by-variables.R:61:3',
    'test-compare-smooths.R:37:3', 'test-concurvity.R:16:3',
    'test-concurvity.R:34:3', 'test-confint-methods.R:169:3',
    'test-data-sim.R:17:3', 'test-data-sim.R:26:3', 'test-data-slice.R:257:3',
    'test-data-slice.R:262:3', 'test-datagen.R:6:3', 'test-derivatives.R:400:3',
    'test-derivatives.R:445:3', 'test-derivatives.R:482:3',
    'test-diagnostic-plots.R:11:3', 'test-diagnostic-plots.R:59:3',
    'test-diagnostic-plots.R:76:3', 'test-diagnostic-plots.R:93:3',
    'test-diagnostic-plots.R:110:3', 'test-diagnostic-plots.R:127:3',
    'test-diagnostic-plots.R:136:3', 'test-diagnostic-plots.R:146:3',
    'test-difference-smooths.R:11:3', 'test-difference-smooths.R:25:3',
    'test-difference-smooths.R:36:3', 'test-difference-smooths.R:47:3',
    'test-difference-smooths.R:51:3', 'test-difference-smooths.R:65:3',
    'test-difference-smooths.R:80:3', 'test-difference-smooths.R:111:3',
    'test-difference-smooths.R:115:3', 'test-difference-smooths.R:138:3',
    'test-draw-gam.R:7:3', 'test-draw-gam.R:13:3', 'test-draw-gam.R:22:3',
    'test-draw-gam.R:28:3', 'test-draw-gam.R:34:3', 'test-draw-gam.R:40:3',
    'test-draw-gam.R:45:3', 'test-draw-gam.R:53:3', 'test-draw-gam.R:59:3',
    'test-draw-gam.R:65:3', 'test-draw-gam.R:71:3', 'test-draw-gam.R:77:3',
    'test-draw-gam.R:83:3', 'test-draw-gam.R:91:3', 'test-draw-gam.R:97:3',
    'test-draw-gam.R:103:3', 'test-draw-gam.R:109:3', 'test-draw-gam.R:115:3',
    'test-draw-gam.R:127:3', 'test-draw-gam.R:139:3', 'test-draw-gam.R:146:3',
    'test-draw-gam.R:153:3', 'test-draw-gam.R:159:3', 'test-draw-gam.R:165:3',
    'test-draw-gam.R:175:3', 'test-draw-gam.R:185:3', 'test-draw-gam.R:193:3',
    'test-draw-gam.R:201:3', 'test-draw-gam.R:235:3', 'test-draw-gam.R:242:3',
    'test-draw-gam.R:251:3', 'test-draw-methods.R:7:3',
    'test-draw-methods.R:36:3', 'test-draw-methods.R:49:3',
    'test-draw-methods.R:58:3', 'test-draw-methods.R:72:3',
    'test-draw-methods.R:100:3', 'test-draw-methods.R:112:3',
    'test-draw-methods.R:121:3', 'test-draw-methods.R:130:3',
    'test-draw-methods.R:138:3', 'test-draw-methods.R:145:3',
    'test-draw-methods.R:151:3', 'test-draw-methods.R:159:3',
    'test-draw-methods.R:168:3', 'test-draw-methods.R:193:3',
    'test-draw-methods.R:203:3', 'test-draw-methods.R:272:3',
    'test-draw-methods.R:281:3', 'test-draw-methods.R:292:3',
    'test-draw-methods.R:298:3', 'test-draw-methods.R:311:3',
    'test-draw-methods.R:334:3', 'test-draw-methods.R:342:3',
    'test-draw-methods.R:365:3', 'test-draw-methods.R:369:3',
    'test-draw-methods.R:379:3', 'test-draw-methods.R:393:3',
    'test-draw-methods.R:400:3', 'test-draw-methods.R:404:3',
    'test-draw-methods.R:430:3', 'test-draw-methods.R:473:3',
    'test-draw-methods.R:477:3', 'test-draw-methods.R:496:3',
    'test-draw-methods.R:522:3', 'test-draw-methods.R:526:3',
    'test-draw-methods.R:557:3', 'test-draw-methods.R:567:3',
    'test-draw-parametric-effects.R:14:3', 'test-draw-parametric-effects.R:28:3',
    'test-draw-parametric-effects.R:39:3', 'test-draw-parametric-effects.R:50:3',
    'test-draw-parametric-effects.R:64:3', 'test-draw-parametric-effects.R:68:3',
    'test-draw-parametric-effects.R:161:3',
    'test-draw-parametric-effects.R:212:3', 'test-draw-smooth-estimates.R:5:3',
    'test-draw-smooth-estimates.R:16:3', 'test-draw-smooth-estimates.R:23:3',
    'test-draw-smooth-estimates.R:27:3', 'test-draw-smooth-estimates.R:38:3',
    'test-draw-smooth-estimates.R:45:3', 'test-draw-smooth-estimates.R:52:3',
    'test-draw-smooth-estimates.R:59:3', 'test-draw-smooth-estimates.R:68:3',
    'test-draw-smooth-estimates.R:76:3', 'test-draw-smooth-estimates.R:83:3',
    'test-draw-smooth-estimates.R:95:3', 'test-draw-smooth-estimates.R:107:3',
    'test-draw-smooth-estimates.R:119:3', 'test-draw-smooth-estimates.R:131:3',
    'test-draw-smooth-estimates.R:143:3', 'test-draw-smooth-estimates.R:155:3',
    'test-draw-smooth-estimates.R:165:3', 'test-draw-smooth-estimates.R:175:3',
    'test-draw-smooth-estimates.R:179:3', 'test-draw-smooth-estimates.R:205:3',
    'test-draw-smooth-estimates.R:236:3', 'test-draw-smooth-estimates.R:261:3',
    'test-draw-smooth-estimates.R:296:3', 'test-draw-smooth-estimates.R:320:3',
    'test-draw-smooth-estimates.R:330:3', 'test-draw-smooth-estimates.R:340:3',
    'test-draw-smooth-estimates.R:356:3', 'test-edf.R:11:3', 'test-edf.R:20:3',
    'test-edf.R:34:3', 'test-edf.R:43:3', 'test-edf.R:61:3', 'test-edf.R:70:3',
    'test-edf.R:79:3', 'test-edf.R:88:3', 'test-edf.R:97:3', 'test-fderiv.R:6:3',
    'test-hgam-paper.R:39:3', 'test-hgam-paper.R:54:3', 'test-hgam-paper.R:73:3',
    'test-hgam-paper.R:89:3', 'test-hgam-paper.R:104:3',
    'test-hgam-paper.R:123:3', 'test-hgam-paper.R:139:3',
    'test-hgam-paper.R:162:3', 'test-hgam-paper.R:183:3',
    'test-hgam-paper.R:203:3', 'test-hgam-paper.R:220:3',
    'test-hgam-paper.R:240:3', 'test-lp-matrix.R:26:3', 'test-overview.R:22:3',
    'test-overview.R:31:3', 'test-overview.R:40:3',
    'test-parametric-effects.R:109:3', 'test-penalty.R:45:3',
    'test-penalty.R:58:3', 'test-penalty.R:69:3', 'test-penalty.R:99:3',
    'test-penalty.R:118: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:363:3',
    'test-posterior-samples.R:393:3', 'test-posterior-samples.R:398:3',
    'test-posterior-samples.R:451:3', 'test-posterior-samples.R:523:3',
    'test-posterior-samples.R:532:3', 'test-posterior-samples.R:541:3',
    'test-qq-plot.R:22:3', 'test-qq-plot.R:30:3', 'test-qq-plot.R:38:3',
    'test-qq-plot.R:46:3', 'test-qq-plot.R:56:3', 'test-qq-plot.R:63:3',
    'test-qq-plot.R:71:3', 'test-qq-plot.R:81:3', 'test-qq-plot.R:91:3',
    'test-response-derivatives.R:5:3', 'test-response-derivatives.R:41:3',
    'test-rootograms.R:4:3', 'test-rootograms.R:15:3', 'test-rootograms.R:19:3',
    'test-rootograms.R:32:3', 'test-simulate-methods.R:76:3',
    'test-smooth-coefs.R:55:3', '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:22:3', 'test-soap-films.R:31:3',
    'test-utilities.R:376: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:25:3', 'test-worm-plot.R:32:3', 'test-worm-plot.R:42:3',
    'test-worm-plot.R:53:3', 'test-worm-plot.R:60:3', 'test-worm-plot.R:70:3',
    'test-worm-plot.R:81:3', 'test-worm-plot.R:91:3', 'test-worm-plot.R:101:3'
  • This needs fixing as something in scam changed (1): 'test-basis.R:46:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-gjrm-methods.R:3:1'): (code run outside of `test_that()`) ──────
  <packageNotFoundError/error/condition>
  Error in `library("GJRM")`: there is no package called 'GJRM'
  Backtrace:
      ▆
   1. ├─base::suppressPackageStartupMessages(library("GJRM")) at test-gjrm-methods.R:3:1
   2. │ └─base::withCallingHandlers(expr, packageStartupMessage = function(c) tryInvokeRestart("muffleMessage"))
   3. └─base::library("GJRM")
  
  [ FAIL 1 | WARN 0 | SKIP 232 | PASS 2183 ]
  Deleting unused snapshots:
  • 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-gam-single-smooth.svg
  • compare-smooths/compare-smooths-bottom-legend.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
  • derivatives/draw-issue-57-derivatives-for-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-univariate-t2-smooth.svg
  • draw-gam/draw-gam-univariate-te-smooth.svg
  • draw-gam/draw-gam-univariate-ti-smooth.svg
  • draw-gam/ordered-grouped-by-gam.svg
  • draw-methods/draw-basic-tprs-basis-rotated.svg
  • draw-methods/draw-basic-tprs-basis.svg
  • draw-methods/draw-by-factor-basis.svg
  • draw-methods/draw-derivatives-for-a-gam-rotated-labels.svg
  • draw-methods/draw-derivatives-for-a-gam-with-default-change.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-derivatives-for-a-gam-with-sizer-change.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-smooth-for-two-selected-smooths-character.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-partial-derivatives-for-a-gam-with-fixed-scales.svg
  • draw-methods/draw-partial-derivatives-for-gam-fixed-scales-rotated.svg
  • draw-methods/draw-partial-derivatives-for-gam-rotated-labels.svg
  • draw-methods/draw-selected-factor-by-smooth-samples-for-gam-m3.svg
  • draw-methods/draw-selected-smooth-samples-for-gam-m3.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-gam-m1-rotated.svg
  • draw-methods/draw-smooth-samples-for-gam-m1.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-m1-n-samples.svg
  • draw-methods/draw-smooth-samples-for-m2-n-samples.svg
  • draw-methods/draw-with-ranef-smooth-factor-by-fixed-scales.svg
  • draw-methods/draw-works-for-sos-smooths.svg
  • draw-methods/issue-73-draw-uses-fixed-scales-if-asked-for-them.svg
  • draw-parametric-effects/draw-peff-preserves-factor-levels.svg
  • draw-parametric-effects/issue-219-parametric-effects.svg
  • draw-parametric-effects/ziplss-with-both-parametric-not-plotted.svg
  • draw-parametric-effects/ziplss-with-both-parametric-plotted.svg
  • draw-parametric-effects/ziplss-with-factor-para-not-plotted.svg
  • draw-parametric-effects/ziplss-with-factor-para-plotted.svg
  • draw-parametric-effects/ziplss-with-numeric-para-not-plotted.svg
  • draw-parametric-effects/ziplss-with-numeric-para-plotted.svg
  • draw-smooth-estimates/draw-gam-for-su-m-quadvar-t22.svg
  • draw-smooth-estimates/draw-gam-for-su-m-quadvar-te2.svg
  • draw-smooth-estimates/draw-gam-for-su-m-trivar-t22.svg
  • draw-smooth-estimates/draw-gam-for-su-m-trivar-te2.svg
  • draw-smooth-estimates/draw-gam-sos-chlorophyll-with-crs.svg
  • draw-smooth-estimates/draw-gam-sos-chlorophyll.svg
  • draw-smooth-estimates/draw-sm-est-grouped-by-true-ordered.svg
  • draw-smooth-estimates/draw-sm-est-grouped-by-true.svg
  • draw-smooth-estimates/draw-smooth-est-works-with-change-indicators.svg
  • draw-smooth-estimates/draw-smooth-est-works-with-sizer-indicators.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-quadvar-t22.svg
  • draw-smooth-estimates/draw-smooth-estimates-su-m-quadvar-te2.svg
  • draw-smooth-estimates/draw-smooth-estimates-su-m-trivar-t22.svg
  • draw-smooth-estimates/draw-smooth-estimates-su-m-trivar-te2.svg
  • draw-smooth-estimates/draw-smooth-estimates-univariate-t2-smooth.svg
  • draw-smooth-estimates/draw-smooth-estimates-univariate-te-smooth.svg
  • draw-smooth-estimates/draw-smooth-estimates-univariate-ti-smooth.svg
  • draw-smooth-estimates/draw-subtitle-ordered-by-smooths.svg
  • gjrm-methods/draw-simple-gjrm-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
  • parametric-effects/testing-issue-212.svg
  • penalty/draw-penalty-df-as-matrix-false.svg
  • penalty/draw-penalty-df-as-matrix-true.svg
  • penalty/draw-penalty-df-issue-95-label-order.svg
  • penalty/draw-penalty-df-with-multiple-smooths-normalized.svg
  • penalty/draw-penalty-df-with-multiple-smooths.svg
  • penalty/draw-penalty-df-with-single-smooths-normalized.svg
  • penalty/draw-penalty-df-with-single-smooths.svg
  • penalty/draw-penalty-multiple-smooths-user-continuous-fill.svg
  • penalty/draw-penalty-single-smooths-user-continuous-fill.svg
  • rootograms/draw-gaussian-rootogram.svg
  • rootograms/draw-neg-bin-rootogram.svg
  • rootograms/draw-neg-bin-sqrt-rootogram.svg
  • rootograms/draw-neg-bin-standing-rootogram.svg
  • rootograms/draw-neg-bin-suspended-rootogram.svg
  • soap-films/draw-gam-so-soap-film.svg
  • soap-films/draw-smooth-estimates-so-soap-film.svg
  Error: Test failures
  Execution halted