Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [11s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ibawds)
  Loading required package: dslabs
  > 
  > test_check("ibawds")
  Saving _problems/test-grading_tables-54.R
  Saving _problems/test-grading_tables-65.R
  Saving _problems/test-grading_tables-71.R
  Saving _problems/test-grading_tables-83.R
  [ FAIL 4 | WARN 0 | SKIP 15 | PASS 178 ]
  
  ══ Skipped tests (15) ══════════════════════════════════════════════════════════
  • On CRAN (13): 'test-checks.R:12:3', 'test-checks.R:93:3',
    'test-checks.R:135:3', 'test-checks.R:162:3', 'test-checks.R:237:3',
    'test-cran_packages.R:8:3', 'test-cran_packages.R:20:3',
    'test-cran_packages.R:27:3', 'test-dist_plots.R:24:1',
    'test-dist_plots.R:38:1', 'test-dist_plots.R:54:1', 'test-dist_plots.R:70:1',
    'test-voronoi.R:7:1'
  • not all the required packages are installed. (1): 'test-install.R:33:3'
  • {knitr} is not installed. (1): 'test-slide_tools.R:2:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-grading_tables.R:54:3'): test create_minreq_table ──────────────
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `create_minreq_table(TRUE, 3, 3, 5, 2)`: The package "kableExtra" is required.
  Backtrace:
      ▆
   1. └─ibawds::create_minreq_table(TRUE, 3, 3, 5, 2) at test-grading_tables.R:54:3
   2.   └─rlang::check_installed("kableExtra")
  ── Error ('test-grading_tables.R:65:3'): test create_grading_table ─────────────
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `create_grading_table(2.5, 2, 3, 1, 2)`: The package "kableExtra" is required.
  Backtrace:
      ▆
   1. └─ibawds::create_grading_table(2.5, 2, 3, 1, 2) at test-grading_tables.R:65:3
   2.   └─rlang::check_installed("kableExtra")
  ── Error ('test-grading_tables.R:71:3'): test English tables ───────────────────
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `create_minreq_table(FALSE, 2, 3, 3, 0, lang = "en")`: The package "kableExtra" is required.
  Backtrace:
      ▆
   1. └─ibawds::create_minreq_table(FALSE, 2, 3, 3, 0, lang = "en") at test-grading_tables.R:71:3
   2.   └─rlang::check_installed("kableExtra")
  ── Error ('test-grading_tables.R:82:3'): test invalid inputs ───────────────────
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `create_grading_table(1, 1, 1, 1, -1)`: The package "kableExtra" is required.
  Backtrace:
      ▆
   1. ├─testthat::expect_error(...) at test-grading_tables.R:82:3
   2. │ └─testthat:::expect_condition_matching_(...)
   3. │   └─testthat:::quasi_capture(...)
   4. │     ├─testthat (local) .capture(...)
   5. │     │ └─base::withCallingHandlers(...)
   6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   7. └─ibawds::create_grading_table(1, 1, 1, 1, -1)
   8.   └─rlang::check_installed("kableExtra")
  
  [ FAIL 4 | WARN 0 | SKIP 15 | PASS 178 ]
  Error:
  ! Test failures.
  Execution halted