Running ‘test-all.R’ [191s/303s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > ## 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.8-41. 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-13.
  
  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 6 | WARN 72 | SKIP 156 | PASS 1686 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (156)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-draw-gam.R:69'): draw.gam works for dlnm_m ───────────────────
  `plt <- draw(dlnm_m, rug = FALSE)` produced warnings.
  ── Failure ('test-draw-smooth-estimates.R:56'): draw.smooth_estimates works for su_m_bivar ──
  `plt <- draw(smooth_estimates(su_m_bivar, dist = 0.1))` produced warnings.
  ── Failure ('test-draw-smooth-estimates.R:62'): draw.smooth_estimates works for su_m_bivar_te ──
  `plt <- draw(smooth_estimates(su_m_bivar_te, dist = 0.1))` produced warnings.
  ── Failure ('test-draw-smooth-estimates.R:67'): draw.smooth_estimates works for su_m_bivar_t2 ──
  `plt <- draw(smooth_estimates(su_m_bivar_t2, dist = 0.1))` produced warnings.
  ── Failure ('test-smooth-estimates.R:103'): smooth_estimates works with a bivariate TPRS smooth with dist ──
  `sm <- smooth_estimates(su_m_bivar, "s(x,z)", n = 50, dist = 0.1)` produced warnings.
  ── Failure ('test-smooth-estimates.R:122'): smooth_estimates works with a bivariate te smooth with dist ──
  `sm <- smooth_estimates(su_m_bivar_te, "te(x,z)", n = 50, dist = 0.1)` produced warnings.
  
  [ FAIL 6 | WARN 72 | SKIP 156 | PASS 1686 ]
  Deleting unused snapshots:
  • 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-gamm.svg
  • difference-smooths/draw-difference-smooths-gamm4.svg
  • draw-gam/draw-gam-m-gamm4.svg
  • draw-methods/draw-2d-smooth-diff-contour-colour.svg
  • draw-methods/draw-2d-smooth-with-20-contour-bins.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-gam-m2.svg
  • draw-methods/draw-smooth-samples-for-gam-m3-fixed-scales.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-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
  • 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-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
  Error: Test failures
  Execution halted