Last updated on 2025-11-16 00:48:35 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.1.0 | 6.08 | 65.78 | 71.86 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.1.0 | 4.49 | 48.65 | 53.14 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.1.0 | 27.00 | 87.23 | 114.23 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 0.1.0 | 16.00 | 113.91 | 129.91 | ERROR | |
| r-devel-windows-x86_64 | 0.1.0 | 14.00 | 85.00 | 99.00 | OK | |
| r-patched-linux-x86_64 | 0.1.0 | 6.77 | 60.00 | 66.77 | OK | |
| r-release-linux-x86_64 | 0.1.0 | 6.02 | 61.81 | 67.83 | OK | |
| r-release-macos-arm64 | 0.1.0 | 3.00 | 42.00 | 45.00 | OK | |
| r-release-macos-x86_64 | 0.1.0 | 5.00 | 75.00 | 80.00 | OK | |
| r-release-windows-x86_64 | 0.1.0 | 9.00 | 85.00 | 94.00 | OK | |
| r-oldrel-macos-arm64 | 0.1.0 | 3.00 | 51.00 | 54.00 | OK | |
| r-oldrel-macos-x86_64 | 0.1.0 | 6.00 | 112.00 | 118.00 | OK | |
| r-oldrel-windows-x86_64 | 0.1.0 | 13.00 | 104.00 | 117.00 | OK |
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [16s/32s]
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(JapanAPIs)
>
> test_check("JapanAPIs")
Error: status 502
Saving _problems/test-get_japan_population-15.R
Saving _problems/test-get_japan_population-19.R
Saving _problems/test-get_japan_population-22.R
Saving _problems/test-get_japan_population-23.R
Saving _problems/test-get_japan_population-24.R
Saving _problems/test-get_japan_population-25.R
Saving _problems/test-get_japan_population-26.R
Error: status 502
Saving _problems/test-get_japan_population-31.R
Error: status 502
Saving _problems/test-get_japan_population-37.R
Error: status 502
Saving _problems/test-get_japan_population-43.R
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Saving _problems/test-get_japan_population-70.R
Error: status 502
Saving _problems/test-get_japan_unemployment-15.R
Saving _problems/test-get_japan_unemployment-19.R
Saving _problems/test-get_japan_unemployment-22.R
Saving _problems/test-get_japan_unemployment-23.R
Saving _problems/test-get_japan_unemployment-24.R
Saving _problems/test-get_japan_unemployment-25.R
Error: status 502
Saving _problems/test-get_japan_unemployment-30.R
Error: status 502
Saving _problems/test-get_japan_unemployment-36.R
Error: status 502
Saving _problems/test-get_japan_unemployment-42.R
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Datasets available in the 'JapanAPIs' package:
Datasets available in the 'JapanAPIs' package:
[ FAIL 20 | WARN 0 | SKIP 68 | PASS 476 ]
══ Skipped tests (68) ══════════════════════════════════════════════════════════
• On CRAN (68): 'test-get_country_info_jp.R:12:3',
'test-get_country_info_jp.R:42:3', 'test-get_country_info_jp.R:56:3',
'test-get_japan_child_mortality.R:12:3',
'test-get_japan_child_mortality.R:27:3',
'test-get_japan_child_mortality.R:33:3',
'test-get_japan_child_mortality.R:39:3',
'test-get_japan_child_mortality.R:45:3',
'test-get_japan_child_mortality.R:51:3',
'test-get_japan_child_mortality.R:57:3',
'test-get_japan_child_mortality.R:63:3',
'test-get_japan_child_mortality.R:70:3',
'test-get_japan_child_mortality.R:76:3',
'test-get_japan_child_mortality.R:82:3', 'test-get_japan_cpi.R:12:3',
'test-get_japan_cpi.R:27:3', 'test-get_japan_cpi.R:33:3',
'test-get_japan_cpi.R:39:3', 'test-get_japan_cpi.R:45:3',
'test-get_japan_cpi.R:51:3', 'test-get_japan_cpi.R:57:3',
'test-get_japan_cpi.R:63:3', 'test-get_japan_cpi.R:69:3',
'test-get_japan_cpi.R:75:3', 'test-get_japan_cpi.R:81:3',
'test-get_japan_energy_use.R:12:3', 'test-get_japan_energy_use.R:25:3',
'test-get_japan_energy_use.R:31:3', 'test-get_japan_energy_use.R:38:3',
'test-get_japan_energy_use.R:44:3', 'test-get_japan_energy_use.R:50:3',
'test-get_japan_energy_use.R:56:3', 'test-get_japan_energy_use.R:62:3',
'test-get_japan_energy_use.R:68:3', 'test-get_japan_energy_use.R:74:3',
'test-get_japan_energy_use.R:80:3', 'test-get_japan_gdp.R:12:3',
'test-get_japan_gdp.R:26:3', 'test-get_japan_gdp.R:32:3',
'test-get_japan_gdp.R:38:3', 'test-get_japan_gdp.R:44:3',
'test-get_japan_gdp.R:50:3', 'test-get_japan_gdp.R:56:3',
'test-get_japan_gdp.R:63:3', 'test-get_japan_gdp.R:69:3',
'test-get_japan_holidays.R:12:3', 'test-get_japan_holidays.R:32:3',
'test-get_japan_holidays.R:63:3', 'test-get_japan_hospital_beds.R:12:3',
'test-get_japan_hospital_beds.R:24:3', 'test-get_japan_hospital_beds.R:30:3',
'test-get_japan_hospital_beds.R:37:3', 'test-get_japan_hospital_beds.R:43:3',
'test-get_japan_hospital_beds.R:50:3', 'test-get_japan_hospital_beds.R:56:3',
'test-get_japan_hospital_beds.R:62:3', 'test-get_japan_hospital_beds.R:68:3',
'test-get_japan_life_expectancy.R:12:3',
'test-get_japan_life_expectancy.R:27:3',
'test-get_japan_life_expectancy.R:35:3',
'test-get_japan_life_expectancy.R:45:3',
'test-get_japan_life_expectancy.R:53:3',
'test-get_japan_life_expectancy.R:60:3',
'test-get_japan_literacy_rate.R:12:3', 'test-get_japan_literacy_rate.R:25:3',
'test-get_japan_literacy_rate.R:33:3', 'test-get_japan_literacy_rate.R:43:3',
'test-get_japan_literacy_rate.R:51:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-get_japan_population.R:15:3'): get_japan_population() returns a tibble with correct structure and types ──
Expected `result` to be an S3 object.
Actual OO type: none.
── Failure ('test-get_japan_population.R:19:3'): get_japan_population() returns a tibble with correct structure and types ──
Expected `result` to have names `expected_names`.
Differences:
`actual` is NULL
`expected` is a character vector ('indicator', 'country', 'year', 'value', 'value_label')
── Failure ('test-get_japan_population.R:22:3'): get_japan_population() returns a tibble with correct structure and types ──
Expected `result$indicator` to have type "character".
Actual type: "NULL"
── Failure ('test-get_japan_population.R:23:3'): get_japan_population() returns a tibble with correct structure and types ──
Expected `result$country` to have type "character".
Actual type: "NULL"
── Failure ('test-get_japan_population.R:24:3'): get_japan_population() returns a tibble with correct structure and types ──
Expected `result$year` to have type "integer".
Actual type: "NULL"
── Failure ('test-get_japan_population.R:25:3'): get_japan_population() returns a tibble with correct structure and types ──
Expected `result$value` to have type "integer".
Actual type: "NULL"
── Failure ('test-get_japan_population.R:26:3'): get_japan_population() returns a tibble with correct structure and types ──
Expected `result$value_label` to have type "character".
Actual type: "NULL"
── Failure ('test-get_japan_population.R:31:3'): get_japan_population() returns 13 rows for years 2010 to 2022 ──
Expected `nrow(result)` to equal 13.
Differences:
`actual` is NULL
`expected` is a double vector (13)
── Failure ('test-get_japan_population.R:37:3'): get_japan_population(): country column contains only 'Japan' ──
Expected `length(unique(result$country))` to equal 1.
Differences:
`actual`: 0.0
`expected`: 1.0
── Failure ('test-get_japan_population.R:43:3'): get_japan_population(): indicator column contains only one consistent label ──
Expected `length(unique(result$indicator))` to equal 1.
Differences:
`actual`: 0.0
`expected`: 1.0
── Failure ('test-get_japan_population.R:70:3'): get_japan_population(): value_label column matches the formatted version of value ──
Expected `result$value_label` to equal `formatted_values`.
Differences:
`actual` is NULL
`expected` is a character vector ('NULL')
── Failure ('test-get_japan_unemployment.R:15:3'): get_japan_unemployment() returns a tibble with correct structure and types ──
Expected `result` to be an S3 object.
Actual OO type: none.
── Failure ('test-get_japan_unemployment.R:19:3'): get_japan_unemployment() returns a tibble with correct structure and types ──
Expected `result` to have names `expected_names`.
Differences:
`actual` is NULL
`expected` is a character vector ('indicator', 'country', 'year', 'value')
── Failure ('test-get_japan_unemployment.R:22:3'): get_japan_unemployment() returns a tibble with correct structure and types ──
Expected `result$indicator` to have type "character".
Actual type: "NULL"
── Failure ('test-get_japan_unemployment.R:23:3'): get_japan_unemployment() returns a tibble with correct structure and types ──
Expected `result$country` to have type "character".
Actual type: "NULL"
── Failure ('test-get_japan_unemployment.R:24:3'): get_japan_unemployment() returns a tibble with correct structure and types ──
Expected `result$year` to have type "integer".
Actual type: "NULL"
── Failure ('test-get_japan_unemployment.R:25:3'): get_japan_unemployment() returns a tibble with correct structure and types ──
Expected `result$value` to have type "double".
Actual type: "NULL"
── Failure ('test-get_japan_unemployment.R:30:3'): get_japan_unemployment() returns 13 rows for years 2010 to 2022 ──
Expected `nrow(result)` to equal 13.
Differences:
`actual` is NULL
`expected` is a double vector (13)
── Failure ('test-get_japan_unemployment.R:36:3'): get_japan_unemployment(): country column contains only 'Japan' ──
Expected `length(unique(result$country))` to equal 1.
Differences:
`actual`: 0.0
`expected`: 1.0
── Failure ('test-get_japan_unemployment.R:42:3'): get_japan_unemployment(): indicator column is consistent across all rows ──
Expected `length(unique(result$indicator))` to equal 1.
Differences:
`actual`: 0.0
`expected`: 1.0
[ FAIL 20 | WARN 0 | SKIP 68 | PASS 476 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc