Running ‘testthat.R’ [9s/137s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RSocrata)
  > 
  > test_check("RSocrata")
  1. Error: Warn instead of fail if X-SODA2-* headers are missing (@test-all.R#129) 
  Gateway Timeout (HTTP 504).
  1: expect_silent(df <- read.socrata("https://odn.data.socrata.com/resource/pvug-y23y.json")) at testthat/test-all.R:129
  2: evaluate_promise(object)
  3: with_sink(temp, withCallingHandlers(withVisible(code), warning = handle_warning, 
         message = handle_message))
  4: withCallingHandlers(withVisible(code), warning = handle_warning, message = handle_message)
  5: withVisible(code)
  6: read.socrata("https://odn.data.socrata.com/resource/pvug-y23y.json")
  7: getResponse(query, email, password)
  8: httr::stop_for_status(response)
  
  2017-06-15 05:38:22.757 getResponse: Error in httr GET: 400  http://soda.demo.socrata.com/resource/4334-bgaj.csv?%24select=Region&$order=:id
  2017-06-15 05:38:23.231 getResponse: Error in httr GET: 401  http://data.cityofchicago.org/resource/j8vp-2qpg.json?$order=:id
  2017-06-15 05:38:37.480 getResponse: Error in httr GET: 400  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
  2017-06-15 05:38:38.572 getResponse: Error in httr GET: 400  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
  2017-06-15 05:38:41.314 getResponse: Error in httr GET: 403  https://soda.demo.socrata.com/resource/a9g2-feh2.csv?$order=:id
  2017-06-15 05:38:42.277 getResponse: Error in httr GET: 403  https://soda.demo.socrata.com/resource/a9g2-feh2.json?$order=:id
  2. Failure: converts money fields to numeric (@test-all.R#471) -----------------
  "numeric" not equal to class(df$Employee.Annual.Salary).
  1/1 mismatches
  x[1]: "numeric"
  y[1]: "NULL"
  
  
  testthat results ================================================================
  OK: 151 SKIPPED: 0 FAILED: 2
  1. Error: Warn instead of fail if X-SODA2-* headers are missing (@test-all.R#129) 
  2. Failure: converts money fields to numeric (@test-all.R#471) 
  
  Error: testthat unit tests failed
  Execution halted