Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(lmeresampler)
  > 
  > 
  > 
  > test_check("lmeresampler")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (9)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-case-lme4.R:1:1): (code run outside of `test_that()`) ───────────
  <packageNotFoundError/error/condition>
  Error in `library(lme4, quietly = TRUE)`: there is no package called 'lme4'
  Backtrace:
      █
   1. └─base::library(lme4, quietly = TRUE) test-case-lme4.R:1:0
  ── Error (test-case-nlme.R:3:1): (code run outside of `test_that()`) ───────────
  <packageNotFoundError/error/condition>
  Error in `find.package(package, lib.loc, verbose = verbose)`: there is no package called 'mlmRev'
  Backtrace:
      █
   1. └─utils::data(Socatt, package = "mlmRev") test-case-nlme.R:3:0
   2.   └─base::find.package(package, lib.loc, verbose = verbose)
  ── Error (test-parametric-lme4.R:1:1): (code run outside of `test_that()`) ─────
  <packageNotFoundError/error/condition>
  Error in `library(lme4)`: there is no package called 'lme4'
  Backtrace:
      █
   1. └─base::library(lme4) test-parametric-lme4.R:1:0
  ── Error (test-parametric-nlme.R:3:1): (code run outside of `test_that()`) ─────
  <packageNotFoundError/error/condition>
  Error in `find.package(package, lib.loc, verbose = verbose)`: there is no package called 'mlmRev'
  Backtrace:
      █
   1. └─utils::data(Socatt, package = "mlmRev") test-parametric-nlme.R:3:0
   2.   └─base::find.package(package, lib.loc, verbose = verbose)
  ── Error (test-reb-lme4.R:1:1): (code run outside of `test_that()`) ────────────
  <packageNotFoundError/error/condition>
  Error in `library(lme4)`: there is no package called 'lme4'
  Backtrace:
      █
   1. └─base::library(lme4) test-reb-lme4.R:1:0
  ── Error (test-resid-lme4.R:1:1): (code run outside of `test_that()`) ──────────
  <packageNotFoundError/error/condition>
  Error in `library(lme4)`: there is no package called 'lme4'
  Backtrace:
      █
   1. └─base::library(lme4) test-resid-lme4.R:1:0
  ── Error (test-resid-nlme.R:3:1): (code run outside of `test_that()`) ──────────
  <packageNotFoundError/error/condition>
  Error in `find.package(package, lib.loc, verbose = verbose)`: there is no package called 'mlmRev'
  Backtrace:
      █
   1. └─utils::data(Socatt, package = "mlmRev") test-resid-nlme.R:3:0
   2.   └─base::find.package(package, lib.loc, verbose = verbose)
  ── Error (test-wild-lme4.R:1:1): (code run outside of `test_that()`) ───────────
  <packageNotFoundError/error/condition>
  Error in `library(lme4)`: there is no package called 'lme4'
  Backtrace:
      █
   1. └─base::library(lme4) test-wild-lme4.R:1:0
  ── Error (test-wild-nlme.R:3:1): (code run outside of `test_that()`) ───────────
  <packageNotFoundError/error/condition>
  Error in `find.package(package, lib.loc, verbose = verbose)`: there is no package called 'mlmRev'
  Backtrace:
      █
   1. └─utils::data(Socatt, package = "mlmRev") test-wild-nlme.R:3:0
   2.   └─base::find.package(package, lib.loc, verbose = verbose)
  
  [ FAIL 9 | WARN 0 | SKIP 9 | PASS 0 ]
  Error: Test failures
  Execution halted