CRAN Package Check Results for Package paws.common

Last updated on 2023-05-28 20:04:04 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.6 24.77 56.59 81.36 OK
r-devel-linux-x86_64-debian-gcc 0.5.6 20.89 44.00 64.89 OK
r-devel-linux-x86_64-fedora-clang 0.5.6 110.30 OK
r-devel-linux-x86_64-fedora-gcc 0.5.6 103.21 OK
r-devel-windows-x86_64 0.5.6 23.00 96.00 119.00 ERROR
r-patched-linux-x86_64 0.5.6 22.19 55.21 77.40 OK
r-release-linux-x86_64 0.5.6 22.93 55.22 78.15 OK
r-release-macos-arm64 0.5.6 42.00 OK
r-release-macos-x86_64 0.5.6 58.00 OK
r-release-windows-x86_64 0.5.6 28.00 97.00 125.00 OK
r-oldrel-macos-arm64 0.5.6 40.00 OK
r-oldrel-macos-x86_64 0.5.6 53.00 OK
r-oldrel-windows-x86_64 0.5.6 26.00 97.00 123.00 OK

Check Details

Version: 0.5.6
Check: tests
Result: ERROR
     Running 'testthat.R' [23s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(paws.common)
     >
     > test_check("paws.common")
     [ FAIL 3 | WARN 0 | SKIP 9 | PASS 739 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • (1)
     • On CRAN (4)
     • skip (4)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test_net.R:63:3'): write content to disk ──────────────────────────
     resp$status_code not equal to 200.
     1/1 mismatches
     [1] 504 - 200 == 304
     ── Failure ('test_net.R:65:3'): write content to disk ──────────────────────────
     `body <- jsonlite::fromJSON(tmp)` threw an error.
     Message: lexical error: invalid char in json text.
     <html> <head><title>504 Gatewa
     (right here) ------^
    
     Class: simpleError/error/condition
     Backtrace:
     ▆
     1. ├─testthat::expect_error(body <- jsonlite::fromJSON(tmp), NA) at test_net.R:65:2
     2. │ └─testthat:::quasi_capture(...)
     3. │ ├─testthat (local) .capture(...)
     4. │ │ └─base::withCallingHandlers(...)
     5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. └─jsonlite::fromJSON(tmp)
     7. └─jsonlite:::parse_and_simplify(...)
     8. └─jsonlite:::parseJSON(txt, bigint_as_char)
     9. └─jsonlite:::parse_con(txt, bigint_as_char)
     ── Error ('test_net.R:66:3'): write content to disk ────────────────────────────
     <notSubsettableError/error/condition>
     Error in `body$slideshow`: object of type 'closure' is not subsettable
     Backtrace:
     ▆
     1. └─testthat::expect_equal(body$slideshow$title, "Sample Slide Show") at test_net.R:66:2
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
    
     [ FAIL 3 | WARN 0 | SKIP 9 | PASS 739 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64