Running ‘testthat.R’ [9s/111s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RSocrata)
  > 
  > test_check("RSocrata")
  2018-06-20 17:28:34.843 getResponse: Error in httr GET: 504  https://data.cityofnewyork.us/resource/qcdj-rwhu.json?$order=:id  
  ── 1. Error: read Socrata JSON that uses ISO 8601 but does not specify subsecond
  Gateway Timeout (HTTP 504).
  1: read.socrata("https://data.cityofnewyork.us/resource/qcdj-rwhu.json") at testthat/test-all.R:28
  2: getResponse(validUrl, email, password)
  3: httr::stop_for_status(response)
  
  ── 2. Failure: converts money fields to numeric from Socrata (@test-all.R#103)  
  dollars not equal to class(df$Annual.Salary).
  1/1 mismatches
  x[1]: "numeric"
  y[1]: "character"
  
  ── 3. Failure: converts money fields to numeric from Socrata (@test-all.R#104)  
  output of money fields not equal to class(df$Annual.Salary).
  1/1 mismatches
  x[1]: "numeric"
  y[1]: "character"
  
  2018-06-20 17:28:57.173 getResponse: Error in httr GET: 400  http://soda.demo.socrata.com/resource/4334-bgaj.csv?%24select=Region&$order=:id
  2018-06-20 17:28:57.424 getResponse: Error in httr GET: 401  http://data.cityofchicago.org/resource/j8vp-2qpg.json?$order=:id
  2018-06-20 17:29:11.994 getResponse: Error in httr GET: 400  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
  2018-06-20 17:29:13.111 getResponse: Error in httr GET: 400  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
  2018-06-20 17:29:16.463 getResponse: Error in httr GET: 403  https://soda.demo.socrata.com/resource/a9g2-feh2.csv?$order=:id
  2018-06-20 17:29:17.612 getResponse: Error in httr GET: 403  https://soda.demo.socrata.com/resource/a9g2-feh2.json?$order=:id
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 152 SKIPPED: 0 FAILED: 3
  1. Error: read Socrata JSON that uses ISO 8601 but does not specify subseconds (@test-all.R#28) 
  2. Failure: converts money fields to numeric from Socrata (@test-all.R#103) 
  3. Failure: converts money fields to numeric from Socrata (@test-all.R#104) 
  
  Error: testthat unit tests failed
  Execution halted