Last updated on 2025-09-15 09:48:51 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.0 | 5.37 | 68.04 | 73.41 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.1.0 | 3.90 | 47.75 | 51.65 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.1.0 | 109.15 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.0 | 111.95 | OK | |||
r-devel-windows-x86_64 | 0.1.0 | 14.00 | 101.00 | 115.00 | OK | |
r-patched-linux-x86_64 | 0.1.0 | 5.97 | 59.58 | 65.55 | OK | |
r-release-linux-x86_64 | 0.1.0 | 5.17 | 60.55 | 65.72 | OK | |
r-release-macos-arm64 | 0.1.0 | 59.00 | OK | |||
r-release-macos-x86_64 | 0.1.0 | 85.00 | OK | |||
r-release-windows-x86_64 | 0.1.0 | 8.00 | 107.00 | 115.00 | OK | |
r-oldrel-macos-arm64 | 0.1.0 | 54.00 | OK | |||
r-oldrel-macos-x86_64 | 0.1.0 | 98.00 | OK | |||
r-oldrel-windows-x86_64 | 0.1.0 | 10.00 | 103.00 | 113.00 | OK |
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/17s]
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(SouthKoreAPIs)
>
> test_check("SouthKoreAPIs")
Error: status 400
Datasets available in the 'SouthKoreAPIs' package:
Datasets available in the 'SouthKoreAPIs' package:
[ FAIL 9 | WARN 0 | SKIP 74 | PASS 481 ]
══ Skipped tests (74) ══════════════════════════════════════════════════════════
• On CRAN (74): 'test-get_southkorea_child_mortality.R:13:3',
'test-get_southkorea_child_mortality.R:28:3',
'test-get_southkorea_child_mortality.R:34:3',
'test-get_southkorea_child_mortality.R:40:3',
'test-get_southkorea_child_mortality.R:46:3',
'test-get_southkorea_child_mortality.R:52:3',
'test-get_southkorea_child_mortality.R:58:3',
'test-get_southkorea_child_mortality.R:64:3',
'test-get_southkorea_child_mortality.R:70:3',
'test-get_southkorea_child_mortality.R:76:3',
'test-get_southkorea_child_mortality.R:82:3',
'test-get_southkorea_cpi.R:12:3', 'test-get_southkorea_cpi.R:27:3',
'test-get_southkorea_cpi.R:33:3', 'test-get_southkorea_cpi.R:39:3',
'test-get_southkorea_cpi.R:45:3', 'test-get_southkorea_cpi.R:51:3',
'test-get_southkorea_cpi.R:57:3', 'test-get_southkorea_cpi.R:63:3',
'test-get_southkorea_cpi.R:69:3', 'test-get_southkorea_cpi.R:75:3',
'test-get_southkorea_cpi.R:81:3', 'test-get_southkorea_holidays.R:12:3',
'test-get_southkorea_holidays.R:27:3', 'test-get_southkorea_holidays.R:40:3',
'test-get_southkorea_holidays.R:49:3',
'test-get_southkorea_hospital_beds.R:12:3',
'test-get_southkorea_hospital_beds.R:26:3',
'test-get_southkorea_hospital_beds.R:32:3',
'test-get_southkorea_hospital_beds.R:38:3',
'test-get_southkorea_hospital_beds.R:45:3',
'test-get_southkorea_hospital_beds.R:51:3',
'test-get_southkorea_hospital_beds.R:57:3',
'test-get_southkorea_hospital_beds.R:63:3',
'test-get_southkorea_hospital_beds.R:69:3',
'test-get_southkorea_hospital_beds.R:75:3',
'test-get_southkorea_life_expectancy.R:12:3',
'test-get_southkorea_life_expectancy.R:26:3',
'test-get_southkorea_life_expectancy.R:32:3',
'test-get_southkorea_life_expectancy.R:38:3',
'test-get_southkorea_life_expectancy.R:45:3',
'test-get_southkorea_life_expectancy.R:51:3',
'test-get_southkorea_life_expectancy.R:57:3',
'test-get_southkorea_life_expectancy.R:64:3',
'test-get_southkorea_life_expectancy.R:70:3',
'test-get_southkorea_literacy_rate.R:12:3',
'test-get_southkorea_literacy_rate.R:27:3',
'test-get_southkorea_literacy_rate.R:33:3',
'test-get_southkorea_literacy_rate.R:39:3',
'test-get_southkorea_literacy_rate.R:46:3',
'test-get_southkorea_literacy_rate.R:52:3',
'test-get_southkorea_literacy_rate.R:58:3',
'test-get_southkorea_literacy_rate.R:64:3',
'test-get_southkorea_literacy_rate.R:71:3',
'test-get_southkorea_literacy_rate.R:77:3',
'test-get_southkorea_population.R:12:3',
'test-get_southkorea_population.R:27:3',
'test-get_southkorea_population.R:33:3',
'test-get_southkorea_population.R:39:3',
'test-get_southkorea_population.R:46:3',
'test-get_southkorea_population.R:52:3',
'test-get_southkorea_population.R:58:3',
'test-get_southkorea_population.R:65:3',
'test-get_southkorea_population.R:73:3',
'test-get_southkorea_population.R:79:3',
'test-get_southkorea_unemployment.R:13:3',
'test-get_southkorea_unemployment.R:28:3',
'test-get_southkorea_unemployment.R:34:3',
'test-get_southkorea_unemployment.R:41:3',
'test-get_southkorea_unemployment.R:48:3',
'test-get_southkorea_unemployment.R:54:3',
'test-get_southkorea_unemployment.R:60:3',
'test-get_southkorea_unemployment.R:67:3',
'test-get_southkorea_unemployment.R:73:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-get_southkorea_gdp.R:15:3'): get_southkorea_gdp() returns a tibble with the correct structure and content ──
is.null(result) is not FALSE
`actual`: TRUE
`expected`: FALSE
── Failure ('test-get_southkorea_gdp.R:18:3'): get_southkorea_gdp() returns a tibble with the correct structure and content ──
`result` is not an S3 object
── Failure ('test-get_southkorea_gdp.R:21:3'): get_southkorea_gdp() returns a tibble with the correct structure and content ──
Names of `result` ('') don't match 'indicator', 'country', 'year', 'value', 'value_label'
── Failure ('test-get_southkorea_gdp.R:24:3'): get_southkorea_gdp() returns a tibble with the correct structure and content ──
result$indicator has type 'NULL', not 'character'.
── Failure ('test-get_southkorea_gdp.R:25:3'): get_southkorea_gdp() returns a tibble with the correct structure and content ──
result$country has type 'NULL', not 'character'.
── Failure ('test-get_southkorea_gdp.R:26:3'): get_southkorea_gdp() returns a tibble with the correct structure and content ──
result$year has type 'NULL', not 'integer'.
── Failure ('test-get_southkorea_gdp.R:27:3'): get_southkorea_gdp() returns a tibble with the correct structure and content ──
result$value has type 'NULL', not 'double'.
── Failure ('test-get_southkorea_gdp.R:28:3'): get_southkorea_gdp() returns a tibble with the correct structure and content ──
result$value_label has type 'NULL', not 'character'.
── Failure ('test-get_southkorea_gdp.R:40:3'): get_southkorea_gdp() returns a tibble with the correct structure and content ──
nrow(result) (`actual`) not equal to 13 (`expected`).
`actual` is NULL
`expected` is a double vector (13)
[ FAIL 9 | WARN 0 | SKIP 74 | PASS 481 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [12s/33s]
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(SouthKoreAPIs)
>
> test_check("SouthKoreAPIs")
Datasets available in the 'SouthKoreAPIs' package:
Datasets available in the 'SouthKoreAPIs' package:
[ FAIL 1 | WARN 0 | SKIP 74 | PASS 482 ]
══ Skipped tests (74) ══════════════════════════════════════════════════════════
• On CRAN (74): 'test-get_southkorea_child_mortality.R:13:3',
'test-get_southkorea_child_mortality.R:28:3',
'test-get_southkorea_child_mortality.R:34:3',
'test-get_southkorea_child_mortality.R:40:3',
'test-get_southkorea_child_mortality.R:46:3',
'test-get_southkorea_child_mortality.R:52:3',
'test-get_southkorea_child_mortality.R:58:3',
'test-get_southkorea_child_mortality.R:64:3',
'test-get_southkorea_child_mortality.R:70:3',
'test-get_southkorea_child_mortality.R:76:3',
'test-get_southkorea_child_mortality.R:82:3',
'test-get_southkorea_cpi.R:12:3', 'test-get_southkorea_cpi.R:27:3',
'test-get_southkorea_cpi.R:33:3', 'test-get_southkorea_cpi.R:39:3',
'test-get_southkorea_cpi.R:45:3', 'test-get_southkorea_cpi.R:51:3',
'test-get_southkorea_cpi.R:57:3', 'test-get_southkorea_cpi.R:63:3',
'test-get_southkorea_cpi.R:69:3', 'test-get_southkorea_cpi.R:75:3',
'test-get_southkorea_cpi.R:81:3', 'test-get_southkorea_holidays.R:12:3',
'test-get_southkorea_holidays.R:27:3', 'test-get_southkorea_holidays.R:40:3',
'test-get_southkorea_holidays.R:49:3',
'test-get_southkorea_hospital_beds.R:12:3',
'test-get_southkorea_hospital_beds.R:26:3',
'test-get_southkorea_hospital_beds.R:32:3',
'test-get_southkorea_hospital_beds.R:38:3',
'test-get_southkorea_hospital_beds.R:45:3',
'test-get_southkorea_hospital_beds.R:51:3',
'test-get_southkorea_hospital_beds.R:57:3',
'test-get_southkorea_hospital_beds.R:63:3',
'test-get_southkorea_hospital_beds.R:69:3',
'test-get_southkorea_hospital_beds.R:75:3',
'test-get_southkorea_life_expectancy.R:12:3',
'test-get_southkorea_life_expectancy.R:26:3',
'test-get_southkorea_life_expectancy.R:32:3',
'test-get_southkorea_life_expectancy.R:38:3',
'test-get_southkorea_life_expectancy.R:45:3',
'test-get_southkorea_life_expectancy.R:51:3',
'test-get_southkorea_life_expectancy.R:57:3',
'test-get_southkorea_life_expectancy.R:64:3',
'test-get_southkorea_life_expectancy.R:70:3',
'test-get_southkorea_literacy_rate.R:12:3',
'test-get_southkorea_literacy_rate.R:27:3',
'test-get_southkorea_literacy_rate.R:33:3',
'test-get_southkorea_literacy_rate.R:39:3',
'test-get_southkorea_literacy_rate.R:46:3',
'test-get_southkorea_literacy_rate.R:52:3',
'test-get_southkorea_literacy_rate.R:58:3',
'test-get_southkorea_literacy_rate.R:64:3',
'test-get_southkorea_literacy_rate.R:71:3',
'test-get_southkorea_literacy_rate.R:77:3',
'test-get_southkorea_population.R:12:3',
'test-get_southkorea_population.R:27:3',
'test-get_southkorea_population.R:33:3',
'test-get_southkorea_population.R:39:3',
'test-get_southkorea_population.R:46:3',
'test-get_southkorea_population.R:52:3',
'test-get_southkorea_population.R:58:3',
'test-get_southkorea_population.R:65:3',
'test-get_southkorea_population.R:73:3',
'test-get_southkorea_population.R:79:3',
'test-get_southkorea_unemployment.R:13:3',
'test-get_southkorea_unemployment.R:28:3',
'test-get_southkorea_unemployment.R:34:3',
'test-get_southkorea_unemployment.R:41:3',
'test-get_southkorea_unemployment.R:48:3',
'test-get_southkorea_unemployment.R:54:3',
'test-get_southkorea_unemployment.R:60:3',
'test-get_southkorea_unemployment.R:67:3',
'test-get_southkorea_unemployment.R:73:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-get_country_info_kr.R:35:3'): get_country_info_kr() devuelve valores esperados ──
<curl_error_ssl_connect_error/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: SSL connect error [restcountries.com]:
TLS connect error: error:00000000:lib(0)::reason(0)
Backtrace:
▆
1. ├─SouthKoreAPIs::get_country_info_kr() at test-get_country_info_kr.R:35: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 1 | WARN 0 | SKIP 74 | PASS 482 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang