CRAN Package Check Results for Package curl

Last updated on 2024-04-30 02:56:44 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 5.2.1 9.80 50.12 59.92 NOTE
r-devel-linux-x86_64-debian-gcc 5.2.1 6.86 36.55 43.41 ERROR
r-devel-linux-x86_64-fedora-clang 5.2.1 75.28 NOTE
r-devel-linux-x86_64-fedora-gcc 5.2.1 88.98 NOTE
r-devel-windows-x86_64 5.2.1 1.00 5.00 6.00 ERROR
r-patched-linux-x86_64 5.2.1 9.28 49.82 59.10 NOTE
r-release-linux-x86_64 5.2.1 8.80 46.11 54.91 ERROR
r-release-macos-arm64 5.2.1 163.00 ERROR
r-release-macos-x86_64 5.2.1 199.00 NOTE
r-release-windows-x86_64 5.2.1 60.00 173.00 233.00 NOTE
r-oldrel-macos-arm64 5.2.1 188.00 NOTE
r-oldrel-macos-x86_64 5.2.1 204.00 NOTE
r-oldrel-windows-x86_64 5.2.1 58.00 187.00 245.00 NOTE

Check Details

Version: 5.2.1
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-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-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 5.2.1
Check: examples
Result: ERROR Running examples in ‘curl-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: handle > ### Title: Create and configure a curl handle > ### Aliases: handle new_handle handle_setopt handle_setheaders > ### handle_getheaders handle_getcustom handle_setform handle_reset > ### handle_data > > ### ** Examples > > h <- new_handle() > handle_setopt(h, customrequest = "PUT") > handle_setform(h, a = "1", b = "2") > r <- curl_fetch_memory("https://hb.cran.dev/put", h) Error in curl_fetch_memory("https://hb.cran.dev/put", h) : Failed writing received data to disk/application Execution halted Flavors: r-devel-linux-x86_64-debian-gcc, r-release-linux-x86_64

Version: 5.2.1
Check: tests
Result: ERROR Running ‘engine.R’ [0s/1s] Comparing ‘engine.Rout’ to ‘engine.Rout.save’ ...4d3 < Using libcurl 8.7.1 with GnuTLS/3.8.5 Running ‘spelling.R’ [0s/1s] Running ‘testthat.R’ [8s/73s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(curl) Using libcurl 8.7.1 with GnuTLS/3.8.5 > > # Comply with CRAN policy: skip tests if no internet > if(curl::has_internet()){ + test_check("curl") + } This is libcurl version 8.7.1 with GnuTLS/3.8.5 Using test server: https://hb.r-universe.dev [ FAIL 3 | WARN 0 | SKIP 4 | PASS 207 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-idn.R:6:3', 'test-multi-download.R:4:3', 'test-seek.R:4:3', 'test-winssl.R:4:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-certificates.R:6:3'): CloudFlare / LetsEncrypt certs ─────────── Error in `curl_fetch_memory("https://letsencrypt.org")`: Failed writing received data to disk/application Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-certificates.R:6:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─curl::curl_fetch_memory("https://letsencrypt.org") ── Error ('test-connection.R:7:3'): Compression and destroying connection ────── Error in `readLines(con)`: Failed writing received data to disk/application Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-connection.R:7:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─jsonlite::fromJSON(readLines(con)) 5. └─base::readLines(con) ── Error ('test-connection.R:24:3'): Connection interface ────────────────────── Error in `open.connection(con, "rb")`: Handle is already in use elsewhere. Backtrace: ▆ 1. ├─testthat::expect_equal(jsonlite::fromJSON(con)$args$test, "blabla") at test-connection.R:24:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 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") [ FAIL 3 | WARN 0 | SKIP 4 | PASS 207 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 5.2.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘intro.Rmd’ using rmarkdown Quitting from lines at lines 48-52 [unnamed-chunk-2] (intro.Rmd) Error: processing vignette 'intro.Rmd' failed with diagnostics: Failed writing received data to disk/application --- failed re-building ‘intro.Rmd’ --- re-building ‘windows.Rmd’ using rmarkdown --- finished re-building ‘windows.Rmd’ SUMMARY: processing the following file failed: ‘intro.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-debian-gcc, r-release-linux-x86_64

Version: 5.2.1
Check: whether package can be installed
Result: ERROR Installation failed. Flavor: r-devel-windows-x86_64

Version: 5.2.1
Check: tests
Result: ERROR Running ‘engine.R’ [0s/0s] Comparing ‘engine.Rout’ to ‘engine.Rout.save’ ...4d3 < Using libcurl 8.7.1 with GnuTLS/3.8.5 Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [10s/70s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(curl) Using libcurl 8.7.1 with GnuTLS/3.8.5 > > # Comply with CRAN policy: skip tests if no internet > if(curl::has_internet()){ + test_check("curl") + } This is libcurl version 8.7.1 with GnuTLS/3.8.5 Using test server: https://hb.r-universe.dev [ FAIL 3 | WARN 0 | SKIP 4 | PASS 206 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-idn.R:6:3', 'test-multi-download.R:4:3', 'test-seek.R:4:3', 'test-winssl.R:4:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-certificates.R:6:3'): CloudFlare / LetsEncrypt certs ─────────── Error in `curl_fetch_memory("https://letsencrypt.org")`: Failed writing received data to disk/application Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-certificates.R:6:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─curl::curl_fetch_memory("https://letsencrypt.org") ── Error ('test-connection.R:7:3'): Compression and destroying connection ────── Error in `readLines(con)`: Failed writing received data to disk/application Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-connection.R:7:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─jsonlite::fromJSON(readLines(con)) 5. └─base::readLines(con) ── Error ('test-connection.R:24:3'): Connection interface ────────────────────── Error in `open.connection(con, "rb")`: Handle is already in use elsewhere. Backtrace: ▆ 1. ├─testthat::expect_equal(jsonlite::fromJSON(con)$args$test, "blabla") at test-connection.R:24:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 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") [ FAIL 3 | WARN 0 | SKIP 4 | PASS 206 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64

Version: 5.2.1
Check: tests
Result: ERROR Running ‘engine.R’ [0s/0s] Comparing ‘engine.Rout’ to ‘engine.Rout.save’ ...4d3 < Using libcurl 7.88.1 with LibreSSL/3.3.6 Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [3s/110s] Running the tests in ‘tests/testthat.R’ failed. Last 13 lines of output: • libcurl does not have libidn (1): 'test-idn.R:5:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-certificates.R:9:3'): CloudFlare / LetsEncrypt certs ─────────── Error in `curl_fetch_memory("http://curl.se")`: Timeout was reached: [curl.se] Resolving timed out after 10009 milliseconds Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-certificates.R:9:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─curl::curl_fetch_memory("http://curl.se") [ FAIL 1 | WARN 0 | SKIP 4 | PASS 219 ] Error: Test failures Execution halted Flavor: r-release-macos-arm64

Version: 5.2.1
Check: installed package size
Result: NOTE installed size is 7.9Mb sub-directories of 1Mb or more: doc 1.8Mb libs 5.8Mb Flavors: r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 5.2.1
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. Flavors: r-release-windows-x86_64, r-oldrel-windows-x86_64