Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [6s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ibawds)
  Loading required package: dslabs
  > 
  > test_check("ibawds")
  [ FAIL 4 | WARN 0 | SKIP 15 | PASS 154 ]
  
  ══ Skipped tests (15) ══════════════════════════════════════════════════════════
  • On CRAN (12): 'test-checks.R:83:3', 'test-checks.R:98:3',
    'test-checks.R:173:3', 'test-cran_packages.R:8:3',
    'test-cran_packages.R:20:3', 'test-cran_packages.R:27:3',
    'test-dist_plots.R:25:3', 'test-dist_plots.R:39:3', 'test-dist_plots.R:55:3',
    'test-dist_plots.R:71:3', 'test-slide_tools.R:37:3', 'test-voronoi.R:8:3'
  • On Mac (2): 'test-checks.R:4:3', 'test-checks.R:47:3'
  • not all the required packages are installed. (1): 'test-install.R:32:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-grading_tables.R:36:3'): test create_minreq_table ──────────────
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `create_minreq_table(TRUE, 3, 2, 5, 2)`: The package "kableExtra" is required.
  Backtrace:
      ▆
   1. └─ibawds::create_minreq_table(TRUE, 3, 2, 5, 2) at test-grading_tables.R:36:3
   2.   └─rlang::check_installed("kableExtra")
  ── Error ('test-grading_tables.R:47: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:47:3
   2.   └─rlang::check_installed("kableExtra")
  ── Error ('test-grading_tables.R:54: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:54: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")
  ── Failure ('test-install.R:100:3'): test get_software_versions() ──────────────
  sw$pkg_installed is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 4 | WARN 0 | SKIP 15 | PASS 154 ]
  Deleting unused snapshots:
  • dist_plots/density-plot-chi2.svg
  • dist_plots/density-plot-poisson.svg
  • dist_plots/density-plot-weibull.svg
  • dist_plots/distribution-plot-poisson-continuous.svg
  • dist_plots/distribution-plot-uniform.svg
  • voronoi/voronoi-suppress-data.svg
  • voronoi/voronoi-uncoloured-data.svg
  • voronoi/voronoi-with-data.svg
  • voronoi/voronoi-with-options.svg
  Error: Test failures
  Execution halted