Running ‘testthat.R’ [9s/47s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RSocrata)
  > 
  > test_check("RSocrata")
  ── 1. Failure: read Socrata CSV is compatible with posixify (@test-all.R#17)  ──
  `dt` not equal to df$Datetime[1].
  Classes differ: POSIXct/POSIXt is not NULL
  
  ── 2. Failure: read Socrata CSV as default (@test-all.R#114)  ──────────────────
  testing column CSV classes with defaults not equal to unname(sapply(sapply(df, class), `[`, 1)).
  5/9 mismatches
  x[1]: "character"
  y[1]: "POSIXct"
  
  x[2]: "character"
  y[2]: "numeric"
  
  x[4]: "POSIXct"
  y[4]: "character"
  
  x[6]: "numeric"
  y[6]: "integer"
  
  x[7]: "integer"
  y[7]: "character"
  
  ── 3. Failure: read Socrata CSV as character (@test-all.R#148)  ────────────────
  c(...) not equal to unname(sapply(sapply(df, class), `[`, 1)).
  5/9 mismatches
  x[1]: "character"
  y[1]: "POSIXct"
  
  x[2]: "character"
  y[2]: "numeric"
  
  x[4]: "POSIXct"
  y[4]: "character"
  
  x[6]: "numeric"
  y[6]: "integer"
  
  x[7]: "integer"
  y[7]: "character"
  
  ── 4. Failure: read Socrata CSV as factor (@test-all.R#159)  ───────────────────
  c(...) not equal to unname(sapply(sapply(df, class), `[`, 1)).
  5/9 mismatches
  x[1]: "factor"
  y[1]: "POSIXct"
  
  x[2]: "factor"
  y[2]: "numeric"
  
  x[4]: "POSIXct"
  y[4]: "factor"
  
  x[6]: "numeric"
  y[6]: "integer"
  
  x[7]: "integer"
  y[7]: "factor"
  
  ── 5. Failure: read Socrata JSON as default (@test-all.R#169)  ─────────────────
  columns not equal to ncol(df).
  1/1 mismatches
  [1] 11 - 10 == 1
  
  ── 6. Failure: read Socrata JSON as default (@test-all.R#170)  ─────────────────
  c(...) not equal to unname(sapply(sapply(df, class), `[`, 1)).
  Lengths differ: 11 is not 10
  
  ── 7. Failure: read Socrata JSON as character (@test-all.R#181)  ───────────────
  columns not equal to ncol(df).
  1/1 mismatches
  [1] 11 - 10 == 1
  
  ── 8. Failure: read Socrata JSON as character (@test-all.R#182)  ───────────────
  c(...) not equal to unname(sapply(sapply(df, class), `[`, 1)).
  Lengths differ: 11 is not 10
  
  ── 9. Failure: read Socrata JSON as factor (@test-all.R#193)  ──────────────────
  columns not equal to ncol(df).
  1/1 mismatches
  [1] 11 - 10 == 1
  
  ── 10. Failure: read Socrata JSON as factor (@test-all.R#194)  ─────────────────
  c(...) not equal to unname(sapply(sapply(df, class), `[`, 1)).
  Lengths differ: 11 is not 10
  
  ── 11. Failure: readSoQLColumnNotFound (will fail) (@test-all.R#212)  ──────────
  `read.socrata("http://soda.demo.socrata.com/resource/4334-bgaj.csv?$select=Region")` did not throw an error.
  
  2019-04-07 18:02:47.579 getResponse: Error in httr GET: 401  http://data.cityofchicago.org/resource/j8vp-2qpg.json?$order=:id
  2019-04-07 18:02:59.518 getResponse: Error in httr GET: 400  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
  2019-04-07 18:03:00.620 getResponse: Error in httr GET: 400  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
  2019-04-07 18:03:03.213 getResponse: Error in httr GET: 403  https://soda.demo.socrata.com/resource/a9g2-feh2.csv?$order=:id
  2019-04-07 18:03:04.105 getResponse: Error in httr GET: 403  https://soda.demo.socrata.com/resource/a9g2-feh2.json?$order=:id
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 144 SKIPPED: 0 FAILED: 11
  1. Failure: read Socrata CSV is compatible with posixify (@test-all.R#17) 
  2. Failure: read Socrata CSV as default (@test-all.R#114) 
  3. Failure: read Socrata CSV as character (@test-all.R#148) 
  4. Failure: read Socrata CSV as factor (@test-all.R#159) 
  5. Failure: read Socrata JSON as default (@test-all.R#169) 
  6. Failure: read Socrata JSON as default (@test-all.R#170) 
  7. Failure: read Socrata JSON as character (@test-all.R#181) 
  8. Failure: read Socrata JSON as character (@test-all.R#182) 
  9. Failure: read Socrata JSON as factor (@test-all.R#193) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted