Running ‘testthat.R’ [13s/356s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RSocrata)
  > 
  > test_check("RSocrata")
  2018-08-03 06:30:32.273 getResponse: Error in httr GET: 400  http://soda.demo.socrata.com/resource/4334-bgaj.csv?%24select=Region&$order=:id
  2018-08-03 06:30:32.538 getResponse: Error in httr GET: 401  http://data.cityofchicago.org/resource/j8vp-2qpg.json?$order=:id
  ── 1. Error: Accept a URL with a $limit= clause and properly limit the results (
  parse error: premature EOF
                                         [ {   "datetime" : "2012-09-14T
                       (right here) ------^
  1: read.socrata("http://soda.demo.socrata.com/resource/4334-bgaj.json?$LIMIT=1001&$order=:id") at testthat/test-all.R:278
  2: getContentAsDataFrame(response)
  3: httr::content(response)
  4: parse_auto(raw, type, encoding, ...)
  5: parser(x = content, type = type, encoding = encoding, ...)
  6: jsonlite::fromJSON(parse_text(x, encoding = "UTF-8"), simplifyVector = simplifyVector, 
         ...)
  7: fromJSON_string(txt = txt, simplifyVector = simplifyVector, simplifyDataFrame = simplifyDataFrame, 
         simplifyMatrix = simplifyMatrix, flatten = flatten, ...)
  8: parseJSON(txt, bigint_as_char)
  9: parse_string(txt, bigint_as_char)
  
  2018-08-03 06:33:19.048 getResponse: Error in httr GET: 400  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
  2018-08-03 06:33:20.370 getResponse: Error in httr GET: 400  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
  2018-08-03 06:33:23.846 getResponse: Error in httr GET: 403  https://soda.demo.socrata.com/resource/a9g2-feh2.csv?$order=:id
  2018-08-03 06:33:25.052 getResponse: Error in httr GET: 403  https://soda.demo.socrata.com/resource/a9g2-feh2.json?$order=:id
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 153 SKIPPED: 0 FAILED: 1
  1. Error: Accept a URL with a $limit= clause and properly limit the results (@test-all.R#278) 
  
  Error: testthat unit tests failed
  Execution halted