Running ‘testthat.R’ [26s/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")
  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
Running ‘testthat.R’ [15s/21s]
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
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
Running ‘testthat.R’ [37s/49s]
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
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
Running ‘testthat.R’ [24s/34s]
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
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
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