Running ‘testthat.R’ [22s/38s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(modelsummary)
  > 
  > test_check("modelsummary")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● On CRAN (5)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-datasummary.R:99:3): datasummary: output format do not produce errors ──
  `datasummary(All(mtcars) ~ Mean + SD, mtcars, output = "huxtable")` threw an error.
  Message: Please install the huxtable package.
  Class:   simpleError/error/condition
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-datasummary.R:99:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─modelsummary::datasummary(All(mtcars) ~ Mean + SD, mtcars, output = "huxtable")
   7.   └─modelsummary:::factory(...)
   8.     └─modelsummary:::f(...)
   9.       └─modelsummary:::assert_dependency("huxtable")
  ── Failure (test-datasummary.R:101:3): datasummary: output format do not produce errors ──
  `datasummary(All(mtcars) ~ Mean + SD, mtcars, output = "huxtable")` threw an error.
  Message: Please install the huxtable package.
  Class:   simpleError/error/condition
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-datasummary.R:101:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─modelsummary::datasummary(All(mtcars) ~ Mean + SD, mtcars, output = "huxtable")
   7.   └─modelsummary:::factory(...)
   8.     └─modelsummary:::f(...)
   9.       └─modelsummary:::assert_dependency("huxtable")
  ── Failure (test-huxtable.R:39:3): save to file ────────────────────────────────
  `modelsummary(models, filename)` threw an error.
  Message: Please install the huxtable package.
  Class:   simpleError/error/condition
  Backtrace:
      █
   1. ├─testthat::expect_error(modelsummary(models, filename), NA) test-huxtable.R:39:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─modelsummary::modelsummary(models, filename)
   7.   └─modelsummary:::factory(...)
   8.     └─modelsummary:::f(...)
   9.       └─modelsummary:::assert_dependency("huxtable")
  ── Failure (test-huxtable.R:43:3): save to file ────────────────────────────────
  `modelsummary(models, filename)` threw an error.
  Message: Please install the huxtable package.
  Class:   simpleError/error/condition
  Backtrace:
      █
   1. ├─testthat::expect_error(modelsummary(models, filename), NA) test-huxtable.R:43:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─modelsummary::modelsummary(models, filename)
   7.   └─modelsummary:::factory(...)
   8.     └─modelsummary:::f(...)
   9.       └─modelsummary:::assert_dependency("huxtable")
  ── Failure (test-huxtable.R:47:3): save to file ────────────────────────────────
  `modelsummary(models, filename)` threw an error.
  Message: Please install the huxtable package.
  Class:   simpleError/error/condition
  Backtrace:
      █
   1. ├─testthat::expect_error(modelsummary(models, filename), NA) test-huxtable.R:47:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─modelsummary::modelsummary(models, filename)
   7.   └─modelsummary:::factory(...)
   8.     └─modelsummary:::f(...)
   9.       └─modelsummary:::assert_dependency("huxtable")
  ── Failure (test-huxtable.R:51:3): save to file ────────────────────────────────
  `modelsummary(models, filename)` threw an error.
  Message: Please install the huxtable package.
  Class:   simpleError/error/condition
  Backtrace:
      █
   1. ├─testthat::expect_error(modelsummary(models, filename), NA) test-huxtable.R:51:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─modelsummary::modelsummary(models, filename)
   7.   └─modelsummary:::factory(...)
   8.     └─modelsummary:::f(...)
   9.       └─modelsummary:::assert_dependency("huxtable")
  ── Failure (test-huxtable.R:55:3): save to file ────────────────────────────────
  `modelsummary(models, filename)` threw an error.
  Message: Please install the huxtable package.
  Class:   simpleError/error/condition
  Backtrace:
      █
   1. ├─testthat::expect_error(modelsummary(models, filename), NA) test-huxtable.R:55:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─modelsummary::modelsummary(models, filename)
   7.   └─modelsummary:::factory(...)
   8.     └─modelsummary:::f(...)
   9.       └─modelsummary:::assert_dependency("huxtable")
  
  [ FAIL 7 | WARN 0 | SKIP 5 | PASS 230 ]
  Error: Test failures
  Execution halted