Running 'testthat.R' [364s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(proverbs)
  > 
  > test_check("proverbs")
  That translation is not available!
   ⚠ Use the translations() function to see a list of available translations. 
  One of those colors is not available!
   ⚠ Check the {crayon} website to see a list of supported colors: https://github.com/r-lib/crayon 
  One of those colors is not available!
   ⚠ Check the {crayon} website to see a list of supported colors: https://github.com/r-lib/crayon 
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 4 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-proverb.R:4:3'): bbe works ─────────────────────────────────────
  Error: Please install xml2 package
  Backtrace:
       ▆
    1. ├─testthat::expect_output(proverb("bbe")) at test-proverb.R:4:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. ├─proverbs::proverb("bbe")
   11. │ ├─... %>% purrr::as_vector()
   12. │ └─httr::content(r)
   13. │   └─httr:::parse_auto(raw, type, encoding, ...)
   14. │     └─httr (local) parser(x = content, type = type, encoding = encoding, ...)
   15. │       └─httr:::need_package("xml2")
   16. ├─purrr::as_vector(.)
   17. │ └─purrr:::as_vector_(.x, .type)
   18. │   └─purrr:::can_simplify(.x, .type)
   19. │     └─base::vapply(x, is.atomic, logical(1))
   20. └─purrr::map(., purrr::pluck, "text")
   21.   └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
   22.     └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
  ── Error ('test-proverb.R:10:3'): kjv works ────────────────────────────────────
  Error: Please install xml2 package
  Backtrace:
       ▆
    1. ├─testthat::expect_output(proverb("kjv")) at test-proverb.R:10:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. ├─proverbs::proverb("kjv")
   11. │ ├─... %>% purrr::as_vector()
   12. │ └─httr::content(r)
   13. │   └─httr:::parse_auto(raw, type, encoding, ...)
   14. │     └─httr (local) parser(x = content, type = type, encoding = encoding, ...)
   15. │       └─httr:::need_package("xml2")
   16. ├─purrr::as_vector(.)
   17. │ └─purrr:::as_vector_(.x, .type)
   18. │   └─purrr:::can_simplify(.x, .type)
   19. │     └─base::vapply(x, is.atomic, logical(1))
   20. └─purrr::map(., purrr::pluck, "text")
   21.   └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
   22.     └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
  ── Error ('test-proverb.R:16:3'): web works ────────────────────────────────────
  Error: Please install xml2 package
  Backtrace:
       ▆
    1. ├─testthat::expect_output(proverb("web")) at test-proverb.R:16:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. ├─proverbs::proverb("web")
   11. │ ├─... %>% purrr::as_vector()
   12. │ └─httr::content(r)
   13. │   └─httr:::parse_auto(raw, type, encoding, ...)
   14. │     └─httr (local) parser(x = content, type = type, encoding = encoding, ...)
   15. │       └─httr:::need_package("xml2")
   16. ├─purrr::as_vector(.)
   17. │ └─purrr:::as_vector_(.x, .type)
   18. │   └─purrr:::can_simplify(.x, .type)
   19. │     └─base::vapply(x, is.atomic, logical(1))
   20. └─purrr::map(., purrr::pluck, "text")
   21.   └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
   22.     └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
  ── Error ('test-proverb.R:22:3'): webbe works ──────────────────────────────────
  Error: Please install xml2 package
  Backtrace:
       ▆
    1. ├─testthat::expect_output(proverb("webbe")) at test-proverb.R:22:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. ├─proverbs::proverb("webbe")
   11. │ ├─... %>% purrr::as_vector()
   12. │ └─httr::content(r)
   13. │   └─httr:::parse_auto(raw, type, encoding, ...)
   14. │     └─httr (local) parser(x = content, type = type, encoding = encoding, ...)
   15. │       └─httr:::need_package("xml2")
   16. ├─purrr::as_vector(.)
   17. │ └─purrr:::as_vector_(.x, .type)
   18. │   └─purrr:::can_simplify(.x, .type)
   19. │     └─base::vapply(x, is.atomic, logical(1))
   20. └─purrr::map(., purrr::pluck, "text")
   21.   └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
   22.     └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
  ── Error ('test-proverb.R:28:3'): almeida works ────────────────────────────────
  Error: Please install xml2 package
  Backtrace:
       ▆
    1. ├─testthat::expect_output(proverb("almeida")) at test-proverb.R:28:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. ├─proverbs::proverb("almeida")
   11. │ ├─... %>% purrr::as_vector()
   12. │ └─httr::content(r)
   13. │   └─httr:::parse_auto(raw, type, encoding, ...)
   14. │     └─httr (local) parser(x = content, type = type, encoding = encoding, ...)
   15. │       └─httr:::need_package("xml2")
   16. ├─purrr::as_vector(.)
   17. │ └─purrr:::as_vector_(.x, .type)
   18. │   └─purrr:::can_simplify(.x, .type)
   19. │     └─base::vapply(x, is.atomic, logical(1))
   20. └─purrr::map(., purrr::pluck, "text")
   21.   └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
   22.     └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
  ── Error ('test-proverb.R:34:3'): rccv works ───────────────────────────────────
  Error: Please install xml2 package
  Backtrace:
       ▆
    1. ├─testthat::expect_output(proverb("rccv")) at test-proverb.R:34:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. ├─proverbs::proverb("rccv")
   11. │ ├─... %>% purrr::as_vector()
   12. │ └─httr::content(r)
   13. │   └─httr:::parse_auto(raw, type, encoding, ...)
   14. │     └─httr (local) parser(x = content, type = type, encoding = encoding, ...)
   15. │       └─httr:::need_package("xml2")
   16. ├─purrr::as_vector(.)
   17. │ └─purrr:::as_vector_(.x, .type)
   18. │   └─purrr:::can_simplify(.x, .type)
   19. │     └─base::vapply(x, is.atomic, logical(1))
   20. └─purrr::map(., purrr::pluck, "text")
   21.   └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
   22.     └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
  
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 4 ]
  Error: Test failures
  Execution halted