CRAN Package Check Results for Package ChinAPIs

Last updated on 2026-06-12 02:50:56 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 7.17 104.12 111.29 OK
r-devel-linux-x86_64-debian-gcc 0.1.1 4.77 73.89 78.66 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.1 11.00 163.23 174.23 OK
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 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [15s/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(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 12 | PASS 4102 ] ══ Skipped tests (12) ══════════════════════════════════════════════════════════ • Function returned NULL (7): 'test-get_china_cpi.R:15:3', 'test-get_china_cpi.R:25:3', 'test-get_china_cpi.R:34:3', 'test-get_china_cpi.R:41:3', 'test-get_china_cpi.R:48:3', 'test-get_china_cpi.R:56:3', 'test-get_china_cpi.R:64: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 12 | PASS 4102 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc