CRAN Package Check Results for Package comtradr

Last updated on 2026-04-02 00:54:00 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.5 3.92 66.58 70.50 OK
r-devel-linux-x86_64-debian-gcc 1.0.5 2.77 50.01 52.78 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.5 105.66 OK
r-devel-linux-x86_64-fedora-gcc 1.0.5 115.03 OK
r-devel-macos-arm64 1.0.5 1.00 25.00 26.00 OK
r-devel-windows-x86_64 1.0.5 8.00 98.00 106.00 ERROR
r-patched-linux-x86_64 1.0.5 3.71 61.70 65.41 ERROR
r-release-linux-x86_64 1.0.5 3.95 59.44 63.39 OK
r-release-macos-arm64 1.0.5 1.00 28.00 29.00 OK
r-release-macos-x86_64 1.0.5 3.00 101.00 104.00 OK
r-release-windows-x86_64 1.0.5 6.00 86.00 92.00 OK
r-oldrel-macos-arm64 1.0.5 1.00 32.00 33.00 OK
r-oldrel-macos-x86_64 1.0.5 3.00 111.00 114.00 OK
r-oldrel-windows-x86_64 1.0.5 9.00 103.00 112.00 OK

Check Details

Version: 1.0.5
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [7s/19s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(comtradr) > > test_check("comtradr") Saving _problems/test-utils-274.R [ FAIL 1 | WARN 0 | SKIP 11 | PASS 293 ] ══ Skipped tests (11) ══════════════════════════════════════════════════════════ • On CRAN (9): 'test-ct_perform_request.R:7:5', 'test-ct_perform_request.R:30:5', 'test-ct_perform_request.R:55:5', 'test-ct_perform_request.R:70:5', 'test-ct_perform_request.R:85:5', 'test-ct_perform_request.R:107:5', 'test-ct_perform_request.R:131:5', 'test-ct_perform_request.R:146:5', 'test-ct_perform_request.R:168:3' • any(class(test) %in% c("rlang_error", "error", "try-error")) is TRUE (2): 'test-ct_get_bulk.R:83:3', 'test-ct_get_data.R:96:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-utils.R:274:3'): update flag prevents repeated downloads in same session ── <httr2_failure/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(httr2::request(datasets$fileuri))`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached [comtradeapi.un.org]: Connection timed out after 10001 milliseconds Backtrace: ▆ 1. └─comtradr::ct_get_ref_table("flow_direction", update = TRUE) at test-utils.R:274:3 2. └─comtradr:::ct_download_ref_table(ref_table_id = ref_table_id) 3. └─httr2::req_perform(httr2::request(datasets$fileuri)) 4. └─httr2:::handle_resp(req, resp, error_call = error_call) 5. └─rlang::cnd_signal(resp) [ FAIL 1 | WARN 0 | SKIP 11 | PASS 293 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.5
Check: tests
Result: ERROR Running 'spelling.R' [0s] Running 'testthat.R' [20s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(comtradr) In the last version of comtradr the cache location has been changed, because it was not CRAN compliant. You can: ✔ Migrate the cache and clean old files with `ct_migrate_cache()` ✖ Ignore this warning, a new cache is created automatically. ℹ Delete your old cache manually with: • `rappdirs::user_cache_dir('comtradr') |> list.files(full.names = T) |> file.remove()` and • `rappdirs::user_cache_dir('comtradr_bulk') |> list.files(full.names = T) |> file.remove()` > > test_check("comtradr") Saving _problems/test-utils-274.R [ FAIL 1 | WARN 0 | SKIP 11 | PASS 293 ] ══ Skipped tests (11) ══════════════════════════════════════════════════════════ • On CRAN (9): 'test-ct_perform_request.R:7:5', 'test-ct_perform_request.R:30:5', 'test-ct_perform_request.R:55:5', 'test-ct_perform_request.R:70:5', 'test-ct_perform_request.R:85:5', 'test-ct_perform_request.R:107:5', 'test-ct_perform_request.R:131:5', 'test-ct_perform_request.R:146:5', 'test-ct_perform_request.R:168:3' • any(class(test) %in% c("rlang_error", "error", "try-error")) is TRUE (2): 'test-ct_get_bulk.R:83:3', 'test-ct_get_data.R:96:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-utils.R:274:3'): update flag prevents repeated downloads in same session ── <httr2_failure/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(httr2::request(datasets$fileuri))`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached [comtradeapi.un.org]: Connection timed out after 10005 milliseconds Backtrace: ▆ 1. └─comtradr::ct_get_ref_table("flow_direction", update = TRUE) at test-utils.R:274:3 2. └─comtradr:::ct_download_ref_table(ref_table_id = ref_table_id) 3. └─httr2::req_perform(httr2::request(datasets$fileuri)) 4. └─httr2:::handle_resp(req, resp, error_call = error_call) 5. └─rlang::cnd_signal(resp) [ FAIL 1 | WARN 0 | SKIP 11 | PASS 293 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64

Version: 1.0.5
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [9s/14s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(comtradr) > > test_check("comtradr") Saving _problems/test-utils-274.R [ FAIL 1 | WARN 0 | SKIP 11 | PASS 293 ] ══ Skipped tests (11) ══════════════════════════════════════════════════════════ • On CRAN (9): 'test-ct_perform_request.R:7:5', 'test-ct_perform_request.R:30:5', 'test-ct_perform_request.R:55:5', 'test-ct_perform_request.R:70:5', 'test-ct_perform_request.R:85:5', 'test-ct_perform_request.R:107:5', 'test-ct_perform_request.R:131:5', 'test-ct_perform_request.R:146:5', 'test-ct_perform_request.R:168:3' • any(class(test) %in% c("rlang_error", "error", "try-error")) is TRUE (2): 'test-ct_get_bulk.R:83:3', 'test-ct_get_data.R:96:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-utils.R:274:3'): update flag prevents repeated downloads in same session ── <httr2_failure/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(httr2::request(datasets$fileuri))`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Failure when receiving data from the peer [comtradeapi.un.org]: Recv failure: Connection reset by peer Backtrace: ▆ 1. └─comtradr::ct_get_ref_table("flow_direction", update = TRUE) at test-utils.R:274:3 2. └─comtradr:::ct_download_ref_table(ref_table_id = ref_table_id) 3. └─httr2::req_perform(httr2::request(datasets$fileuri)) 4. └─httr2:::handle_resp(req, resp, error_call = error_call) 5. └─rlang::cnd_signal(resp) [ FAIL 1 | WARN 0 | SKIP 11 | PASS 293 ] Error: ! Test failures. Execution halted Flavor: r-patched-linux-x86_64

mirror server hosted at Truenetwork, Russian Federation.