Running ‘testthat.R’ [12s/8s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(logger)
  > 
  > test_check("logger")
  Starting 2 test processes
  [ FAIL 2 | WARN 0 | SKIP 22 | PASS 218 ]
  
  ══ Skipped tests (22) ══════════════════════════════════════════════════════════
  • On CRAN (22): 'test-appenders.R:65:3', 'test-helpers.R:33:3',
    'test-helpers.R:39:3', 'test-formatters.R:27:3', 'test-formatters.R:40:3',
    'test-formatters.R:57:3', 'test-formatters.R:76:3',
    'test-formatters.R:157:3', 'test-layouts.R:33:3', 'test-layouts.R:47:3',
    'test-layouts.R:77:3', 'test-logger.R:151:3', 'test-try.R:8:3',
    'test-utils.R:4:3', 'test-utils.R:13:3', 'test-hooks.R:2:3',
    'test-hooks.R:8:3', 'test-hooks.R:14:3', 'test-hooks.R:30:3',
    'test-hooks.R:42:3', 'test-hooks.R:57:3', 'test-hooks.R:72:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-formatters.R:143:3'): pander formatter ─────────────────────────
  Error: Please install the 'pander' package to use base::tryCatch
  Backtrace:
       ▆
    1. ├─testthat::expect_output(log_info(42), "_42_") at test-formatters.R:143:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. └─logger::log_info(42)
   11.   └─logger::log_level(...)
   12.     └─base::lapply(...)
   13.       └─logger (local) FUN(X[[i]], ...)
   14.         ├─base::structure(do.call(log_fun, log_arg), class = "logger")
   15.         ├─base::do.call(log_fun, log_arg)
   16.         └─logger (local) `<fn>`(...)
   17.           ├─base::do.call(...)
   18.           └─logger (local) `<fn>`(...)
   19.             └─logger::fail_on_missing_package("pander")
  ── Error ('test-layouts.R:85:3'): log_info() captures package info ─────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'devtools'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-layouts.R:85:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 2 | WARN 0 | SKIP 22 | PASS 218 ]
  Error: Test failures
  Execution halted