CRAN Package Check Results for Package ChinAPIs

Last updated on 2026-06-13 00:51:23 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 7.02 108.79 115.81 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.1 4.95 74.79 79.74 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.1 148.68 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.1 12.00 175.98 187.98 OK
r-devel-windows-x86_64 0.1.1 9.00 136.00 145.00 OK
r-patched-linux-x86_64 0.1.1 7.94 86.17 94.11 OK
r-release-linux-x86_64 0.1.1 6.16 88.15 94.31 OK
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 9.00 122.00 131.00 OK
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 14.00 144.00 158.00 OK

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

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [25s/41s] 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’ [16s/19s] 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-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 Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [28s/30s] 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