Running ‘testthat.R’ [10s/209s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RSocrata)
  > 
  > test_check("RSocrata")
  2022-01-31 16:45:13.016 getResponse: Error in httr GET: 403  https://data.cityofchicago.org/resource/j8vp-2qpg.json?$order=:id
  2022-01-31 16:45:26.904 getResponse: Error in httr GET: 500  https://data.cityofchicago.org/resource/kn9c-c2s2.json?$order=:id
  2022-01-31 16:47:10.772 getResponse: Error in httr GET: 400  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
  2022-01-31 16:47:22.706 getResponse: Error in httr GET: 400  https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
  [ FAIL 3 | WARN 4 | SKIP 4 | PASS 135 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • See Issue #174 (4)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-all.R:276:3): read Socrata JSON with missing fields (issue 19 - bind within page) ──
  `df <- read.socrata("https://data.cityofchicago.org/resource/kn9c-c2s2.json")` threw an error.
  Message: Internal Server Error (HTTP 500).
  Class:   http_500/http_error/error/condition
  https://github.com/Chicago/RSocrata/issues/19
  Backtrace:
      ▆
   1. ├─testthat::expect_error(...) at test-all.R:276:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─RSocrata::read.socrata("https://data.cityofchicago.org/resource/kn9c-c2s2.json")
   7.   └─RSocrata:::getResponse(validUrl, email, password)
   8.     └─httr::stop_for_status(response)
  ── Failure (test-all.R:278:3): read Socrata JSON with missing fields (issue 19 - bind within page) ──
  rows not equal to nrow(df).
  Types not compatible: double is not NULL
  https://github.com/Chicago/RSocrata/issues/19
  ── Failure (test-all.R:279:3): read Socrata JSON with missing fields (issue 19 - bind within page) ──
  columns not equal to ncol(df).
  Types not compatible: double is not NULL
  https://github.com/Chicago/RSocrata/issues/19
  
  [ FAIL 3 | WARN 4 | SKIP 4 | PASS 135 ]
  Error: Test failures
  Execution halted