CRAN Package Check Results for Package httr

Last updated on 2022-09-11 12:56:19 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.4.4 9.78 53.82 63.60 OK
r-devel-linux-x86_64-debian-gcc 1.4.4 6.32 40.60 46.92 OK
r-devel-linux-x86_64-fedora-clang 1.4.4 87.86 OK
r-devel-linux-x86_64-fedora-gcc 1.4.4 97.21 OK
r-devel-windows-x86_64 1.4.4 48.00 140.00 188.00 OK
r-patched-linux-x86_64 1.4.4 8.55 48.74 57.29 OK
r-release-linux-x86_64 1.4.4 5.29 48.62 53.91 OK
r-release-macos-arm64 1.4.4 93.00 OK
r-release-macos-x86_64 1.4.4 110.00 OK
r-release-windows-x86_64 1.4.4 48.00 1251.00 1299.00 ERROR
r-oldrel-macos-arm64 1.4.4 92.00 OK
r-oldrel-macos-x86_64 1.4.4 111.00 OK
r-oldrel-windows-ix86+x86_64 1.4.4 15.00 110.00 125.00 OK

Check Details

Version: 1.4.4
Check: tests
Result: ERROR
     Running 'testthat.R' [392s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > test_check("httr")
     Loading required package: httr
     [ FAIL 6 | WARN 0 | SKIP 7 | PASS 152 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • Currently broken (1)
     • On CRAN (6)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test-body.r:22:3): string/raw in body gives same string in data element ──
     out$data not equal to "test".
     target is NULL, current is character
     ── Failure (test-body.r:82:3): NULL elements are automatically dropped ─────────
     out$form not equal to list(x = "1").
     target is NULL, current is list
     ── Failure (test-response.r:5:3): status codes returned as expected ────────────
     GET("http://httpbin.org/status/320")$status_code not equal to 320.
     1/1 mismatches
     [1] 504 - 320 == 184
     ── Failure (test-response.r:22:3): PATCH patches ───────────────────────────────
     PATCH("http://httpbin.org/patch")$status_code not equal to 200.
     1/1 mismatches
     [1] 504 - 200 == 304
     ── Failure (test-response.r:55:3): application/json responses parsed as lists ──
     response$status_code not equal to 200.
     1/1 mismatches
     [1] 504 - 200 == 304
     Backtrace:
     ▆
     1. └─httr (local) test_user_agent("gunicorn-client/0.1") at test-response.r:55:2
     2. └─testthat::expect_equal(response$status_code, 200) at test-response.r:49:4
     ── Failure (test-response.r:55:3): application/json responses parsed as lists ──
     `expected_reply` not equal to content(response).
     Names: 1 string mismatch
     Attributes: < names for current but not for target >
     Attributes: < Length mismatch: comparison on first 0 components >
     Length mismatch: comparison on first 1 components
     Component 1: Modes: character, externalptr
     Component 1: target is character, current is externalptr
     Backtrace:
     ▆
     1. └─httr (local) test_user_agent("gunicorn-client/0.1") at test-response.r:55:2
     2. └─testthat::expect_equal(expected_reply, content(response)) at test-response.r:51:4
    
     [ FAIL 6 | WARN 0 | SKIP 7 | PASS 152 ]
     Error: Test failures
     Execution halted
Flavor: r-release-windows-x86_64

Version: 1.4.4
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
    --- re-building 'api-packages.Rmd' using rmarkdown
    --- finished re-building 'api-packages.Rmd'
    
    --- re-building 'quickstart.Rmd' using rmarkdown
    Quitting from lines 72-74 (quickstart.Rmd)
    Error: processing vignette 'quickstart.Rmd' failed with diagnostics:
    Gateway Timeout (HTTP 504).
    --- failed re-building 'quickstart.Rmd'
    
    --- re-building 'secrets.Rmd' using rmarkdown
    --- finished re-building 'secrets.Rmd'
    
    SUMMARY: processing the following file failed:
     'quickstart.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-release-windows-x86_64