Running ‘testthat.R’ [11s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(edibble)
  > 
  > test_check("edibble")
  Failed with error:  'there is no package called 'openxlsx2''
  Saving _problems/test-export-5.R
  Failed with error:  'there is no package called 'openxlsx2''
  Saving _problems/test-export-26.R
  [ FAIL 2 | WARN 0 | SKIP 19 | PASS 100 ]
  
  ══ Skipped tests (19) ══════════════════════════════════════════════════════════
  • On CRAN (14): 'test-design.R:1:1', 'test-edibble.R:1:1', 'test-menu.R:1:1',
    'test-menu.R:9:1', 'test-menu.R:17:1', 'test-menu.R:27:1',
    'test-menu.R:39:1', 'test-menu.R:51:1', 'test-menu.R:61:1',
    'test-nest.R:1:1', 'test-rcrds.R:1:1', 'test-serve.R:1:1', 'test-trts.R:1:1',
    'test-units.R:1:1'
  • empty test (3): 'test-attrs.R:60:1', 'test-nest.R:61:1', 'test-utils.R:1:1'
  • skip (2): 'test-rcrds.R:92:3', 'test-simulate.R:58:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-export.R:5:3'): export with no record ──────────────────────────
  Error in `export_design(des, file = fn, overwrite = TRUE, author = "Emi Tanaka")`: Please install the `openxlsx2` package to use this function.
  Backtrace:
      ▆
   1. ├─base::suppressMessages(...) at test-export.R:5:3
   2. │ └─base::withCallingHandlers(...)
   3. └─edibble::export_design(des, file = fn, overwrite = TRUE, author = "Emi Tanaka")
   4.   └─rlang::abort("Please install the `openxlsx2` package to use this function.")
  ── Error ('test-export.R:26:3'): export with record ────────────────────────────
  Error in `export_design(des, file = fn, overwrite = TRUE)`: Please install the `openxlsx2` package to use this function.
  Backtrace:
      ▆
   1. ├─base::suppressMessages(export_design(des, file = fn, overwrite = TRUE)) at test-export.R:26:3
   2. │ └─base::withCallingHandlers(...)
   3. └─edibble::export_design(des, file = fn, overwrite = TRUE)
   4.   └─rlang::abort("Please install the `openxlsx2` package to use this function.")
  
  [ FAIL 2 | WARN 0 | SKIP 19 | PASS 100 ]
  Error:
  ! Test failures.
  Execution halted