Running ‘testthat.R’ [5s/25s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(washex)
  > 
  > test_check("washex")
  Document is empty
  Document is empty
  Document is empty
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-getAffectedRCW.R:4:3): function works for each input type ───────
  <XMLParserErrorList/simpleError/error/condition>
  Error: There was an error retrieving data for one of the observations.
  Make sure that all arguments are valid for the time frame given.
  Otherwise, check your internet connection and try again.
  Backtrace:
      █
   1. └─washex::getAffectedRCW("2007-08", "HB 1001", type = "xml") test-getAffectedRCW.R:4:2
   2.   └─base::tryCatch(...)
   3.     └─base:::tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  ── Error (test-getAffectedRCW.R:14:3): function handles vector inputs ──────────
  <XMLParserErrorList/simpleError/error/condition>
  Error: There was an error retrieving data for one of the observations.
  Make sure that all arguments are valid for the time frame given.
  Otherwise, check your internet connection and try again.
  Backtrace:
      █
   1. └─washex::getAffectedRCW("2007-08", bills, type = "df") test-getAffectedRCW.R:14:2
   2.   └─base::tryCatch(...)
   3.     └─base:::tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  ── Error (test-getAmendments.R:2:3): function works for each input type ────────
  <XMLParserErrorList/simpleError/error/condition>
  Error: There was an error retrieving data for one of the observations.
  Make sure that all arguments are valid for the time frame given.
  Otherwise, check your internet connection and try again.
  Backtrace:
      █
   1. └─washex::getAmendments("2007-08", "1001", type = "df") test-getAmendments.R:2:2
   2.   └─base::tryCatch(...)
   3.     └─base:::tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 37 ]
  Error: Test failures
  Execution halted