Last updated on 2025-03-06 01:51:16 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.2 | 3.21 | 39.82 | 43.03 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.0.2 | 2.59 | 30.47 | 33.06 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.0.2 | 70.41 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.0.2 | 84.31 | OK | |||
r-devel-macos-arm64 | 1.0.2 | 75.00 | OK | |||
r-devel-macos-x86_64 | 1.0.2 | 93.00 | OK | |||
r-devel-windows-x86_64 | 1.0.2 | 6.00 | 82.00 | 88.00 | OK | |
r-patched-linux-x86_64 | 1.0.2 | OK | ||||
r-release-linux-x86_64 | 1.0.2 | 3.51 | 34.29 | 37.80 | ERROR | |
r-release-macos-arm64 | 1.0.2 | 68.00 | OK | |||
r-release-macos-x86_64 | 1.0.2 | 81.00 | OK | |||
r-release-windows-x86_64 | 1.0.2 | 5.00 | 81.00 | 86.00 | OK | |
r-oldrel-macos-arm64 | 1.0.2 | OK | ||||
r-oldrel-macos-x86_64 | 1.0.2 | 81.00 | OK | |||
r-oldrel-windows-x86_64 | 1.0.2 | 6.00 | 86.00 | 92.00 | OK |
Version: 1.0.2
Check: examples
Result: ERROR
Running examples in ‘OCSdata-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: extra_data
> ### Title: Download Open Case Study Extra Data
> ### Aliases: extra_data
>
> ### ** Examples
>
> tmp = tempfile()
> dir.create(tmp)
> extra_data('ocs-bp-opioid-rural-urban', outpath = tmp)
Error in curl::curl_fetch_memory(url, handle = handle) :
Timeout was reached [api.github.com]: Connection timed out after 10001 milliseconds
Calls: extra_data ... request_fetch.write_memory -> <Anonymous> -> raise_libcurl_error
Execution halted
Flavor: r-release-linux-x86_64
Version: 1.0.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/132s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(OCSdata)
>
> test_check("OCSdata")
v Downloading from
<https://github.com/opencasestudies/ocs-bp-co2-emissions/zipball/HEAD>.
i Retrying download ... attempt 2.
i Retrying download ... attempt 3.
[ FAIL 7 | WARN 0 | SKIP 0 | PASS 0 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-extra_data.R:4:3'): extra_data works ───────────────────────────
<curl_error_operation_timedout/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [api.github.com]: Connection timed out after 10002 milliseconds
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-extra_data.R:4:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─OCSdata::extra_data("ocs-bp-opioid-rural-urban", outpath = tmp)
5. │ └─httr::GET(url = repo_url)
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)
10. └─curl:::raise_libcurl_error(...)
── Error ('test-imported_data.R:4:3'): imported_data works ─────────────────────
<curl_error_operation_timedout/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [api.github.com]: Connection timed out after 10004 milliseconds
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-imported_data.R:4:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─OCSdata::imported_data("ocs-bp-opioid-rural-urban", outpath = tmp)
5. │ └─httr::GET(url = repo_url)
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)
10. └─curl:::raise_libcurl_error(...)
── Error ('test-raw_data.R:4:3'): raw_data works ───────────────────────────────
<curl_error_operation_timedout/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [api.github.com]: Connection timed out after 10004 milliseconds
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-raw_data.R:4:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─OCSdata::raw_data("ocs-bp-opioid-rural-urban", outpath = tmp)
5. │ └─httr::GET(url = repo_url)
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)
10. └─curl:::raise_libcurl_error(...)
── Error ('test-simpler_import_data.R:4:3'): simpler_import_data works ─────────
<curl_error_operation_timedout/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [api.github.com]: Connection timed out after 10002 milliseconds
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-simpler_import_data.R:4:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─OCSdata::simpler_import_data("ocs-bp-opioid-rural-urban", outpath = tmp)
5. │ └─httr::GET(url = repo_url)
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)
10. └─curl:::raise_libcurl_error(...)
── Error ('test-wrangled_csv.R:4:3'): wrangled_csv works ───────────────────────
<curl_error_operation_timedout/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [api.github.com]: Connection timed out after 10002 milliseconds
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-wrangled_csv.R:4:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─OCSdata::wrangled_csv("ocs-bp-opioid-rural-urban", outpath = tmp)
5. │ └─httr::GET(url = repo_url)
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)
10. └─curl:::raise_libcurl_error(...)
── Error ('test-wrangled_rda.R:4:3'): wrangled_rda works ───────────────────────
<curl_error_operation_timedout/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [api.github.com]: Connection timed out after 10002 milliseconds
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-wrangled_rda.R:4:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─OCSdata::wrangled_rda("ocs-bp-opioid-rural-urban", outpath = tmp)
5. │ └─httr::GET(url = repo_url)
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)
10. └─curl:::raise_libcurl_error(...)
── Error ('test-zip_ocs.R:4:3'): zip_ocs works ─────────────────────────────────
<curl_error_operation_timedout/curl_error/error/condition>
Error in `curl::curl_download(url = url, destfile = destfile, quiet = quiet,
mode = mode, handle = handle)`: Timeout was reached [github.com]: Connection timed out after 40002 milliseconds
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-zip_ocs.R:4:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─OCSdata::zip_ocs("ocs-bp-co2-emissions", outpath = tmp)
5. └─usethis::use_zip(...)
6. └─usethis:::tidy_download(url, destdir)
7. └─usethis:::download_url(url, destfile = tmp)
[ FAIL 7 | WARN 0 | SKIP 0 | PASS 0 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64