Running ‘test-all.R’ [17s/19s]
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
  ── 1. Error: draw() works with continuous by (@test-by-variables.R#17)  ────────
  there is no package called 'vdiffr'
  1: vdiffr::expect_doppelganger at testthat/test-by-variables.R:17
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: loadNamespace(name)
  6: withRestarts(stop(cond), retry_loadNamespace = function() NULL)
  7: withOneRestart(expr, restarts[[1L]])
  8: doWithOneRestart(return(expr), restart)
  
  ── 2. Error: draw.gam works with select and parametric = TRUE (@test-by-variable
  there is no package called 'vdiffr'
  1: vdiffr::expect_doppelganger at testthat/test-by-variables.R:69
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: loadNamespace(name)
  6: withRestarts(stop(cond), retry_loadNamespace = function() NULL)
  7: withOneRestart(expr, restarts[[1L]])
  8: doWithOneRestart(return(expr), restart)
  
  ── 3. Error: (unknown) (@test-diagnostic-plots.R#8)  ───────────────────────────
  there is no package called 'vdiffr'
  1: library("vdiffr") at testthat/test-diagnostic-plots.R:8
  
  ── 4. Error: (unknown) (@test-draw-methods.R#8)  ───────────────────────────────
  there is no package called 'vdiffr'
  1: library("vdiffr") at testthat/test-draw-methods.R:8
  
  ── 5. Error: (unknown) (@test-evaluate-smooth-methods.R#8)  ────────────────────
  there is no package called 'vdiffr'
  1: library("vdiffr") at testthat/test-evaluate-smooth-methods.R:8
  
  ── 6. Error: (unknown) (@test-hgam-paper.R#9)  ─────────────────────────────────
  there is no package called 'vdiffr'
  1: library("vdiffr") at testthat/test-hgam-paper.R:9
  
  ── 7. Error: (unknown) (@test-qq-plot.R#8)  ────────────────────────────────────
  there is no package called 'vdiffr'
  1: library("vdiffr") at testthat/test-qq-plot.R:8
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 381 SKIPPED: 0 WARNINGS: 0 FAILED: 7
  1. Error: draw() works with continuous by (@test-by-variables.R#17) 
  2. Error: draw.gam works with select and parametric = TRUE (@test-by-variables.R#69) 
  3. Error: (unknown) (@test-diagnostic-plots.R#8) 
  4. Error: (unknown) (@test-draw-methods.R#8) 
  5. Error: (unknown) (@test-evaluate-smooth-methods.R#8) 
  6. Error: (unknown) (@test-hgam-paper.R#9) 
  7. Error: (unknown) (@test-qq-plot.R#8) 
  
  Error: testthat unit tests failed
  Execution halted