Last updated on 2025-11-22 07:49:47 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.2.0 | 7.03 | 73.30 | 80.33 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.2.0 | 5.03 | 53.02 | 58.05 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.2.0 | 16.00 | 104.05 | 120.05 | OK | |
| r-devel-windows-x86_64 | 0.2.0 | 11.00 | 92.00 | 103.00 | OK | |
| r-patched-linux-x86_64 | 0.2.0 | 6.57 | 66.84 | 73.41 | OK | |
| r-release-linux-x86_64 | 0.2.0 | 6.27 | 66.11 | 72.38 | OK | |
| r-release-macos-arm64 | 0.2.0 | OK | ||||
| r-release-macos-x86_64 | 0.2.0 | 7.00 | 108.00 | 115.00 | OK | |
| r-release-windows-x86_64 | 0.2.0 | 10.00 | 92.00 | 102.00 | OK | |
| r-oldrel-macos-arm64 | 0.2.0 | OK | ||||
| r-oldrel-macos-x86_64 | 0.2.0 | 8.00 | 89.00 | 97.00 | OK | |
| r-oldrel-windows-x86_64 | 0.2.0 | 13.00 | 111.00 | 124.00 | OK |
Version: 0.2.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [8s/79s]
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(ChileDataAPI)
>
> test_check("ChileDataAPI")
Saving _problems/test-get_country_info_cl-23.R
Saving _problems/test-get_country_info_cl-32.R
Saving _problems/test-get_country_info_cl-44.R
Saving _problems/test-get_country_info_cl-56.R
Saving _problems/test-get_country_info_cl-63.R
Saving _problems/test-get_country_info_cl-75.R
Saving _problems/test-get_country_info_cl-83.R
Datasets available in the 'ChileDataAPI' package:
Datasets available in the 'ChileDataAPI' package:
[ FAIL 7 | WARN 0 | SKIP 198 | PASS 214 ]
══ Skipped tests (198) ═════════════════════════════════════════════════════════
• On CRAN (198): 'test-get_chile_bitcoin.R:24:3',
'test-get_chile_bitcoin.R:41:3', 'test-get_chile_bitcoin.R:50:3',
'test-get_chile_child_mortality.R:23:3',
'test-get_chile_child_mortality.R:35:3',
'test-get_chile_child_mortality.R:41:3',
'test-get_chile_child_mortality.R:47:3',
'test-get_chile_child_mortality.R:54:3',
'test-get_chile_child_mortality.R:60:3',
'test-get_chile_child_mortality.R:66:3',
'test-get_chile_child_mortality.R:73:3',
'test-get_chile_child_mortality.R:79:3',
'test-get_chile_child_mortality.R:86:3',
'test-get_chile_child_mortality.R:93:3',
'test-get_chile_child_mortality.R:101:3',
'test-get_chile_child_mortality.R:110:3',
'test-get_chile_copper_pound.R:24:3', 'test-get_chile_copper_pound.R:36:3',
'test-get_chile_copper_pound.R:46:3', 'test-get_chile_copper_pound.R:55:3',
'test-get_chile_copper_pound.R:63:3', 'test-get_chile_copper_pound.R:79:3',
'test-get_chile_copper_pound.R:87:3', 'test-get_chile_copper_pound.R:95:3',
'test-get_chile_cpi.R:23:3', 'test-get_chile_cpi.R:35:3',
'test-get_chile_cpi.R:41:3', 'test-get_chile_cpi.R:47:3',
'test-get_chile_cpi.R:54:3', 'test-get_chile_cpi.R:60:3',
'test-get_chile_cpi.R:66:3', 'test-get_chile_cpi.R:73:3',
'test-get_chile_cpi.R:79:3', 'test-get_chile_cpi.R:86:3',
'test-get_chile_cpi.R:94:3', 'test-get_chile_cpi.R:101:3',
'test-get_chile_cpi.R:109:3', 'test-get_chile_cpi.R:120:3',
'test-get_chile_cpi.R:127:3', 'test-get_chile_dollar.R:24:3',
'test-get_chile_dollar.R:39:3', 'test-get_chile_dollar.R:49:3',
'test-get_chile_dollar.R:57:3', 'test-get_chile_dollar.R:65:3',
'test-get_chile_dollar.R:74:3', 'test-get_chile_dollar.R:90:3',
'test-get_chile_energy_use.R:23:3', 'test-get_chile_energy_use.R:35:3',
'test-get_chile_energy_use.R:41:3', 'test-get_chile_energy_use.R:47:3',
'test-get_chile_energy_use.R:54:3', 'test-get_chile_energy_use.R:60:3',
'test-get_chile_energy_use.R:66:3', 'test-get_chile_energy_use.R:73:3',
'test-get_chile_energy_use.R:79:3', 'test-get_chile_energy_use.R:86:3',
'test-get_chile_energy_use.R:94:3', 'test-get_chile_energy_use.R:102:3',
'test-get_chile_energy_use.R:110:3', 'test-get_chile_energy_use.R:117:3',
'test-get_chile_energy_use.R:127:3', 'test-get_chile_euro.R:24:3',
'test-get_chile_euro.R:37:3', 'test-get_chile_euro.R:47:3',
'test-get_chile_euro.R:56:3', 'test-get_chile_euro.R:66:3',
'test-get_chile_gdp.R:23:3', 'test-get_chile_gdp.R:40:3',
'test-get_chile_gdp.R:46:3', 'test-get_chile_gdp.R:52:3',
'test-get_chile_gdp.R:59:3', 'test-get_chile_gdp.R:65:3',
'test-get_chile_gdp.R:71:3', 'test-get_chile_gdp.R:78:3',
'test-get_chile_gdp.R:84:3', 'test-get_chile_gdp.R:90:3',
'test-get_chile_gdp.R:97:3', 'test-get_chile_gdp.R:105:3',
'test-get_chile_gdp.R:113:3', 'test-get_chile_gdp.R:121:3',
'test-get_chile_gdp.R:129:3', 'test-get_chile_gdp.R:140:3',
'test-get_chile_holidays.R:23:3', 'test-get_chile_holidays.R:35:3',
'test-get_chile_holidays.R:48:3', 'test-get_chile_holidays.R:56:3',
'test-get_chile_holidays.R:64:3', 'test-get_chile_holidays.R:72:3',
'test-get_chile_holidays.R:79:3', 'test-get_chile_holidays.R:86:3',
'test-get_chile_holidays.R:95:3', 'test-get_chile_holidays.R:101:3',
'test-get_chile_holidays.R:107:3', 'test-get_chile_hospital_beds.R:23:3',
'test-get_chile_hospital_beds.R:35:3', 'test-get_chile_hospital_beds.R:41:3',
'test-get_chile_hospital_beds.R:47:3', 'test-get_chile_hospital_beds.R:54:3',
'test-get_chile_hospital_beds.R:60:3', 'test-get_chile_hospital_beds.R:66:3',
'test-get_chile_hospital_beds.R:73:3', 'test-get_chile_hospital_beds.R:79:3',
'test-get_chile_hospital_beds.R:86:3', 'test-get_chile_hospital_beds.R:97:3',
'test-get_chile_hospital_beds.R:105:3',
'test-get_chile_hospital_beds.R:116:3',
'test-get_chile_hospital_beds.R:123:3',
'test-get_chile_hospital_beds.R:132:3',
'test-get_chile_hospital_beds.R:143:3', 'test-get_chile_ipsa.R:25:3',
'test-get_chile_ipsa.R:40:3', 'test-get_chile_ipsa.R:49:3',
'test-get_chile_ipsa.R:59:3', 'test-get_chile_ipsa.R:77:3',
'test-get_chile_life_expectancy.R:23:3',
'test-get_chile_life_expectancy.R:35:3',
'test-get_chile_life_expectancy.R:41:3',
'test-get_chile_life_expectancy.R:47:3',
'test-get_chile_life_expectancy.R:54:3',
'test-get_chile_life_expectancy.R:60:3',
'test-get_chile_life_expectancy.R:66:3',
'test-get_chile_life_expectancy.R:73:3',
'test-get_chile_life_expectancy.R:79:3',
'test-get_chile_life_expectancy.R:86:3',
'test-get_chile_life_expectancy.R:94:3',
'test-get_chile_life_expectancy.R:102:3',
'test-get_chile_life_expectancy.R:110:3',
'test-get_chile_life_expectancy.R:117:3',
'test-get_chile_life_expectancy.R:125:3',
'test-get_chile_life_expectancy.R:133:3',
'test-get_chile_literacy_rate.R:23:3', 'test-get_chile_literacy_rate.R:35:3',
'test-get_chile_literacy_rate.R:41:3', 'test-get_chile_literacy_rate.R:47:3',
'test-get_chile_literacy_rate.R:54:3', 'test-get_chile_literacy_rate.R:60:3',
'test-get_chile_literacy_rate.R:66:3', 'test-get_chile_literacy_rate.R:73:3',
'test-get_chile_literacy_rate.R:79:3', 'test-get_chile_literacy_rate.R:86:3',
'test-get_chile_literacy_rate.R:97:3',
'test-get_chile_literacy_rate.R:105:3',
'test-get_chile_literacy_rate.R:116:3',
'test-get_chile_literacy_rate.R:123:3',
'test-get_chile_literacy_rate.R:132:3',
'test-get_chile_literacy_rate.R:143:3',
'test-get_chile_literacy_rate.R:154:3', 'test-get_chile_population.R:23:3',
'test-get_chile_population.R:36:3', 'test-get_chile_population.R:42:3',
'test-get_chile_population.R:48:3', 'test-get_chile_population.R:55:3',
'test-get_chile_population.R:61:3', 'test-get_chile_population.R:67:3',
'test-get_chile_population.R:74:3', 'test-get_chile_population.R:80:3',
'test-get_chile_population.R:86:3', 'test-get_chile_population.R:93:3',
'test-get_chile_population.R:101:3', 'test-get_chile_population.R:109:3',
'test-get_chile_population.R:117:3', 'test-get_chile_population.R:125:3',
'test-get_chile_population.R:136:3', 'test-get_chile_population.R:145:3',
'test-get_chile_uf.R:24:3', 'test-get_chile_uf.R:39:3',
'test-get_chile_uf.R:50:3', 'test-get_chile_uf.R:60:3',
'test-get_chile_uf.R:76:3', 'test-get_chile_unemployment.R:23:3',
'test-get_chile_unemployment.R:35:3', 'test-get_chile_unemployment.R:41:3',
'test-get_chile_unemployment.R:47:3', 'test-get_chile_unemployment.R:54:3',
'test-get_chile_unemployment.R:60:3', 'test-get_chile_unemployment.R:66:3',
'test-get_chile_unemployment.R:73:3', 'test-get_chile_unemployment.R:79:3',
'test-get_chile_unemployment.R:86:3', 'test-get_chile_unemployment.R:94:3',
'test-get_chile_unemployment.R:102:3', 'test-get_chile_unemployment.R:110:3',
'test-get_chile_unemployment.R:117:3', 'test-get_chile_unemployment.R:127:3',
'test-get_chile_unemployment.R:135:3', 'test-get_chile_unemployment.R:146:3',
'test-get_chile_utm.R:24:3', 'test-get_chile_utm.R:34:3',
'test-get_chile_utm.R:45:3', 'test-get_chile_utm.R:54:3',
'test-get_chile_utm.R:64:3', 'test-get_chile_utm.R:73:3',
'test-get_chile_utm.R:89:3', 'test-get_chile_yen.R:23:3',
'test-get_chile_yen.R:35:3', 'test-get_chile_yen.R:44:3',
'test-get_chile_yen.R:58:3', 'test-get_chile_yen.R:67:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-get_country_info_cl.R:23:3'): get_country_info_cl() returns tibble with correct structure ──
<curl_error_operation_timedout/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [restcountries.com]:
Connection timed out after 10002 milliseconds
Backtrace:
▆
1. ├─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:23:3
2. │ └─httr::GET(url)
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_country_info_cl.R:32:3'): get_country_info_cl() returns data of correct types ──
<curl_error_operation_timedout/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [restcountries.com]:
Connection timed out after 10002 milliseconds
Backtrace:
▆
1. ├─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:32:3
2. │ └─httr::GET(url)
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_country_info_cl.R:44:3'): get_country_info_cl() returns expected values for Chile ──
<curl_error_operation_timedout/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [restcountries.com]:
Connection timed out after 10002 milliseconds
Backtrace:
▆
1. ├─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:44:3
2. │ └─httr::GET(url)
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_country_info_cl.R:56:3'): get_country_info_cl() returns consistent column structure ──
<curl_error_operation_timedout/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [restcountries.com]:
Connection timed out after 10002 milliseconds
Backtrace:
▆
1. ├─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:56:3
2. │ └─httr::GET(url)
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_country_info_cl.R:63:3'): get_country_info_cl() returns no missing values in key fields ──
<curl_error_operation_timedout/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [restcountries.com]:
Connection timed out after 10002 milliseconds
Backtrace:
▆
1. ├─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:63:3
2. │ └─httr::GET(url)
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_country_info_cl.R:75:3'): get_country_info_cl() area and population are positive numbers ──
<curl_error_operation_timedout/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [restcountries.com]:
Connection timed out after 10007 milliseconds
Backtrace:
▆
1. ├─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:75:3
2. │ └─httr::GET(url)
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_country_info_cl.R:83:3'): get_country_info_cl() returns character strings for text fields ──
<curl_error_operation_timedout/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [restcountries.com]:
Connection timed out after 10004 milliseconds
Backtrace:
▆
1. ├─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:83:3
2. │ └─httr::GET(url)
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 198 | PASS 214 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc