CRAN Package Check Results for Package curl

Last updated on 2026-03-15 05:49:32 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 7.0.0 9.11 51.17 60.28 OK
r-devel-linux-x86_64-debian-gcc 7.0.0 7.44 37.79 45.23 ERROR
r-devel-linux-x86_64-fedora-clang 7.0.0 12.00 74.48 86.48 OK
r-devel-linux-x86_64-fedora-gcc 7.0.0 14.00 76.32 90.32 OK
r-devel-macos-arm64 7.0.0 4.00 160.00 164.00 OK
r-devel-windows-x86_64 7.0.0 68.00 185.00 253.00 OK
r-patched-linux-x86_64 7.0.0 8.13 46.60 54.73 NOTE
r-release-linux-x86_64 7.0.0 7.37 46.33 53.70 NOTE
r-release-macos-arm64 7.0.0 NOTE
r-release-macos-x86_64 7.0.0 9.00 269.00 278.00 NOTE
r-release-windows-x86_64 7.0.0 69.00 187.00 256.00 NOTE
r-oldrel-macos-arm64 7.0.0 NOTE
r-oldrel-macos-x86_64 7.0.0 9.00 257.00 266.00 NOTE
r-oldrel-windows-x86_64 7.0.0 74.00 221.00 295.00 NOTE

Check Details

Version: 7.0.0
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/1s] Running ‘testthat.R’ [0m/24m] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(curl) Using libcurl 8.18.0 with OpenSSL/3.5.5 > > # Comply with CRAN policy: skip tests if no internet > if(curl::has_internet()){ + test_check("curl") + } This is libcurl version 8.18.0 with OpenSSL/3.5.5 Using test server: https://hb.opencpu.org Saving _problems/test-connection-11.R Saving _problems/test-connection-24.R Saving _problems/test-cookies-10.R Saving _problems/test-cookies-21.R Saving _problems/test-cookies-25.R Saving _problems/test-multi-164.R Saving _problems/test-nonblocking-5.R Saving _problems/test-nonblocking-22.R Saving _problems/test-nonblocking-37.R Saving _problems/test-nonblocking-55.R Saving _problems/test-path-14.R Saving _problems/test-path-25.R Saving _problems/test-post-106.R Saving _problems/test-progress-8.R Saving _problems/test-progress-11.R [ FAIL 15 | WARN 6 | SKIP 6 | PASS 231 ] ══ Skipped tests (6) ═══════════════════════════════════════════════════════════ • On CRAN (6): 'test-auth.R:27:3', 'test-handle.R:149:3', 'test-idn.R:4:3', 'test-multi-download.R:14:3', 'test-seek.R:2:3', 'test-winssl.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-connection.R:11:3'): Compression and destroying connection ───── <curl_error_operation_timedout/curl_error/error/condition> Error in `curl_fetch_memory(httpbin("deflate"), handle = h)`: Timeout was reached [hb.opencpu.org]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-connection.R:11:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─jsonlite::fromJSON(...) 5. ├─base::rawToChar(curl_fetch_memory(httpbin("deflate"), handle = h)$content) 6. ├─curl::curl_fetch_memory(httpbin("deflate"), handle = h) 7. └─curl:::raise_libcurl_error(...) ── Error ('test-connection.R:24:3'): Connection interface ────────────────────── Error in `open.connection(con, "rb")`: cannot open the connection Backtrace: ▆ 1. ├─testthat::expect_equal(jsonlite::fromJSON(con)$args$test, "blabla") at test-connection.R:24:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─jsonlite::fromJSON(con) 5. └─jsonlite:::parse_and_simplify(...) 6. └─jsonlite:::parseJSON(txt, bigint_as_char) 7. └─jsonlite:::parse_con(txt, bigint_as_char) 8. ├─base::open(con, "rb") 9. └─base::open.connection(con, "rb") ── Error ('test-cookies.R:10:3'): Add some cookies ───────────────────────────── <curl_error_operation_timedout/curl_error/error/condition> Error in `curl_fetch_memory(httpbin("cookies/set?foo=123&bar=ftw"), handle = h)`: Timeout was reached [hb.opencpu.org]: Connection timed out after 10001 milliseconds Backtrace: ▆ 1. ├─curl::curl_fetch_memory(...) at test-cookies.R:10:3 2. └─curl:::raise_libcurl_error(...) ── Error ('test-cookies.R:21:3'): Coockie with connection ────────────────────── Error in `open.connection(con, "rb")`: cannot open the connection Backtrace: ▆ 1. ├─testthat::expect_equal(jsonlite::fromJSON(con)$cookies$foo, "123") at test-cookies.R:21:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─jsonlite::fromJSON(con) 5. └─jsonlite:::parse_and_simplify(...) 6. └─jsonlite:::parseJSON(txt, bigint_as_char) 7. └─jsonlite:::parse_con(txt, bigint_as_char) 8. ├─base::open(con, "rb") 9. └─base::open.connection(con, "rb") ── Error ('test-cookies.R:25:3'): Delete a cookie ────────────────────────────── <curl_error_operation_timedout/curl_error/error/condition> Error in `curl_fetch_memory(httpbin("cookies/delete?foo"), handle = h)`: Timeout was reached [hb.opencpu.org]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. ├─curl::curl_fetch_memory(httpbin("cookies/delete?foo"), handle = h) at test-cookies.R:25:3 2. └─curl:::raise_libcurl_error(...) ── Failure ('test-multi.R:164:5'): host_con and multi_fdset ──────────────────── Expected `length(c(fdset$reads, fdset$writes))` <= `min(host_con, res$pending)`. Actual comparison: 1.0 > 0.0 Difference: 1.0 > 0 ── Error ('test-nonblocking.R:5:3'): Non blocking connections ───────────────── Error in `open.connection(con, "rb", blocking = FALSE)`: cannot open the connection Backtrace: ▆ 1. ├─base::open(con, "rb", blocking = FALSE) at test-nonblocking.R:5:3 2. └─base::open.connection(con, "rb", blocking = FALSE) ── Error ('test-nonblocking.R:22:3'): Non blocking readline ──────────────────── Error in `open.connection(con, "r", blocking = FALSE)`: cannot open the connection Backtrace: ▆ 1. ├─base::open(con, "r", blocking = FALSE) at test-nonblocking.R:22:3 2. └─base::open.connection(con, "r", blocking = FALSE) ── Error ('test-nonblocking.R:37:3'): isIncomplete for blocking connections ──── Error in `readLines(con)`: cannot open the connection Backtrace: ▆ 1. ├─testthat::expect_equal(length(readLines(con)), 71L) at test-nonblocking.R:37:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─base::readLines(con) ── Error ('test-nonblocking.R:55:3'): Small buffers ──────────────────────────── Error in `open.connection(con)`: cannot open the connection Backtrace: ▆ 1. ├─base::open(con) at test-nonblocking.R:55:3 2. └─base::open.connection(con) ── Error ('test-path.R:14:3'): curl_download() and curl_fetch_disk() can write to a non-ASCII path ── <curl_error_operation_timedout/curl_error/error/condition> Error in `curl_fetch_disk(httpbin("stream/10"), file.path(tmpdir, tricky_filename))`: Timeout was reached [hb.opencpu.org]: Connection timed out after 10001 milliseconds Backtrace: ▆ 1. ├─curl::curl_fetch_disk(...) at test-path.R:14:3 2. └─curl:::raise_libcurl_error(...) ── Error ('test-path.R:25:3'): curl_download() does not store failed downloads ── <curl_error_operation_timedout/curl_error/error/condition> Error in `curl_download(httpbin("get"), destfile = dest1)`: Timeout was reached [hb.opencpu.org]: Connection timed out after 10001 milliseconds Backtrace: ▆ 1. ├─curl::curl_download(httpbin("get"), destfile = dest1) at test-path.R:25:3 2. └─curl:::raise_libcurl_error(...) ── Failure ('test-post.R:106:3'): GC works ───────────────────────────────────── Expected `total_handles()` to equal 0L. Differences: 1/1 mismatches [1] 4 - 0 == 4 ── Failure ('test-progress.R:8:3'): callbacks are protected ──────────────────── Expected `total_handles()` to equal 1L. Differences: 1/1 mismatches [1] 5 - 1 == 4 ── Failure ('test-progress.R:11:3'): callbacks are protected ─────────────────── Expected `total_handles()` to equal 0L. Differences: 1/1 mismatches [1] 4 - 0 == 4 [ FAIL 15 | WARN 6 | SKIP 6 | PASS 231 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 7.0.0
Check: compiled code
Result: NOTE File ‘curl/libs/curl.so’: Found non-API call to R: ‘R_new_custom_connection’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points. Flavors: r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64

