CRAN Package Check Results for Package ChinAPIs

Last updated on 2026-06-30 18:53:23 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 6.85 107.51 114.36 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.1 5.10 74.02 79.12 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.1 13.00 190.98 203.98 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.1 12.00 186.66 198.66 ERROR
r-devel-windows-x86_64 0.1.1 10.00 135.00 145.00 ERROR
r-patched-linux-x86_64 0.1.1 8.84 86.19 95.03 ERROR
r-release-linux-x86_64 0.1.1 ERROR
r-release-macos-arm64 0.1.1 2.00 43.00 45.00 OK
r-release-macos-x86_64 0.1.1 5.00 110.00 115.00 OK
r-release-windows-x86_64 0.1.1 11.00 120.00 131.00 ERROR
r-oldrel-macos-arm64 0.1.1 2.00 33.00 35.00 OK
r-oldrel-macos-x86_64 0.1.1 6.00 215.00 221.00 OK
r-oldrel-windows-x86_64 0.1.1 12.00 142.00 154.00 ERROR

Check Details

Version: 0.1.1
Check: examples
Result: ERROR Running examples in ‘ChinAPIs-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: get_country_info_cn > ### Title: Get Key Country Information About China from the REST Countries > ### API > ### Aliases: get_country_info_cn > > ### ** Examples > > get_country_info_cn() Error in data_list[1, ] : incorrect number of dimensions Calls: get_country_info_cn Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [25s/38s] 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(ChinAPIs) > > test_check("ChinAPIs") `year` must be a single numeric value. `year` must be a single numeric value. `year` must be a single numeric value. Nager.Date API returned status: 400 Nager.Date API returned status: 400 Saving _problems/test-get_country_info_cn-12.R Datasets available in the 'ChinAPIs' package: Datasets available in the 'ChinAPIs' package: [ FAIL 1 | WARN 0 | SKIP 5 | PASS 4120 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (5): 'test-get_china_child_mortality.R:12:3', 'test-get_china_child_mortality.R:30:3', 'test-get_china_child_mortality.R:40:3', 'test-get_china_child_mortality.R:50:3', 'test-get_china_child_mortality.R:58:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_country_info_cn.R:12:1'): (code run outside of `test_that()`) ── Error in `data_list[1, ]`: incorrect number of dimensions Backtrace: ▆ 1. └─ChinAPIs::get_country_info_cn() at test-get_country_info_cn.R:12:1 [ FAIL 1 | WARN 0 | SKIP 5 | PASS 4120 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [15s/29s] 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(ChinAPIs) > > test_check("ChinAPIs") World Bank API request failed: Timeout was reached [api.worldbank.org]: Operation timed out after 10002 milliseconds with 0 bytes received `year` must be a single numeric value. `year` must be a single numeric value. `year` must be a single numeric value. Nager.Date API returned status: 400 Nager.Date API returned status: 400 Saving _problems/test-get_country_info_cn-12.R Datasets available in the 'ChinAPIs' package: Datasets available in the 'ChinAPIs' package: [ FAIL 1 | WARN 0 | SKIP 11 | PASS 4102 ] ══ Skipped tests (11) ══════════════════════════════════════════════════════════ • Function returned NULL (6): 'test-get_china_gdp.R:15:3', 'test-get_china_gdp.R:25:3', 'test-get_china_gdp.R:35:3', 'test-get_china_gdp.R:42:3', 'test-get_china_gdp.R:49:3', 'test-get_china_gdp.R:66:3' • On CRAN (5): 'test-get_china_child_mortality.R:12:3', 'test-get_china_child_mortality.R:30:3', 'test-get_china_child_mortality.R:40:3', 'test-get_china_child_mortality.R:50:3', 'test-get_china_child_mortality.R:58:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_country_info_cn.R:12:1'): (code run outside of `test_that()`) ── Error in `data_list[1, ]`: incorrect number of dimensions Backtrace: ▆ 1. └─ChinAPIs::get_country_info_cn() at test-get_country_info_cn.R:12:1 [ FAIL 1 | WARN 0 | SKIP 11 | PASS 4102 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.1
Check: examples
Result: ERROR Running examples in ‘ChinAPIs-Ex.R’ failed The error most likely occurred in: > ### Name: get_country_info_cn > ### Title: Get Key Country Information About China from the REST Countries > ### API > ### Aliases: get_country_info_cn > > ### ** Examples > > get_country_info_cn() Error in data_list[1, ] : incorrect number of dimensions Calls: get_country_info_cn Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [40s/97s] 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(ChinAPIs) > > test_check("ChinAPIs") `year` must be a single numeric value. `year` must be a single numeric value. `year` must be a single numeric value. Nager.Date API returned status: 400 Nager.Date API returned status: 400 Saving _problems/test-get_country_info_cn-12.R Datasets available in the 'ChinAPIs' package: Datasets available in the 'ChinAPIs' package: [ FAIL 1 | WARN 0 | SKIP 5 | PASS 4120 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (5): 'test-get_china_child_mortality.R:12:3', 'test-get_china_child_mortality.R:30:3', 'test-get_china_child_mortality.R:40:3', 'test-get_china_child_mortality.R:50:3', 'test-get_china_child_mortality.R:58:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_country_info_cn.R:12:1'): (code run outside of `test_that()`) ── Error in `data_list[1, ]`: incorrect number of dimensions Backtrace: ▆ 1. └─ChinAPIs::get_country_info_cn() at test-get_country_info_cn.R:12:1 [ FAIL 1 | WARN 0 | SKIP 5 | PASS 4120 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [37s/48s] 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(ChinAPIs) > > test_check("ChinAPIs") `year` must be a single numeric value. `year` must be a single numeric value. `year` must be a single numeric value. Nager.Date API returned status: 400 Nager.Date API returned status: 400 Saving _problems/test-get_country_info_cn-12.R Datasets available in the 'ChinAPIs' package: Datasets available in the 'ChinAPIs' package: [ FAIL 1 | WARN 0 | SKIP 5 | PASS 4120 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (5): 'test-get_china_child_mortality.R:12:3', 'test-get_china_child_mortality.R:30:3', 'test-get_china_child_mortality.R:40:3', 'test-get_china_child_mortality.R:50:3', 'test-get_china_child_mortality.R:58:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_country_info_cn.R:12:1'): (code run outside of `test_that()`) ── Error in `data_list[1, ]`: incorrect number of dimensions Backtrace: ▆ 1. └─ChinAPIs::get_country_info_cn() at test-get_country_info_cn.R:12:1 [ FAIL 1 | WARN 0 | SKIP 5 | PASS 4120 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.1.1
Check: tests
Result: ERROR Running 'testthat.R' [28s] 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(ChinAPIs) > > test_check("ChinAPIs") `year` must be a single numeric value. `year` must be a single numeric value. `year` must be a single numeric value. Nager.Date API returned status: 400 Nager.Date API returned status: 400 Saving _problems/test-get_country_info_cn-12.R Datasets available in the 'ChinAPIs' package: Datasets available in the 'ChinAPIs' package: [ FAIL 1 | WARN 0 | SKIP 5 | PASS 4120 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (5): 'test-get_china_child_mortality.R:12:3', 'test-get_china_child_mortality.R:30:3', 'test-get_china_child_mortality.R:40:3', 'test-get_china_child_mortality.R:50:3', 'test-get_china_child_mortality.R:58:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_country_info_cn.R:12:1'): (code run outside of `test_that()`) ── Error in `data_list[1, ]`: incorrect number of dimensions Backtrace: ▆ 1. └─ChinAPIs::get_country_info_cn() at test-get_country_info_cn.R:12:1 [ FAIL 1 | WARN 0 | SKIP 5 | PASS 4120 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [23s/38s] 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(ChinAPIs) > > test_check("ChinAPIs") `year` must be a single numeric value. `year` must be a single numeric value. `year` must be a single numeric value. Nager.Date API returned status: 400 Nager.Date API returned status: 400 Saving _problems/test-get_country_info_cn-12.R Datasets available in the 'ChinAPIs' package: Datasets available in the 'ChinAPIs' package: [ FAIL 1 | WARN 0 | SKIP 5 | PASS 4120 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (5): 'test-get_china_child_mortality.R:12:3', 'test-get_china_child_mortality.R:30:3', 'test-get_china_child_mortality.R:40:3', 'test-get_china_child_mortality.R:50:3', 'test-get_china_child_mortality.R:58:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_country_info_cn.R:12:1'): (code run outside of `test_that()`) ── Error in `data_list[1, ]`: incorrect number of dimensions Backtrace: ▆ 1. └─ChinAPIs::get_country_info_cn() at test-get_country_info_cn.R:12:1 [ FAIL 1 | WARN 0 | SKIP 5 | PASS 4120 ] Error: ! Test failures. Execution halted Flavor: r-patched-linux-x86_64

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [24s/40s] 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(ChinAPIs) > > test_check("ChinAPIs") `year` must be a single numeric value. `year` must be a single numeric value. `year` must be a single numeric value. Nager.Date API returned status: 400 Nager.Date API returned status: 400 Saving _problems/test-get_country_info_cn-12.R Datasets available in the 'ChinAPIs' package: Datasets available in the 'ChinAPIs' package: [ FAIL 1 | WARN 0 | SKIP 5 | PASS 4120 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (5): 'test-get_china_child_mortality.R:12:3', 'test-get_china_child_mortality.R:30:3', 'test-get_china_child_mortality.R:40:3', 'test-get_china_child_mortality.R:50:3', 'test-get_china_child_mortality.R:58:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_country_info_cn.R:12:1'): (code run outside of `test_that()`) ── Error in `data_list[1, ]`: incorrect number of dimensions Backtrace: ▆ 1. └─ChinAPIs::get_country_info_cn() at test-get_country_info_cn.R:12:1 [ FAIL 1 | WARN 0 | SKIP 5 | PASS 4120 ] Error: ! Test failures. Execution halted Flavor: r-release-linux-x86_64

Version: 0.1.1
Check: tests
Result: ERROR Running 'testthat.R' [29s] 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(ChinAPIs) > > test_check("ChinAPIs") `year` must be a single numeric value. `year` must be a single numeric value. `year` must be a single numeric value. Nager.Date API returned status: 400 Nager.Date API returned status: 400 Saving _problems/test-get_country_info_cn-12.R Datasets available in the 'ChinAPIs' package: Datasets available in the 'ChinAPIs' package: [ FAIL 1 | WARN 0 | SKIP 5 | PASS 4120 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (5): 'test-get_china_child_mortality.R:12:3', 'test-get_china_child_mortality.R:30:3', 'test-get_china_child_mortality.R:40:3', 'test-get_china_child_mortality.R:50:3', 'test-get_china_child_mortality.R:58:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_country_info_cn.R:12:1'): (code run outside of `test_that()`) ── Error in `data_list[1, ]`: incorrect number of dimensions Backtrace: ▆ 1. └─ChinAPIs::get_country_info_cn() at test-get_country_info_cn.R:12:1 [ FAIL 1 | WARN 0 | SKIP 5 | PASS 4120 ] Error: ! Test failures. Execution halted Flavor: r-release-windows-x86_64

Version: 0.1.1
Check: tests
Result: ERROR Running 'testthat.R' [37s] 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(ChinAPIs) > > test_check("ChinAPIs") `year` must be a single numeric value. `year` must be a single numeric value. `year` must be a single numeric value. Nager.Date API returned status: 400 Nager.Date API returned status: 400 Saving _problems/test-get_country_info_cn-12.R Datasets available in the 'ChinAPIs' package: Datasets available in the 'ChinAPIs' package: [ FAIL 1 | WARN 0 | SKIP 5 | PASS 4120 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (5): 'test-get_china_child_mortality.R:12:3', 'test-get_china_child_mortality.R:30:3', 'test-get_china_child_mortality.R:40:3', 'test-get_china_child_mortality.R:50:3', 'test-get_china_child_mortality.R:58:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_country_info_cn.R:12:1'): (code run outside of `test_that()`) ── Error in `data_list[1, ]`: incorrect number of dimensions Backtrace: ▆ 1. └─ChinAPIs::get_country_info_cn() at test-get_country_info_cn.R:12:1 [ FAIL 1 | WARN 0 | SKIP 5 | PASS 4120 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64