CRAN Package Check Results for Package trundler

Last updated on 2021-01-25 00:48:13 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.19 5.80 55.00 60.80 OK
r-devel-linux-x86_64-debian-gcc 0.1.19 4.42 42.03 46.45 OK
r-devel-linux-x86_64-fedora-clang 0.1.19 80.36 OK
r-devel-linux-x86_64-fedora-gcc 0.1.19 65.86 OK
r-devel-windows-ix86+x86_64 0.1.19 16.00 77.00 93.00 OK
r-patched-linux-x86_64 0.1.19 5.88 51.40 57.28 OK
r-patched-solaris-x86 0.1.19 99.30 OK
r-release-linux-x86_64 0.1.19 5.87 51.91 57.78 ERROR
r-release-macos-x86_64 0.1.19 OK
r-release-windows-ix86+x86_64 0.1.19 35.00 84.00 119.00 OK
r-oldrel-macos-x86_64 0.1.19 OK
r-oldrel-windows-ix86+x86_64 0.1.19 10.00 65.00 75.00 OK

Check Details

Version: 0.1.19
Check: tests
Result: ERROR
     Running ‘testthat.R’ [3s/32s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(trundler)
     >
     > test_check("trundler")
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     ● On CRAN (18)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test-0-http.R:8:3): check that response is compressed ──────────────
     headers(r)$`content-encoding` not equal to "gzip".
     target is NULL, current is character
     ── Failure (test-1-retail.R:10:3): invalid API key ─────────────────────────────
     `retailer_products(1)` threw an error with unexpected message.
     Expected match: "Missing or invalid API key."
     Actual message: "API request failed [500]: Internal Server Error"
     Backtrace:
     █
     1. ├─testthat::expect_error(retailer_products(1), "Missing or invalid API key.") test-1-retail.R:10:2
     2. │ └─testthat:::quasi_capture(...)
     3. │ ├─testthat:::.capture(...)
     4. │ │ └─base::withCallingHandlers(...)
     5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. └─trundler::retailer_products(1)
     7. ├─progressr::with_progress(products <- paginate(url, head, ...))
     8. └─trundler:::paginate(url, head, ...)
     9. └─trundler:::check_response_error(response)
    
     [ FAIL 2 | WARN 0 | SKIP 18 | PASS 9 ]
     Error: Test failures
     Execution halted
Flavor: r-release-linux-x86_64