Running ‘spelling.R’
  Running ‘testthat.R’ [26s/45s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ibawds)
  Loading required package: dslabs
  > 
  > test_check("ibawds")
  Saving _problems/test-evaluate_casestudy-27.R
  Saving _problems/test-evaluate_casestudy-36.R
  Saving _problems/test-evaluate_casestudy-48.R
  Saving _problems/test-evaluate_casestudy-63.R
  Saving _problems/test-evaluate_casestudy-75.R
  [ FAIL 5 | WARN 0 | SKIP 15 | PASS 192 ]
  
  ══ Skipped tests (15) ══════════════════════════════════════════════════════════
  • On CRAN (14): '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-slide_tools.R:37:3', 'test-voronoi.R:7:1'
  • not all the required packages are installed. (1): 'test-install.R:33:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-evaluate_casestudy.R:27:3'): evaluate_casestudy() works for a perfect file ──
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `evaluate_casestudy(ok_file, sol_file)`: The package "nanoparquet" is required.
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-evaluate_casestudy.R:27:3
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─ibawds::evaluate_casestudy(ok_file, sol_file)
   5.   └─rlang::check_installed("nanoparquet")
  ── Error ('test-evaluate_casestudy.R:35:3'): evaluate_casestudy() works for an incomplete file ──
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `evaluate_casestudy(nok_file, sol_file)`: The package "nanoparquet" is required.
  Backtrace:
       ▆
    1. ├─... %>% ... at test-evaluate_casestudy.R:35:3
    2. ├─testthat::expect_warning(., str_glue("{nok_file} does not contain predictions"))
    3. │ └─testthat:::expect_condition_matching_(...)
    4. │   └─testthat:::quasi_capture(...)
    5. │     ├─testthat (local) .capture(...)
    6. │     │ └─base::withCallingHandlers(...)
    7. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    8. ├─testthat::expect_equal(...)
    9. │ └─testthat::quasi_label(enquo(object), label)
   10. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   11. └─ibawds::evaluate_casestudy(nok_file, sol_file)
   12.   └─rlang::check_installed("nanoparquet")
  ── Error ('test-evaluate_casestudy.R:44:3'): evaluate_casestudy() works for a file with errors ──
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `evaluate_casestudy(errors_file, sol_file)`: The package "nanoparquet" is required.
  Backtrace:
       ▆
    1. ├─... %>% ... at test-evaluate_casestudy.R:44:3
    2. ├─testthat::expect_warning(., str_glue("{errors_file} contains predictions that are NA"))
    3. │ └─testthat:::expect_condition_matching_(...)
    4. │   └─testthat:::quasi_capture(...)
    5. │     ├─testthat (local) .capture(...)
    6. │     │ └─base::withCallingHandlers(...)
    7. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    8. ├─testthat::expect_warning(., str_glue("{errors_file} contains invalid predictions"))
    9. │ └─testthat:::expect_condition_matching_(...)
   10. │   └─testthat:::quasi_capture(...)
   11. │     ├─testthat (local) .capture(...)
   12. │     │ └─base::withCallingHandlers(...)
   13. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   14. ├─testthat::expect_warning(., str_glue("{errors_file} contains invalid ids"))
   15. │ └─testthat:::expect_condition_matching_(...)
   16. │   └─testthat:::quasi_capture(...)
   17. │     ├─testthat (local) .capture(...)
   18. │     │ └─base::withCallingHandlers(...)
   19. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   20. ├─testthat::expect_warning(., str_glue("{errors_file} does not contain predictions"))
   21. │ └─testthat:::expect_condition_matching_(...)
   22. │   └─testthat:::quasi_capture(...)
   23. │     ├─testthat (local) .capture(...)
   24. │     │ └─base::withCallingHandlers(...)
   25. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   26. ├─testthat::expect_equal(...)
   27. │ └─testthat::quasi_label(enquo(object), label)
   28. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   29. └─ibawds::evaluate_casestudy(errors_file, sol_file)
   30.   └─rlang::check_installed("nanoparquet")
  ── Error ('test-evaluate_casestudy.R:53:3'): evaluate_casestudy() works with multiple files ──
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `evaluate_casestudy(c(ok_file, nok_file, errors_file), sol_file)`: The package "nanoparquet" is required.
  Backtrace:
       ▆
    1. ├─... %>% ... at test-evaluate_casestudy.R:53:3
    2. ├─testthat::expect_warning(., str_glue("{errors_file} contains predictions that are NA"))
    3. │ └─testthat:::expect_condition_matching_(...)
    4. │   └─testthat:::quasi_capture(...)
    5. │     ├─testthat (local) .capture(...)
    6. │     │ └─base::withCallingHandlers(...)
    7. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    8. ├─testthat::expect_warning(., str_glue("{errors_file} contains invalid predictions"))
    9. │ └─testthat:::expect_condition_matching_(...)
   10. │   └─testthat:::quasi_capture(...)
   11. │     ├─testthat (local) .capture(...)
   12. │     │ └─base::withCallingHandlers(...)
   13. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   14. ├─testthat::expect_warning(., str_glue("{errors_file} contains invalid ids"))
   15. │ └─testthat:::expect_condition_matching_(...)
   16. │   └─testthat:::quasi_capture(...)
   17. │     ├─testthat (local) .capture(...)
   18. │     │ └─base::withCallingHandlers(...)
   19. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   20. ├─testthat::expect_warning(., str_glue("{errors_file} does not contain predictions"))
   21. │ └─testthat:::expect_condition_matching_(...)
   22. │   └─testthat:::quasi_capture(...)
   23. │     ├─testthat (local) .capture(...)
   24. │     │ └─base::withCallingHandlers(...)
   25. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   26. ├─testthat::expect_warning(., str_glue("{nok_file} does not contain predictions"))
   27. │ └─testthat:::expect_condition_matching_(...)
   28. │   └─testthat:::quasi_capture(...)
   29. │     ├─testthat (local) .capture(...)
   30. │     │ └─base::withCallingHandlers(...)
   31. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   32. ├─testthat::expect_equal(...)
   33. │ └─testthat::quasi_label(enquo(object), label)
   34. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   35. └─ibawds::evaluate_casestudy(...)
   36.   └─rlang::check_installed("nanoparquet")
  ── Error ('test-evaluate_casestudy.R:72:3'): evaluate_casestudy() works with draws ──
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `evaluate_casestudy(pred_files, sol_file)`: The package "nanoparquet" is required.
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-evaluate_casestudy.R:72:3
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─base::suppressWarnings(evaluate_casestudy(pred_files, sol_file))
   5. │ └─base::withCallingHandlers(...)
   6. └─ibawds::evaluate_casestudy(pred_files, sol_file)
   7.   └─rlang::check_installed("nanoparquet")
  
  [ FAIL 5 | WARN 0 | SKIP 15 | PASS 192 ]
  Error:
  ! Test failures.
  Execution halted