Version: 7.0.0
Check: tests
Result: NOTE Running ‘spelling.R’ [0s/0s] Comparing ‘spelling.Rout’ to ‘spelling.Rout.save’ ...6c6 < NULL --- > All Done! Running ‘testthat.R’ [3s/109s] Flavor: r-release-macos-arm64

Version: 7.0.0
Check: compiled code
Result: NOTE File 'curl/libs/x64/curl.dll': Found non-API call to R: 'R_new_custom_connection' Compiled code should not call non-API entry points in R. See 'Writing portable packages' in the 'Writing R Extensions' manual, and section 'Moving into C API compliance' for issues with the use of non-API entry points. Flavor: r-release-windows-x86_64

Version: 7.0.0
Check: compiled code
Result: NOTE File ‘curl/libs/curl.so’: Found non-API call to R: ‘R_new_custom_connection’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual. Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 7.0.0
Check: installed package size
Result: NOTE installed size is 9.0Mb sub-directories of 1Mb or more: doc 1.8Mb libs 6.9Mb Flavor: r-oldrel-windows-x86_64

Version: 7.0.0
Check: compiled code
Result: NOTE File 'curl/libs/x64/curl.dll': Found non-API call to R: 'R_new_custom_connection' Compiled code should not call non-API entry points in R. See 'Writing portable packages' in the 'Writing R Extensions' manual. Flavor: r-oldrel-windows-x86_64