Running ‘testthat.R’ [9s/250s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RSocrata)
  > 
  > test_check("RSocrata")
  2020-07-20 19:06:59.485 getResponse: Error in httr GET: 401  http://data.cityofchicago.org/resource/j8vp-2qpg.json?$order=:id
  2020-07-20 19:10:28.940 getResponse: Error in httr GET: 503  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
  ── 1. Error: CSV with Token (@test-all.R#390)  ─────────────────────────────────
  Service Unavailable (HTTP 503).
  Backtrace:
   1. RSocrata::read.socrata(...)
   2. RSocrata:::getResponse(validUrl, email, password)
   3. httr::stop_for_status(response)
  
  2020-07-20 19:10:30.321 getResponse: Error in httr GET: 503  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
  ── 2. Error: API Conflict (@test-all.R#403)  ───────────────────────────────────
  Service Unavailable (HTTP 503).
  Backtrace:
   1. RSocrata::read.socrata(...)
   2. RSocrata:::getResponse(validUrl, email, password)
   3. httr::stop_for_status(response)
  
  2020-07-20 19:10:30.851 getResponse: Error in httr GET: 503  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id&$limit=50000&$offset=1000
  ── 3. Error: readAPIConflictHumanReadable (@test-all.R#411)  ───────────────────
  Service Unavailable (HTTP 503).
  Backtrace:
   1. RSocrata::read.socrata(...)
   2. RSocrata:::getResponse(query, email, password)
   3. httr::stop_for_status(response)
  
  2020-07-20 19:10:31.063 getResponse: Error in httr GET: 400  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
  2020-07-20 19:10:31.786 getResponse: Error in httr GET: 503  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id&$limit=50000&$offset=1007
  ── 4. Error: incorrect API Query (@test-all.R#422)  ────────────────────────────
  Service Unavailable (HTTP 503).
  Backtrace:
   1. RSocrata::read.socrata("https://soda.demo.socrata.com/resource/4334-bgaj.csv?$$app_token=ew2rEMuESuzWPqMkyPfOSGJgE")
   2. RSocrata:::getResponse(query, email, password)
   3. httr::stop_for_status(response)
  
  2020-07-20 19:10:32.383 getResponse: Error in httr GET: 400  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
  2020-07-20 19:10:32.592 getResponse: Error in httr GET: 503  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
  ── 5. Error: incorrect API Query Human Readable (@test-all.R#437)  ─────────────
  Service Unavailable (HTTP 503).
  Backtrace:
   1. RSocrata::read.socrata("https://soda.demo.socrata.com/dataset/USGS-Earthquake-Reports/4334-bgaj?$$app_token=ew2rEMuESuzWPqMkyPfOSGJgE")
   2. RSocrata:::getResponse(validUrl, email, password)
   3. httr::stop_for_status(response)
  
  2020-07-20 19:10:32.810 getResponse: Error in httr GET: 503  https://soda.demo.socrata.com/resource/4334-bgaj.csv?$order=:id
  ── 6. Error: Handle /data suffix (@test-all.R#445)  ────────────────────────────
  Service Unavailable (HTTP 503).
  Backtrace:
   1. RSocrata::read.socrata("https://soda.demo.socrata.com/dataset/USGS-Earthquake-Reports/4334-bgaj/data")
   2. RSocrata:::getResponse(validUrl, email, password)
   3. httr::stop_for_status(response)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 126 | SKIPPED: 4 | WARNINGS: 2 | FAILED: 6 ]
  1. Error: CSV with Token (@test-all.R#390) 
  2. Error: API Conflict (@test-all.R#403) 
  3. Error: readAPIConflictHumanReadable (@test-all.R#411) 
  4. Error: incorrect API Query (@test-all.R#422) 
  5. Error: incorrect API Query Human Readable (@test-all.R#437) 
  6. Error: Handle /data suffix (@test-all.R#445) 
  
  Error: testthat unit tests failed
  Execution halted