Running ‘testthat.R’ [11s/90s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RSocrata)
  > 
  > test_check("RSocrata")
  2017-12-04 16:55:01.170 getResponse: Error in httr GET: 400  http://soda.demo.socrata.com/resource/4334-bgaj.csv?%24select=Region&$order=:id
  2017-12-04 16:55:01.398 getResponse: Error in httr GET: 401  http://data.cityofchicago.org/resource/j8vp-2qpg.json?$order=:id
  2017-12-04 16:55:05.014 getResponse: Error in httr GET: 404  https://data.cityofboston.gov/resource/awu8-dc52.csv?%24where=case_enquiry_id%3C%20101000295717&$order=:id
  1. Error: Read data with missing dates (@test-all.R#239) -----------------------
  Not Found (HTTP 404).
  1: read.socrata("https://data.cityofboston.gov/resource/awu8-dc52.csv?$where=case_enquiry_id< 101000295717") at testthat/test-all.R:239
  2: getResponse(validUrl, email, password)
  3: httr::stop_for_status(response)
  
  2017-12-04 16:55:16.147 getResponse: Error in httr GET: 400  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
  2017-12-04 16:55:17.360 getResponse: Error in httr GET: 400  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
  2017-12-04 16:55:20.621 getResponse: Error in httr GET: 403  https://soda.demo.socrata.com/resource/a9g2-feh2.csv?$order=:id
  2017-12-04 16:55:21.728 getResponse: Error in httr GET: 403  https://soda.demo.socrata.com/resource/a9g2-feh2.json?$order=:id
  2. Failure: add a row to a dataset (@test-all.R#487) ---------------------------
  x value not equal to as.numeric(df_out_last_row$x).
  1/1 mismatches
  [1] -406 - -273 == -133
  
  
  3. Failure: add a row to a dataset (@test-all.R#488) ---------------------------
  y value not equal to as.numeric(df_out_last_row$y).
  1/1 mismatches
  [1] 552 - 714 == -162
  
  
  testthat results ================================================================
  OK: 153 SKIPPED: 0 FAILED: 3
  1. Error: Read data with missing dates (@test-all.R#239) 
  2. Failure: add a row to a dataset (@test-all.R#487) 
  3. Failure: add a row to a dataset (@test-all.R#488) 
  
  Error: testthat unit tests failed
  Execution halted