Running ‘testthat.R’ [23s/112s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RSocrata)
  > 
  > test_check("RSocrata")
  ── 1. 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]: "POSIXct"
  y[1]: "character"
  
  x[2]: "numeric"
  y[2]: "character"
  
  x[4]: "character"
  y[4]: "POSIXct"
  
  x[6]: "integer"
  y[6]: "numeric"
  
  x[7]: "character"
  y[7]: "integer"
  
  ── 2. Failure: read Socrata CSV from New Backend (NBE) endpoint (@test-all.R#124
  testing column CSV classes with defaults not equal to unname(sapply(sapply(df, class), `[`, 1)).
  2/4 mismatches
  x[3]: "integer"
  y[3]: "character"
  
  x[4]: "character"
  y[4]: "integer"
  
  ── 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]: "POSIXct"
  y[1]: "character"
  
  x[2]: "numeric"
  y[2]: "character"
  
  x[4]: "character"
  y[4]: "POSIXct"
  
  x[6]: "integer"
  y[6]: "numeric"
  
  x[7]: "character"
  y[7]: "integer"
  
  ── 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]: "POSIXct"
  y[1]: "factor"
  
  x[2]: "numeric"
  y[2]: "factor"
  
  x[4]: "factor"
  y[4]: "POSIXct"
  
  x[6]: "integer"
  y[6]: "numeric"
  
  x[7]: "factor"
  y[7]: "integer"
  
  ── 5. Failure: read Socrata JSON as default (@test-all.R#170)  ─────────────────
  c(...) not equal to unname(sapply(sapply(df, class), `[`, 1)).
  2/10 mismatches
  x[1]: "POSIXct"
  y[1]: "character"
  
  x[4]: "character"
  y[4]: "POSIXct"
  
  ── 6. Failure: read Socrata JSON as character (@test-all.R#182)  ───────────────
  c(...) not equal to unname(sapply(sapply(df, class), `[`, 1)).
  2/10 mismatches
  x[1]: "POSIXct"
  y[1]: "character"
  
  x[4]: "character"
  y[4]: "POSIXct"
  
  ── 7. Failure: read Socrata JSON as factor (@test-all.R#194)  ──────────────────
  c(...) not equal to unname(sapply(sapply(df, class), `[`, 1)).
  2/10 mismatches
  x[1]: "POSIXct"
  y[1]: "factor"
  
  x[4]: "factor"
  y[4]: "POSIXct"
  
  2019-05-23 14:25:19.991 getResponse: Error in httr GET: 401  http://data.cityofchicago.org/resource/j8vp-2qpg.json?$order=:id
  2019-05-23 14:25:45.386 getResponse: Error in httr GET: 400  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
  2019-05-23 14:25:46.604 getResponse: Error in httr GET: 400  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
  2019-05-23 14:25:49.985 getResponse: Error in httr GET: 403  https://soda.demo.socrata.com/resource/a9g2-feh2.csv?$order=:id
  2019-05-23 14:25:55.868 getResponse: Error in httr GET: 403  https://soda.demo.socrata.com/resource/a9g2-feh2.json?$order=:id
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 143 SKIPPED: 0 WARNINGS: 4 FAILED: 7
  1. Failure: read Socrata CSV as default (@test-all.R#114) 
  2. Failure: read Socrata CSV from New Backend (NBE) endpoint (@test-all.R#124) 
  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#170) 
  6. Failure: read Socrata JSON as character (@test-all.R#182) 
  7. Failure: read Socrata JSON as factor (@test-all.R#194) 
  
  Error: testthat unit tests failed
  Execution halted