Running 'test-all.R'
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
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (77)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-confint-methods.R:7:1): (code run outside of `test_that()`) ─────
  <packageNotFoundError/error/condition>
  Error in `library("gamm4")`: there is no package called 'gamm4'
  Backtrace:
      █
   1. └─base::library("gamm4") test-confint-methods.R:7:0
  ── Error (test-datagen.R:7:1): (code run outside of `test_that()`) ─────────────
  <packageNotFoundError/error/condition>
  Error in `library("gamm4")`: there is no package called 'gamm4'
  Backtrace:
      █
   1. └─base::library("gamm4") test-datagen.R:7:0
  ── Error (test-difference-smooths.R:7:1): (code run outside of `test_that()`) ──
  <packageNotFoundError/error/condition>
  Error in `library("gamm4")`: there is no package called 'gamm4'
  Backtrace:
      █
   1. └─base::library("gamm4") test-difference-smooths.R:7:0
  ── Error (test-family-utils.R:7:1): (code run outside of `test_that()`) ────────
  <packageNotFoundError/error/condition>
  Error in `library("gamm4")`: there is no package called 'gamm4'
  Backtrace:
      █
   1. └─base::library("gamm4") test-family-utils.R:7:0
  ── Error (test-residuals.R:7:1): (code run outside of `test_that()`) ───────────
  <packageNotFoundError/error/condition>
  Error in `library("gamm4")`: there is no package called 'gamm4'
  Backtrace:
      █
   1. └─base::library("gamm4") test-residuals.R:7:0
  ── Error (test-utilities.R:7:1): (code run outside of `test_that()`) ───────────
  <packageNotFoundError/error/condition>
  Error in `library("gamm4")`: there is no package called 'gamm4'
  Backtrace:
      █
   1. └─base::library("gamm4") test-utilities.R:7:0
  
  [ FAIL 6 | WARN 0 | SKIP 77 | PASS 518 ]
  Error: Test failures
  Execution halted