Running 'test-all.R'
Running the tests in 'tests/test-all.R' failed.
Complete output:
  > library(testthat)
  > library(selectr)
  > 
  > test_check("selectr")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-method-registration.R:4:5): method registration occurs correctly ──
  Error: there is no package called 'XML'
  Backtrace:
      █
   1. └─base::library(XML) test-method-registration.R:4:4
  ── Error (test-querySelector-XML.R:4:5): querySelector returns a single node or NULL ──
  Error: there is no package called 'XML'
  Backtrace:
      █
   1. └─base::library(XML) test-querySelector-XML.R:4:4
  ── Error (test-querySelector-XML.R:29:5): querySelectorAll returns expected nodes ──
  Error: there is no package called 'XML'
  Backtrace:
      █
   1. └─base::library(XML) test-querySelector-XML.R:29:4
  ── Error (test-querySelector-XML.R:52:5): querySelectorAll returns empty list for no match ──
  Error: there is no package called 'XML'
  Backtrace:
      █
   1. └─base::library(XML) test-querySelector-XML.R:52:4
  ── Error (test-querySelector-XML.R:62:5): querySelector handles namespaces ─────
  Error: there is no package called 'XML'
  Backtrace:
      █
   1. └─base::library(XML) test-querySelector-XML.R:62:4
  ── Error (test-querySelector-XML.R:81:5): querySelectorAll handles namespaces ──
  Error: there is no package called 'XML'
  Backtrace:
      █
   1. └─base::library(XML) test-querySelector-XML.R:81:4
  ── Error (test-querySelector-XML.R:102:5): querySelector methods handle invalid arguments ──
  Error: there is no package called 'XML'
  Backtrace:
      █
   1. └─base::library(XML) test-querySelector-XML.R:102:4
  ── Error (test-select-XML.R:30:5): selection works correctly on a large barrage of tests ──
  Error: there is no package called 'XML'
  Backtrace:
      █
   1. └─base::library(XML) test-select-XML.R:30:4
  ── Error (test-shakespeare-XML.R:205:5): selection works correctly on a shakespearean document ──
  Error: there is no package called 'XML'
  Backtrace:
      █
   1. └─base::library(XML) test-shakespeare-XML.R:205:4
  ── Error (test-xmllang-XML.R:14:5): xml lang function matches correct elements ──
  Error: there is no package called 'XML'
  Backtrace:
      █
   1. └─base::library(XML) test-xmllang-XML.R:14:4
  
  [ FAIL 10 | WARN 6 | SKIP 0 | PASS 436 ]
  Error: Test failures
  Execution halted