CRAN Package Check Results for Package readtext

Last updated on 2024-05-03 01:51:30 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.91 4.67 71.81 76.48 OK
r-devel-linux-x86_64-debian-gcc 0.91 4.88 54.74 59.62 OK
r-devel-linux-x86_64-fedora-clang 0.91 98.73 NOTE
r-devel-linux-x86_64-fedora-gcc 0.91 109.32 NOTE
r-devel-windows-x86_64 0.91 7.00 75.00 82.00 OK
r-patched-linux-x86_64 0.91 10.36 69.34 79.70 OK
r-release-linux-x86_64 0.91 7.42 68.84 76.26 OK
r-release-macos-arm64 0.91 41.00 OK
r-release-macos-x86_64 0.91 99.00 OK
r-release-windows-x86_64 0.91 6.00 73.00 79.00 ERROR
r-oldrel-macos-arm64 0.91 40.00 OK
r-oldrel-macos-x86_64 0.91 83.00 OK
r-oldrel-windows-x86_64 0.91 8.00 80.00 88.00 OK

Check Details

Version: 0.91
Check: data for non-ASCII characters
Result: NOTE Note: found 1 marked Latin-1 string Note: found 1 marked UTF-8 string Note: found 7 strings marked as "bytes" Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.91
Check: tests
Result: ERROR Running 'testthat.R' [9s] Running the tests in 'tests/testthat.R' failed. Complete output: > Sys.setenv("R_TESTS" = "") > > library("testthat") > library("readtext") > > # save, then reset, readtext options > opts <- readtext_options() > readtext_options(reset = TRUE) > > # set the soon-to-be-official-R-policy condition > Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE) > > test_check("readtext") [ FAIL 2 | WARN 0 | SKIP 12 | PASS 151 ] ══ Skipped tests (12) ══════════════════════════════════════════════════════════ • On CRAN (7): 'test-readtext.R:118:5', 'test-readtext.R:503:5', 'test-readtext.R:556:5', 'test-readtext.R:630:5', 'test-readtext.R:700:5', 'test-readtext.R:710:5', 'test-readtext.R:720:5' • On Windows (4): 'test-encoding.R:4:5', 'test-readtext.R:576:5', 'test-readtext.R:586:5', 'test-readtext.R:614:5' • skipping test of option setting when readtext is not attached (1): 'test-readtext_options.R:32:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-readtext.R:85:5'): test remote text file ─────────────────────── Error in `curl::curl_fetch_disk(url, x$path, handle = handle)`: Recv failure: Connection was reset Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-readtext.R:85:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─readtext::readtext("https://raw.githubusercontent.com/kbenoit/readtext/master/tests/data/fox/fox.txt") 5. └─readtext:::list_files(...) 6. ├─base::unlist(...) 7. └─base::lapply(...) 8. └─readtext (local) FUN(X[[i]], ...) 9. └─readtext:::list_file(...) 10. ├─readtext:::list_files(...) 11. └─readtext:::download_remote(file, ignore_missing, cache, verbosity) 12. └─readtext:::cache_remote(url, ignore_missing, cache, name, verbosity) 13. └─httr::GET(url, write_disk(path, overwrite = TRUE)) 14. └─httr:::request_perform(req, hu$handle$handle) 15. ├─httr:::request_fetch(req$output, req$url, handle) 16. └─httr:::request_fetch.write_disk(req$output, req$url, handle) 17. └─curl::curl_fetch_disk(url, x$path, handle = handle) ── Error ('test-readtext.R:108:5'): test remote csv file ─────────────────────── Error in `curl::curl_fetch_disk(url, x$path, handle = handle)`: Recv failure: Connection was reset Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-readtext.R:108:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─readtext::readtext(...) 5. └─readtext:::list_files(...) 6. ├─base::unlist(...) 7. └─base::lapply(...) 8. └─readtext (local) FUN(X[[i]], ...) 9. └─readtext:::list_file(...) 10. ├─readtext:::list_files(...) 11. └─readtext:::download_remote(file, ignore_missing, cache, verbosity) 12. └─readtext:::cache_remote(url, ignore_missing, cache, name, verbosity) 13. └─httr::GET(url, write_disk(path, overwrite = TRUE)) 14. └─httr:::request_perform(req, hu$handle$handle) 15. ├─httr:::request_fetch(req$output, req$url, handle) 16. └─httr:::request_fetch.write_disk(req$output, req$url, handle) 17. └─curl::curl_fetch_disk(url, x$path, handle = handle) [ FAIL 2 | WARN 0 | SKIP 12 | PASS 151 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64