Running ‘testthat.R’ [170s/567s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(precommit)
  > test_check("precommit")
  [ FAIL 3 | WARN 0 | SKIP 5 | PASS 148 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • !is_windows() is TRUE (1)
  • On CRAN (3)
  • not_conda() is TRUE (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-hook-roxygenize.R:84:3): asserting installed dependencies ─────
  `roxygen_assert_additional_dependencies()` did not throw an error.
  ── Failure (test-hook-roxygenize.R:126:3): fails gratefully when not installed package is called (packageNotFoundError) ──
  `roxygenize_with_cache(list(getwd()), dirs = dirs_R.cache("roxygenize"))` threw an error with unexpected message.
  Expected match: "Please add the package as a dependency"
  Actual message: "Failed to load 'R/blur.R'\nCaused by error in `loadNamespace()`:\n! there is no package called 'package0258f7c1bcf0139d5ab88cd31510077d'"
  Backtrace:
      ▆
   1. ├─testthat::expect_error(...) at test-hook-roxygenize.R:126:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─precommit::roxygenize_with_cache(list(getwd()), dirs = dirs_R.cache("roxygenize"))
   7.   └─rlang::abort(conditionMessage(out))
  ── Failure (test-hook-roxygenize.R:138:3): fails gratefully when not installed package is required according to `DESCRIPTION` ──
  `suppressWarnings(roxygenize_with_cache(list(getwd()), dirs = dirs_R.cache("roxygenize")))` threw an error with unexpected message.
  Expected match: "Please add the package"
  Actual message: "The package `packageb09432759a8f1b326b988b595af06587` is required."
  Backtrace:
      ▆
   1. ├─testthat::expect_error(...) at test-hook-roxygenize.R:138:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. ├─base::suppressWarnings(roxygenize_with_cache(list(getwd()), dirs = dirs_R.cache("roxygenize")))
   7. │ └─base::withCallingHandlers(...)
   8. └─precommit::roxygenize_with_cache(list(getwd()), dirs = dirs_R.cache("roxygenize"))
   9.   └─rlang::abort(conditionMessage(out))
  
  [ FAIL 3 | WARN 0 | SKIP 5 | PASS 148 ]
  Error: Test failures
  Execution halted