CRAN Package Check Results for Package fedregs

Last updated on 2023-09-30 22:59:07 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 5.25 52.60 57.85 NOTE
r-devel-linux-x86_64-debian-gcc 1.0.0 3.91 39.19 43.10 NOTE
r-devel-linux-x86_64-fedora-clang 1.0.0 68.50 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.0 67.06 NOTE
r-devel-windows-x86_64 1.0.0 6.00 62.00 68.00 ERROR
r-patched-linux-x86_64 1.0.0 3.02 49.63 52.65 NOTE
r-release-linux-x86_64 1.0.0 3.66 49.44 53.10 NOTE
r-release-macos-arm64 1.0.0 56.00 NOTE
r-release-macos-x86_64 1.0.0 65.00 NOTE
r-release-windows-x86_64 1.0.0 7.00 78.00 85.00 NOTE
r-oldrel-macos-arm64 1.0.0 51.00 NOTE
r-oldrel-macos-x86_64 1.0.0 77.00 NOTE
r-oldrel-windows-x86_64 1.0.0 8.00 82.00 90.00 NOTE

Check Details

Version: 1.0.0
Check: package subdirectories
Result: NOTE
    Problems with news in ‘NEWS.md’:
     Cannot extract version info from the following section titles:
     New Stuff
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64

Version: 1.0.0
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 1.0.0
Check: dependencies in R code
Result: NOTE
    Namespaces in Imports field not imported from:
     ‘rvest’ ‘stringi’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 1.0.0
Check: tests
Result: ERROR
     Running 'testthat.R' [13s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(fedregs)
     >
     > test_check("fedregs")
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 12 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test-fedregs.R:138:3'): We can go all the way ─────────────────────
     `cfr_text(na_year, na_title_number, good_chapter, good_part)` threw an error with unexpected message.
     Expected match: "There aren't any regulations for title 1 in 1996.\n"
     Actual message: "Timeout was reached: [www.govinfo.gov] Resolving timed out after 10000 milliseconds"
     Backtrace:
     ▆
     1. ├─testthat::expect_error(...) at test-fedregs.R:138: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. └─fedregs::cfr_text(na_year, na_title_number, good_chapter, good_part)
     7. ├─httr::http_error(url_zip)
     8. └─httr:::http_error.character(url_zip)
     9. ├─httr::http_error(HEAD(x, ...))
     10. └─httr::HEAD(x, ...)
     11. └─httr:::request_perform(req, hu$handle$handle)
     12. ├─httr:::request_fetch(req$output, req$url, handle)
     13. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
     14. └─curl::curl_fetch_memory(url, handle = handle)
     ── Error ('test-fedregs.R:145:3'): We can go all the way ───────────────────────
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: www.govinfo.gov
     Backtrace:
     ▆
     1. └─fedregs::cfr_text(...) at test-fedregs.R:145:2
     2. ├─httr::http_error(url_zip)
     3. └─httr:::http_error.character(url_zip)
     4. ├─httr::http_error(HEAD(x, ...))
     5. └─httr::HEAD(x, ...)
     6. └─httr:::request_perform(req, hu$handle$handle)
     7. ├─httr:::request_fetch(req$output, req$url, handle)
     8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
     9. └─curl::curl_fetch_memory(url, handle = handle)
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 12 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64