Running ‘testthat.R’ [9s/184s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RSocrata)
  > 
  > test_check("RSocrata")
  2021-12-20 17:53:09.378 getResponse: Error in httr GET: 500  https://data.cityofchicago.org/resource/4h87-zdcp.csv?$order=:id&$limit=50000&$offset=4049
  2021-12-20 17:53:20.869 getResponse: Error in httr GET: 500  https://data.cityofchicago.org/resource/xzkq-xp2w.csv?$order=:id&$limit=50000&$offset=31059
  2021-12-20 17:53:47.008 getResponse: Error in httr GET: 403  https://data.cityofchicago.org/resource/j8vp-2qpg.json?$order=:id
  2021-12-20 17:53:55.490 getResponse: Error in httr GET: 500  https://data.cityofchicago.org/resource/kn9c-c2s2.json?%24order=hardship_index
  2021-12-20 17:53:55.994 getResponse: Error in httr GET: 500  https://data.cityofchicago.org/resource/kn9c-c2s2.json?%24where=hardship_index%3E20&$order=:id
  2021-12-20 17:54:59.936 getResponse: Error in httr GET: 400  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
  2021-12-20 17:55:01.645 getResponse: Error in httr GET: 400  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • See Issue #174 (4)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-all.R:78:3): Date is not entirely NA if the first record is bad (issue 68) ──
  <http_500/http_error/error/condition>
  Error in `getResponse(query, email, password)`: Internal Server Error (HTTP 500).
  Backtrace:
      █
   1. └─RSocrata::read.socrata("https://data.cityofchicago.org/resource/4h87-zdcp.csv") test-all.R:78:2
   2.   └─RSocrata:::getResponse(query, email, password)
   3.     └─httr::stop_for_status(response)
  ── Error (test-all.R:104:3): converts money fields to numeric from Socrata ─────
  <http_500/http_error/error/condition>
  Error in `getResponse(query, email, password)`: Internal Server Error (HTTP 500).
  Backtrace:
      █
   1. └─RSocrata::read.socrata("https://data.cityofchicago.org/Administration-Finance/Current-Employee-Names-Salaries-and-Position-Title/xzkq-xp2w") test-all.R:104:2
   2.   └─RSocrata:::getResponse(query, email, password)
   3.     └─httr::stop_for_status(response)
  ── Error (test-all.R:325:3): If URL has an $order clause, do not insert ?$order:id into URL ──
  <http_500/http_error/error/condition>
  Error in `getResponse(validUrl, email, password)`: Internal Server Error (HTTP 500).
  Backtrace:
      █
   1. └─RSocrata::read.socrata("https://data.cityofchicago.org/resource/kn9c-c2s2.json?$order=hardship_index") test-all.R:325:2
   2.   └─RSocrata:::getResponse(validUrl, email, password)
   3.     └─httr::stop_for_status(response)
  ── Error (test-all.R:348:3): If URL has only non-order query parameters, insert $order:id into URL ──
  <http_500/http_error/error/condition>
  Error in `getResponse(validUrl, email, password)`: Internal Server Error (HTTP 500).
  Backtrace:
      █
   1. └─RSocrata::read.socrata("https://data.cityofchicago.org/resource/kn9c-c2s2.json?$where=hardship_index>20") test-all.R:348:2
   2.   └─RSocrata:::getResponse(validUrl, email, password)
   3.     └─httr::stop_for_status(response)
  
  [ FAIL 4 | WARN 4 | SKIP 4 | PASS 123 ]
  Error: Test failures
  Execution halted