Running ‘testthat.R’ [4s/27s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(jpinfect)
  > 
  > test_check("jpinfect")
  Downloading: https://idsc.niid.go.jp/idwr/CDROM/Kako/H11/Syuukei/Syu_11.xls
  Download completed: /Volumes/Temp/tmp/RtmpoTZ2Fr/test_jpinfect_data/1999_Syu_11.xls
  File already exists: /Volumes/Temp/tmp/RtmpoTZ2Fr/test_jpinfect_data/1999_Syu_11.xls
  File already exists: /Volumes/Temp/tmp/RtmpoTZ2Fr/test_jpinfect_data/1999_Syu_11.xls
  Files to process:
  /Volumes/Builds/packages/big-sur-arm64/results/4.4/jpinfect.Rcheck/jpinfect/extdata/2025_01_zensu_en.csv
  /Volumes/Builds/packages/big-sur-arm64/results/4.4/jpinfect.Rcheck/jpinfect/extdata/2025_02_zensu_en.csv
  Files to process:
  /Volumes/Builds/packages/big-sur-arm64/results/4.4/jpinfect.Rcheck/jpinfect/extdata/2025_01_zensu_jp.csv
  /Volumes/Builds/packages/big-sur-arm64/results/4.4/jpinfect.Rcheck/jpinfect/extdata/2025_02_zensu_jp.csv
  Processing...........Completed!
  
  Processing...Current working directory: /Volumes/Builds/packages/big-sur-arm64/results/4.4/jpinfect.Rcheck/tests/testthat
  Current working directory: /Volumes/Builds/packages/big-sur-arm64/results/4.4/jpinfect.Rcheck/tests/testthat
  Current working directory: /Volumes/Builds/packages/big-sur-arm64/results/4.4/jpinfect.Rcheck/tests/testthat
  Current working directory: /Volumes/Builds/packages/big-sur-arm64/results/4.4/jpinfect.Rcheck/tests/testthat
  Current working directory: /Volumes/Builds/packages/big-sur-arm64/results/4.4/jpinfect.Rcheck/tests/testthat
  Saving _problems/test-jpinfect_url_bullet-22.R
  [ FAIL 1 | WARN 0 | SKIP 6 | PASS 68 ]
  
  ══ Skipped tests (6) ═══════════════════════════════════════════════════════════
  • On CRAN (6): 'test-jpinfect_get_bullet.R:27:3',
    'test-jpinfect_get_bullet.R:52:3', 'test-jpinfect_get_bullet.R:75:3',
    'test-jpinfect_get_confirmed.R:12:3', 'test-jpinfect_read_confirmed.R:56:3',
    'test-jpinfect_read_confirmed.R:66:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-jpinfect_url_bullet.R:19:3'): jpinfect_url_bullet behaves as expected ──
  <curl_error_operation_timedout/curl_error/error/condition>
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [id-info.jihs.go.jp]:
  Resolving timed out after 10002 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_message(...) at test-jpinfect_url_bullet.R:19:3
    2. │ └─testthat:::expect_condition_matching_(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─jpinfect::jpinfect_url_bullet(year = 2024, week = 1:2, language = "en")
    8. │ └─httr::HEAD(url)
    9. │   └─httr:::request_perform(req, hu$handle$handle)
   10. │     ├─httr:::request_fetch(req$output, req$url, handle)
   11. │     └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   12. │       └─curl::curl_fetch_memory(url, handle = handle)
   13. └─curl:::raise_libcurl_error(...)
  
  [ FAIL 1 | WARN 0 | SKIP 6 | PASS 68 ]
  Error:
  ! Test failures.
  Execution halted