CRAN Package Check Results for Package ChinAPIs

Last updated on 2026-02-08 00:48:30 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 7.11 95.12 102.23 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 4.94 64.09 69.03 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 12.00 150.83 162.83 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.0 11.00 153.15 164.15 ERROR
r-devel-windows-x86_64 0.1.0 10.00 126.00 136.00 ERROR
r-patched-linux-x86_64 0.1.0 8.28 82.43 90.71 ERROR
r-release-linux-x86_64 0.1.0 6.37 82.06 88.43 ERROR
r-release-macos-arm64 0.1.0 OK
r-release-macos-x86_64 0.1.0 5.00 94.00 99.00 OK
r-release-windows-x86_64 0.1.0 9.00 118.00 127.00 OK
r-oldrel-macos-arm64 0.1.0 OK
r-oldrel-macos-x86_64 0.1.0 5.00 95.00 100.00 OK
r-oldrel-windows-x86_64 0.1.0 13.00 139.00 152.00 ERROR

Additional issues

M1mac

Check Details

Version: 0.1.0
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") Saving _problems/test-get_china_hospital_beds-47.R Datasets available in the 'ChinAPIs' package: Datasets available in the 'ChinAPIs' package: [ FAIL 1 | WARN 0 | SKIP 18 | PASS 4051 ] ══ Skipped tests (18) ══════════════════════════════════════════════════════════ • On CRAN (18): 'test-get_china_child_mortality.R:13:3', 'test-get_china_child_mortality.R:33:3', 'test-get_china_child_mortality.R:40:3', 'test-get_china_child_mortality.R:47:3', 'test-get_china_energy_use.R:13:3', 'test-get_china_energy_use.R:33:3', 'test-get_china_energy_use.R:40:3', 'test-get_china_energy_use.R:47:3', 'test-get_china_gdp.R:13:3', 'test-get_china_gdp.R:34:3', 'test-get_china_gdp.R:41:3', 'test-get_china_gdp.R:48:3', 'test-get_china_gdp.R:56:3', 'test-get_china_holidays.R:12:3', 'test-get_china_holidays.R:33:3', 'test-get_country_info_cn.R:13:3', 'test-get_country_info_cn.R:42:3', 'test-get_country_info_cn.R:56:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-get_china_hospital_beds.R:47:3'): get_china_hospital_beds allows for missing values (e.g., NA) ── Expected `any(is.na(result$value))` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE [ FAIL 1 | WARN 0 | SKIP 18 | PASS 4051 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.0
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 curl::curl_fetch_memory(url, handle = handle) : Timeout was reached [restcountries.com]: Connection timed out after 10002 milliseconds Calls: get_country_info_cn ... request_fetch.write_memory -> <Anonymous> -> raise_libcurl_error Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [15s/23s] 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") Saving _problems/test-get_china_hospital_beds-47.R Datasets available in the 'ChinAPIs' package: Datasets available in the 'ChinAPIs' package: [ FAIL 1 | WARN 0 | SKIP 18 | PASS 4051 ] ══ Skipped tests (18) ══════════════════════════════════════════════════════════ • On CRAN (18): 'test-get_china_child_mortality.R:13:3', 'test-get_china_child_mortality.R:33:3', 'test-get_china_child_mortality.R:40:3', 'test-get_china_child_mortality.R:47:3', 'test-get_china_energy_use.R:13:3', 'test-get_china_energy_use.R:33:3', 'test-get_china_energy_use.R:40:3', 'test-get_china_energy_use.R:47:3', 'test-get_china_gdp.R:13:3', 'test-get_china_gdp.R:34:3', 'test-get_china_gdp.R:41:3', 'test-get_china_gdp.R:48:3', 'test-get_china_gdp.R:56:3', 'test-get_china_holidays.R:12:3', 'test-get_china_holidays.R:33:3', 'test-get_country_info_cn.R:13:3', 'test-get_country_info_cn.R:42:3', 'test-get_country_info_cn.R:56:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-get_china_hospital_beds.R:47:3'): get_china_hospital_beds allows for missing values (e.g., NA) ── Expected `any(is.na(result$value))` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE [ FAIL 1 | WARN 0 | SKIP 18 | PASS 4051 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [41s/116s] 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") Saving _problems/test-get_china_hospital_beds-47.R Datasets available in the 'ChinAPIs' package: Datasets available in the 'ChinAPIs' package: [ FAIL 1 | WARN 0 | SKIP 18 | PASS 4051 ] ══ Skipped tests (18) ══════════════════════════════════════════════════════════ • On CRAN (18): 'test-get_china_child_mortality.R:13:3', 'test-get_china_child_mortality.R:33:3', 'test-get_china_child_mortality.R:40:3', 'test-get_china_child_mortality.R:47:3', 'test-get_china_energy_use.R:13:3', 'test-get_china_energy_use.R:33:3', 'test-get_china_energy_use.R:40:3', 'test-get_china_energy_use.R:47:3', 'test-get_china_gdp.R:13:3', 'test-get_china_gdp.R:34:3', 'test-get_china_gdp.R:41:3', 'test-get_china_gdp.R:48:3', 'test-get_china_gdp.R:56:3', 'test-get_china_holidays.R:12:3', 'test-get_china_holidays.R:33:3', 'test-get_country_info_cn.R:13:3', 'test-get_country_info_cn.R:42:3', 'test-get_country_info_cn.R:56:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-get_china_hospital_beds.R:47:3'): get_china_hospital_beds allows for missing values (e.g., NA) ── Expected `any(is.na(result$value))` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE [ FAIL 1 | WARN 0 | SKIP 18 | PASS 4051 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [38s/92s] 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") Saving _problems/test-get_china_hospital_beds-47.R Datasets available in the 'ChinAPIs' package: Datasets available in the 'ChinAPIs' package: [ FAIL 1 | WARN 0 | SKIP 18 | PASS 4051 ] ══ Skipped tests (18) ══════════════════════════════════════════════════════════ • On CRAN (18): 'test-get_china_child_mortality.R:13:3', 'test-get_china_child_mortality.R:33:3', 'test-get_china_child_mortality.R:40:3', 'test-get_china_child_mortality.R:47:3', 'test-get_china_energy_use.R:13:3', 'test-get_china_energy_use.R:33:3', 'test-get_china_energy_use.R:40:3', 'test-get_china_energy_use.R:47:3', 'test-get_china_gdp.R:13:3', 'test-get_china_gdp.R:34:3', 'test-get_china_gdp.R:41:3', 'test-get_china_gdp.R:48:3', 'test-get_china_gdp.R:56:3', 'test-get_china_holidays.R:12:3', 'test-get_china_holidays.R:33:3', 'test-get_country_info_cn.R:13:3', 'test-get_country_info_cn.R:42:3', 'test-get_country_info_cn.R:56:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-get_china_hospital_beds.R:47:3'): get_china_hospital_beds allows for missing values (e.g., NA) ── Expected `any(is.na(result$value))` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE [ FAIL 1 | WARN 0 | SKIP 18 | PASS 4051 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.1.0
Check: tests
Result: ERROR Running 'testthat.R' [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") Saving _problems/test-get_china_hospital_beds-47.R Datasets available in the 'ChinAPIs' package: Datasets available in the 'ChinAPIs' package: [ FAIL 1 | WARN 0 | SKIP 18 | PASS 4051 ] ══ Skipped tests (18) ══════════════════════════════════════════════════════════ • On CRAN (18): 'test-get_china_child_mortality.R:13:3', 'test-get_china_child_mortality.R:33:3', 'test-get_china_child_mortality.R:40:3', 'test-get_china_child_mortality.R:47:3', 'test-get_china_energy_use.R:13:3', 'test-get_china_energy_use.R:33:3', 'test-get_china_energy_use.R:40:3', 'test-get_china_energy_use.R:47:3', 'test-get_china_gdp.R:13:3', 'test-get_china_gdp.R:34:3', 'test-get_china_gdp.R:41:3', 'test-get_china_gdp.R:48:3', 'test-get_china_gdp.R:56:3', 'test-get_china_holidays.R:12:3', 'test-get_china_holidays.R:33:3', 'test-get_country_info_cn.R:13:3', 'test-get_country_info_cn.R:42:3', 'test-get_country_info_cn.R:56:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-get_china_hospital_beds.R:47:3'): get_china_hospital_beds allows for missing values (e.g., NA) ── Expected `any(is.na(result$value))` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE [ FAIL 1 | WARN 0 | SKIP 18 | PASS 4051 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [24s/35s] 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") Saving _problems/test-get_china_hospital_beds-47.R Datasets available in the 'ChinAPIs' package: Datasets available in the 'ChinAPIs' package: [ FAIL 1 | WARN 0 | SKIP 18 | PASS 4051 ] ══ Skipped tests (18) ══════════════════════════════════════════════════════════ • On CRAN (18): 'test-get_china_child_mortality.R:13:3', 'test-get_china_child_mortality.R:33:3', 'test-get_china_child_mortality.R:40:3', 'test-get_china_child_mortality.R:47:3', 'test-get_china_energy_use.R:13:3', 'test-get_china_energy_use.R:33:3', 'test-get_china_energy_use.R:40:3', 'test-get_china_energy_use.R:47:3', 'test-get_china_gdp.R:13:3', 'test-get_china_gdp.R:34:3', 'test-get_china_gdp.R:41:3', 'test-get_china_gdp.R:48:3', 'test-get_china_gdp.R:56:3', 'test-get_china_holidays.R:12:3', 'test-get_china_holidays.R:33:3', 'test-get_country_info_cn.R:13:3', 'test-get_country_info_cn.R:42:3', 'test-get_country_info_cn.R:56:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-get_china_hospital_beds.R:47:3'): get_china_hospital_beds allows for missing values (e.g., NA) ── Expected `any(is.na(result$value))` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE [ FAIL 1 | WARN 0 | SKIP 18 | PASS 4051 ] Error: ! Test failures. Execution halted Flavor: r-patched-linux-x86_64

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [24s/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") Saving _problems/test-get_china_hospital_beds-47.R Datasets available in the 'ChinAPIs' package: Datasets available in the 'ChinAPIs' package: [ FAIL 1 | WARN 0 | SKIP 18 | PASS 4051 ] ══ Skipped tests (18) ══════════════════════════════════════════════════════════ • On CRAN (18): 'test-get_china_child_mortality.R:13:3', 'test-get_china_child_mortality.R:33:3', 'test-get_china_child_mortality.R:40:3', 'test-get_china_child_mortality.R:47:3', 'test-get_china_energy_use.R:13:3', 'test-get_china_energy_use.R:33:3', 'test-get_china_energy_use.R:40:3', 'test-get_china_energy_use.R:47:3', 'test-get_china_gdp.R:13:3', 'test-get_china_gdp.R:34:3', 'test-get_china_gdp.R:41:3', 'test-get_china_gdp.R:48:3', 'test-get_china_gdp.R:56:3', 'test-get_china_holidays.R:12:3', 'test-get_china_holidays.R:33:3', 'test-get_country_info_cn.R:13:3', 'test-get_country_info_cn.R:42:3', 'test-get_country_info_cn.R:56:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-get_china_hospital_beds.R:47:3'): get_china_hospital_beds allows for missing values (e.g., NA) ── Expected `any(is.na(result$value))` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE [ FAIL 1 | WARN 0 | SKIP 18 | PASS 4051 ] Error: ! Test failures. Execution halted Flavor: r-release-linux-x86_64

Version: 0.1.0
Check: tests
Result: ERROR Running 'testthat.R' [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") Saving _problems/test-get_china_hospital_beds-47.R Datasets available in the 'ChinAPIs' package: Datasets available in the 'ChinAPIs' package: [ FAIL 1 | WARN 0 | SKIP 18 | PASS 4051 ] ══ Skipped tests (18) ══════════════════════════════════════════════════════════ • On CRAN (18): 'test-get_china_child_mortality.R:13:3', 'test-get_china_child_mortality.R:33:3', 'test-get_china_child_mortality.R:40:3', 'test-get_china_child_mortality.R:47:3', 'test-get_china_energy_use.R:13:3', 'test-get_china_energy_use.R:33:3', 'test-get_china_energy_use.R:40:3', 'test-get_china_energy_use.R:47:3', 'test-get_china_gdp.R:13:3', 'test-get_china_gdp.R:34:3', 'test-get_china_gdp.R:41:3', 'test-get_china_gdp.R:48:3', 'test-get_china_gdp.R:56:3', 'test-get_china_holidays.R:12:3', 'test-get_china_holidays.R:33:3', 'test-get_country_info_cn.R:13:3', 'test-get_country_info_cn.R:42:3', 'test-get_country_info_cn.R:56:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-get_china_hospital_beds.R:47:3'): get_china_hospital_beds allows for missing values (e.g., NA) ── Expected `any(is.na(result$value))` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE [ FAIL 1 | WARN 0 | SKIP 18 | PASS 4051 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64