CRAN Package Check Results for Package jpstat

Last updated on 2023-06-02 22:01:16 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.2 4.78 45.32 50.10 OK
r-devel-linux-x86_64-debian-gcc 0.3.2 4.58 34.54 39.12 OK
r-devel-linux-x86_64-fedora-clang 0.3.3 62.83 OK
r-devel-linux-x86_64-fedora-gcc 0.3.3 58.99 OK
r-devel-windows-x86_64 0.3.3 15.00 56.00 71.00 OK
r-patched-linux-x86_64 0.3.2 ERROR
r-release-linux-x86_64 0.3.2 3.52 42.47 45.99 OK
r-release-macos-arm64 0.3.2 27.00 OK
r-release-macos-x86_64 0.3.2 39.00 OK
r-release-windows-x86_64 0.3.2 7.00 64.00 71.00 OK
r-oldrel-macos-arm64 0.3.2 22.00 OK
r-oldrel-macos-x86_64 0.3.2 36.00 OK
r-oldrel-windows-x86_64 0.3.3 17.00 62.00 79.00 OK

Check Details

Version: 0.3.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/5s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(jpstat)
     「このサービスは、政府統計総合窓口(e-Stat)のAPI機能を使用していますが、サービスの内容は国によって保証されたものではありません。」
     >
     > test_check("jpstat")
    
     Attaching package: 'dplyr'
    
     The following object is masked from 'package:testthat':
    
     matches
    
     The following objects are masked from 'package:stats':
    
     filter, lag
    
     The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
     [ FAIL 1 | WARN 0 | SKIP 9 | PASS 1 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (9)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-webland.R:7:3'): webland ───────────────────────────────────────
     Error: Please install xml2 package
     Backtrace:
     ▆
     1. ├─dplyr::collect(itemise(city, pref_code = "01")) at test-webland.R:7:2
     2. └─jpstat:::collect.webland_city(itemise(city, pref_code = "01"))
     3. ├─rlang::set_names(...)
     4. ├─dplyr::bind_rows(purrr::chuck(httr::content(city), "data"))
     5. │ └─rlang::list2(...)
     6. ├─purrr::chuck(httr::content(city), "data")
     7. └─httr::content(city)
     8. └─httr:::parse_auto(raw, type, encoding, ...)
     9. └─httr (local) parser(x = content, type = type, encoding = encoding, ...)
     10. └─httr:::need_package("xml2")
    
     [ FAIL 1 | WARN 0 | SKIP 9 | PASS 1 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-linux-x86_64