Removed get_country_info_cn() from the package. This function depended on the
'REST Countries' API v3.1 endpoint, which was deprecated by its provider. The
replacement v5 endpoint now requires an API key, which is incompatible with CRAN's
policy that packages using Internet resources must work without user-supplied
credentials. As a consequence, all associated tests, documentation, and examples
have been removed, and references to the 'REST Countries API' have been removed
from the package (DESCRIPTION, README.md, vignette).
The package now integrates two APIs instead of three: World Bank API and Nager.Date API.
NULL with informative messages instead of stopping executiontestthatskip_if() checks to handle NULL returns gracefully in testsNA values where appropriateget_china_cpi() - Enhanced error handling and validationget_china_energy_use() - Improved handling of missing dataget_china_gdp() - Added robustness for formatted valuesget_china_holidays() - Better input validation and error messagesget_china_hospital_beds() - Enhanced API response handlingget_china_life_expectancy() - Improved data type validationget_china_literacy_rate() - Better handling of percentage rangesget_china_population() - Enhanced value formatting validationget_china_unemployment() - Improved error handlingget_country_info_cn() - Enhanced defensive extraction of nested dataChinAPIs package