CRAN Package Check Results for Package RSocrata

Last updated on 2018-06-23 00:46:41 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.7.4-7 1.69 38.11 39.80 ERROR
r-devel-linux-x86_64-debian-gcc 1.7.4-7 1.52 30.27 31.79 OK
r-devel-linux-x86_64-fedora-clang 1.7.4-7 44.99 OK
r-devel-linux-x86_64-fedora-gcc 1.7.4-7 43.59 OK
r-devel-windows-ix86+x86_64 1.7.4-7 4.00 101.00 105.00 OK
r-patched-linux-x86_64 1.7.4-7 1.54 35.56 37.10 OK
r-patched-solaris-x86 1.7.4-7 78.70 OK
r-release-linux-x86_64 1.7.4-7 1.63 35.37 37.00 OK
r-release-windows-ix86+x86_64 1.7.4-7 4.00 101.00 105.00 ERROR
r-release-osx-x86_64 1.7.4-7 OK
r-oldrel-windows-ix86+x86_64 1.7.4-7 5.00 103.00 108.00 OK
r-oldrel-osx-x86_64 1.7.4-7 OK

Check Details

Version: 1.7.4-7
Check: tests
Result: ERROR
     Running ‘testthat.R’ [12s/294s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(RSocrata)
     >
     > test_check("RSocrata")
     2018-06-22 06:25:19.200 getResponse: Error in httr GET: 504 https://data.cityofchicago.org/resource/xzkq-xp2w.csv?$order=:id
     ── 1. Error: converts money fields to numeric from Socrata (@test-all.R#102) ──
     Gateway Timeout (HTTP 504).
     1: read.socrata("https://data.cityofchicago.org/Administration-Finance/Current-Employee-Names-Salaries-and-Position-Title/xzkq-xp2w") at testthat/test-all.R:102
     2: getResponse(validUrl, email, password)
     3: httr::stop_for_status(response)
    
     ── 2. Error: Warn instead of fail if X-SODA2-* headers are missing (@test-all.R#
     Gateway Timeout (HTTP 504).
     1: expect_silent(df <- read.socrata("https://odn.data.socrata.com/resource/pvug-y23y.json")) at testthat/test-all.R:135
     2: quasi_capture(enquo(object), evaluate_promise)
     3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
     4: withr::with_output_sink(temp, withCallingHandlers(withVisible(code), warning = handle_warning,
     message = handle_message))
     5: force(code)
     6: withCallingHandlers(withVisible(code), warning = handle_warning, message = handle_message)
     7: withVisible(code)
     8: eval_bare(get_expr(quo), get_env(quo))
     9: read.socrata("https://odn.data.socrata.com/resource/pvug-y23y.json")
     10: getResponse(query, email, password)
     11: httr::stop_for_status(response)
    
     2018-06-22 06:27:35.239 getResponse: Error in httr GET: 504 https://soda.demo.socrata.com/resource/4334-bgaj.json?$order=:id&$limit=50000&$offset=1007
     ── 3. Error: read Socrata JSON as character (@test-all.R#177) ─────────────────
     Gateway Timeout (HTTP 504).
     1: read.socrata("https://soda.demo.socrata.com/resource/4334-bgaj.json", stringsAsFactors = FALSE) at testthat/test-all.R:177
     2: getResponse(query, email, password)
     3: httr::stop_for_status(response)
    
     2018-06-22 06:27:37.352 getResponse: Error in httr GET: 400 http://soda.demo.socrata.com/resource/4334-bgaj.csv?%24select=Region&$order=:id
     2018-06-22 06:27:37.651 getResponse: Error in httr GET: 401 http://data.cityofchicago.org/resource/j8vp-2qpg.json?$order=:id
     2018-06-22 06:28:51.719 getResponse: Error in httr GET: 504 https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id&$limit=50000&$offset=1000
     ── 4. Error: readSocrataHumanReadableToken (@test-all.R#380) ──────────────────
     Gateway Timeout (HTTP 504).
     1: read.socrata("https://soda.demo.socrata.com/dataset/USGS-Earthquake-Reports/4334-bgaj",
     app_token = "ew2rEMuESuzWPqMkyPfOSGJgE") at testthat/test-all.R:380
     2: getResponse(query, email, password)
     3: httr::stop_for_status(response)
    
     2018-06-22 06:28:53.692 getResponse: Error in httr GET: 400 https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
     2018-06-22 06:28:55.153 getResponse: Error in httr GET: 400 https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
     2018-06-22 06:28:58.787 getResponse: Error in httr GET: 403 https://soda.demo.socrata.com/resource/a9g2-feh2.csv?$order=:id
     2018-06-22 06:29:00.174 getResponse: Error in httr GET: 403 https://soda.demo.socrata.com/resource/a9g2-feh2.json?$order=:id
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 142 SKIPPED: 0 FAILED: 4
     1. Error: converts money fields to numeric from Socrata (@test-all.R#102)
     2. Error: Warn instead of fail if X-SODA2-* headers are missing (@test-all.R#135)
     3. Error: read Socrata JSON as character (@test-all.R#177)
     4. Error: readSocrataHumanReadableToken (@test-all.R#380)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.7.4-7
Check: tests
Result: ERROR
     Running 'testthat.R' [59s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(RSocrata)
     >
     > test_check("RSocrata")
     -- 1. Failure: converts money fields to numeric from Socrata (@test-all.R#103)
     dollars not equal to class(df$Annual.Salary).
     1/1 mismatches
     x[1]: "numeric"
     y[1]: "character"
    
     -- 2. Failure: converts money fields to numeric from Socrata (@test-all.R#104)
     output of money fields not equal to class(df$Annual.Salary).
     1/1 mismatches
     x[1]: "numeric"
     y[1]: "character"
    
     2018-06-20 13:23:23.820 getResponse: Error in httr GET: 400 http://soda.demo.socrata.com/resource/4334-bgaj.csv?%24select=Region&$order=:id
     2018-06-20 13:23:24.054 getResponse: Error in httr GET: 401 http://data.cityofchicago.org/resource/j8vp-2qpg.json?$order=:id
     2018-06-20 13:23:38.967 getResponse: Error in httr GET: 400 https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
     2018-06-20 13:23:40.200 getResponse: Error in httr GET: 400 https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
     2018-06-20 13:23:43.866 getResponse: Error in httr GET: 403 https://soda.demo.socrata.com/resource/a9g2-feh2.csv?$order=:id
     2018-06-20 13:23:44.802 getResponse: Error in httr GET: 403 https://soda.demo.socrata.com/resource/a9g2-feh2.json?$order=:id
     == testthat results ===========================================================
     OK: 153 SKIPPED: 0 FAILED: 2
     1. Failure: converts money fields to numeric from Socrata (@test-all.R#103)
     2. Failure: converts money fields to numeric from Socrata (@test-all.R#104)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-windows-ix86+x86_64