Running ‘test-all.R’ [2s/4s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library("testthat")
  > test_check('rebird')
  Loading required package: rebird
  ── Skip (test-ebirdfreq.R:4:3): ebirdfreq works correctly ──────────────────────
  Reason: On CRAN
  
  ── Skip (test-ebirdfreq.R:21:3): ebirdfreq fails correctly ─────────────────────
  Reason: On CRAN
  
  ── Skip (test-ebirdgeo.R:4:3): ebirdgeo works correctly ────────────────────────
  Reason: On CRAN
  
  ── Skip (test-ebirdhistorical.R:4:3): ebirdhistorical works correctly ──────────
  Reason: On CRAN
  
  ── Skip (test-ebirdhistorical.R:43:3): ebirdhistorical works correctly ─────────
  Reason: On CRAN
  
  ── Skip (test-ebirdhotspot.R:4:3): ebirdhotspot works correctly ────────────────
  Reason: On CRAN
  
  ── Skip (test-ebirdloc.R:4:3): ebirdloc works correctly ────────────────────────
  Reason: On CRAN
  
  ── Skip (test-ebirdloc.R:22:3): ebirdloc fails correctly ───────────────────────
  Reason: On CRAN
  
  ── Skip (test-ebirdnotable.R:4:3): ebirdnotable works correctly ────────────────
  Reason: On CRAN
  
  ── Skip (test-ebirdregion.R:4:3): ebirdregion works correctly ──────────────────
  Reason: On CRAN
  
  ── Skip (test-ebirdregioncheck.R:4:3): ebirdregioncheck works correctly ────────
  Reason: On CRAN
  
  ── Skip (test-ebirdregioncheck.R:19:3): ebirdregioncheck fails correctly ───────
  Reason: On CRAN
  
  ── Skip (test-ebirdregioninfo.R:4:3): ebirdregioninfo works correctly ──────────
  Reason: On CRAN
  
  ── Skip (test-ebirdregioninfo.R:27:3): ebirdregioninfo fails correctly ─────────
  Reason: On CRAN
  
  ── Skip (test-ebirdtaxonomy.R:4:3): ebirdtaxonomy works correctly ──────────────
  Reason: On CRAN
  
  ── Skip (test-ebirdtaxonomy.R:19:3): ebirdtaxonomy fails correctly ─────────────
  Reason: On CRAN
  
  ── ERROR (test-ebirdtaxonomy.R:29:3): ebirdtaxonomy works without an API key ───
  Error: Please install xml2 package
  Backtrace:
      █
   1. └─rebird::ebirdtaxonomy() test-ebirdtaxonomy.R:29:2
   2.   └─rebird:::ebird_GET(...)
   3.     └─httr::content(tt)
   4.       └─httr:::parse_auto(raw, type, encoding, ...)
   5.         └─httr:::parser(...)
   6.           └─httr:::need_package("xml2")
  
  ── Skip (test-nearestobs.R:4:3): nearestobs works correctly ────────────────────
  Reason: On CRAN
  
  ── Skip (test-nearestobs.R:20:3): ebirdloc fails correctly ─────────────────────
  Reason: On CRAN
  
  ── Skip (test-species_code.R:4:3): species_code works correctly ────────────────
  Reason: On CRAN
  
  ── Skip (test-species_code.R:16:3): species_code fails correctly ───────────────
  Reason: On CRAN
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● On CRAN (20)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  ERROR (test-ebirdtaxonomy.R:29:3): ebirdtaxonomy works without an API key
  
  [ FAIL 1 | WARN 0 | SKIP 20 | PASS 1 ]
  Error: Test failures
  Execution halted