Last updated on 2025-06-17 16:49:15 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.1 | 4.35 | 50.68 | 55.03 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.1.1 | 2.97 | 38.74 | 41.71 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.1.1 | 81.92 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.1 | 91.77 | OK | |||
r-devel-windows-x86_64 | 0.1.1 | 6.00 | 79.00 | 85.00 | OK | |
r-patched-linux-x86_64 | 0.1.1 | 4.51 | 45.48 | 49.99 | OK | |
r-release-linux-x86_64 | 0.1.1 | 4.04 | 45.88 | 49.92 | OK | |
r-release-macos-arm64 | 0.1.1 | 53.00 | OK | |||
r-release-macos-x86_64 | 0.1.1 | 63.00 | OK | |||
r-release-windows-x86_64 | 0.1.1 | 7.00 | 171.00 | 178.00 | ERROR | |
r-oldrel-macos-arm64 | 0.1.1 | 42.00 | OK | |||
r-oldrel-macos-x86_64 | 0.1.1 | 64.00 | OK | |||
r-oldrel-windows-x86_64 | 0.1.1 | 9.00 | 88.00 | 97.00 | OK |
Version: 0.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [85s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(ColombiAPI)
>
> test_check("ColombiAPI")
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Datasets available in the 'ColombiAPI' package:
Datasets available in the 'ColombiAPI' package:
[ FAIL 7 | WARN 0 | SKIP 0 | PASS 156 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-get_Colombia_info.R:36:3'): Función get_Colombia_info devuelve datos esperados ──
<curl_error_operation_timedout/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [api-colombia.com]: Connection timed out after 10012 milliseconds
Backtrace:
▆
1. ├─ColombiAPI::get_Colombia_info() at test-get_Colombia_info.R:36:3
2. │ └─httr::GET("https://api-colombia.com/api/v1/Country/Colombia")
3. │ └─httr:::request_perform(req, hu$handle$handle)
4. │ ├─httr:::request_fetch(req$output, req$url, handle)
5. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle)
6. │ └─curl::curl_fetch_memory(url, handle = handle)
7. └─curl:::raise_libcurl_error(...)
── Error ('test-get_Colombia_info.R:49:3'): Función get_Colombia_info devuelve un data frame ──
<curl_error_operation_timedout/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [api-colombia.com]: Connection timed out after 10001 milliseconds
Backtrace:
▆
1. ├─ColombiAPI::get_Colombia_info() at test-get_Colombia_info.R:49:3
2. │ └─httr::GET("https://api-colombia.com/api/v1/Country/Colombia")
3. │ └─httr:::request_perform(req, hu$handle$handle)
4. │ ├─httr:::request_fetch(req$output, req$url, handle)
5. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle)
6. │ └─curl::curl_fetch_memory(url, handle = handle)
7. └─curl:::raise_libcurl_error(...)
── Error ('test-get_airports_list.R:26:3'): Función get_airports_list devuelve datos esperados ──
<curl_error_operation_timedout/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [api-colombia.com]: Connection timed out after 10009 milliseconds
Backtrace:
▆
1. ├─ColombiAPI::get_airports_list() at test-get_airports_list.R:26:3
2. │ └─httr::GET(url_airports_001)
3. │ └─httr:::request_perform(req, hu$handle$handle)
4. │ ├─httr:::request_fetch(req$output, req$url, handle)
5. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle)
6. │ └─curl::curl_fetch_memory(url, handle = handle)
7. └─curl:::raise_libcurl_error(...)
── Error ('test-get_airports_list.R:38:3'): Función get_airports_list devuelve un data frame ──
<curl_error_operation_timedout/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [api-colombia.com]: Connection timed out after 10008 milliseconds
Backtrace:
▆
1. ├─ColombiAPI::get_airports_list() at test-get_airports_list.R:38:3
2. │ └─httr::GET(url_airports_001)
3. │ └─httr:::request_perform(req, hu$handle$handle)
4. │ ├─httr:::request_fetch(req$output, req$url, handle)
5. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle)
6. │ └─curl::curl_fetch_memory(url, handle = handle)
7. └─curl:::raise_libcurl_error(...)
── Failure ('test-get_airports_list.R:44:3'): Función get_airports_list maneja errores de API ──
`get_airports_list()` threw an unexpected error.
Message: Timeout was reached [api-colombia.com]: Connection timed out after 10011 milliseconds
Class: curl_error_operation_timedout/curl_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(get_airports_list(), NA) at test-get_airports_list.R:44:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─ColombiAPI::get_airports_list()
8. │ └─httr::GET(url_airports_001)
9. │ └─httr:::request_perform(req, hu$handle$handle)
10. │ ├─httr:::request_fetch(req$output, req$url, handle)
11. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle)
12. │ └─curl::curl_fetch_memory(url, handle = handle)
13. └─curl:::raise_libcurl_error(...)
── Failure ('test-get_airports_list.R:49:3'): Función get_airports_list maneja errores de conexión ──
`get_airports_list()` threw an unexpected error.
Message: Timeout was reached [api-colombia.com]: Connection timed out after 10014 milliseconds
Class: curl_error_operation_timedout/curl_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(get_airports_list(), NA) at test-get_airports_list.R:49:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─ColombiAPI::get_airports_list()
8. │ └─httr::GET(url_airports_001)
9. │ └─httr:::request_perform(req, hu$handle$handle)
10. │ ├─httr:::request_fetch(req$output, req$url, handle)
11. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle)
12. │ └─curl::curl_fetch_memory(url, handle = handle)
13. └─curl:::raise_libcurl_error(...)
── Error ('test-get_departments_list.R:25:3'): Función get_departments_list devuelve datos esperados ──
<curl_error_operation_timedout/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [api-colombia.com]: Connection timed out after 10006 milliseconds
Backtrace:
▆
1. ├─ColombiAPI::get_departments_list() at test-get_departments_list.R:25:3
2. │ └─httr::GET(url_departments_001)
3. │ └─httr:::request_perform(req, hu$handle$handle)
4. │ ├─httr:::request_fetch(req$output, req$url, handle)
5. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle)
6. │ └─curl::curl_fetch_memory(url, handle = handle)
7. └─curl:::raise_libcurl_error(...)
[ FAIL 7 | WARN 0 | SKIP 0 | PASS 156 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64