Running ‘testthat.R’ [8s/11s]
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(phsopendata)
  > 
  > test_check("phsopendata")
  Starting 2 test processes
  [ FAIL 1 | WARN 0 | SKIP 14 | PASS 62 ]
  
  ══ Skipped tests (14) ══════════════════════════════════════════════════════════
  • On CRAN (14): 'test-dump_download.R:1:1', 'test-error_check.R:1:1',
    'test-get_dataset.R:1:1', 'test-get_dataset_additional_info.R:1:1',
    'test-get_dataset_context.R:1:1', 'test-get_resource.R:1:1',
    'test-get_resource_context.R:1:1', 'test-get_resource_dump.R:1:1',
    'test-get_resource_sql.R:1:1', 'test-list_datasets.R:1:1',
    'test-list_resources.R:1:1', 'test-parse_error.R:1:1', 'test-phs_GET.R:1:1',
    'test-suggest_dataset_names.R:1:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-get_latest_resource.R:6:3'): returns data for a dataset that is listed ──
  Names of `data` ('ResID', 'ResName', 'ResCreatedDate', 'ResModifiedDate', 'Date', 'PracticeCode', 'HB', 'HSCP', 'Sex', 'SexQF', 'AllAges', 'AllAgesQF', 'Ages00to04', 'Ages00to04QF', 'Ages05to09', 'Ages05to09QF', 'Ages10to14', 'Ages10to14QF', 'Ages15to19', 'Ages15to19QF', 'Ages20to24', 'Ages20to24QF', 'Ages25to29', 'Ages25to29QF', 'Ages30to34', 'Ages30to34QF', 'Ages35to39', 'Ages35to39QF', 'Ages40to44', 'Ages40to44QF', 'Ages45to49', 'Ages45to49QF', 'Ages50to54', 'Ages50to54QF', 'Ages55to59', 'Ages55to59QF', 'Ages60to64', 'Ages60to64QF', 'Ages65to69', 'Ages65to69QF', 'Ages70to74', 'Ages70to74QF', 'Ages75to79', 'Ages75to79QF', 'Ages80to84', 'Ages80to84QF', 'Ages85plus', 'Ages85plusQF') don't match 'ResID', 'ResName', 'ResCreatedDate', 'ResModifiedDate', 'Date', 'PracticeCode', 'HB', 'HSCP', 'Sex', 'SexQF', 'AllAges', 'AllAgesQF', 'Ages0to4', 'Ages0To4QF', 'Ages5to14', 'Ages5To14QF', 'Ages15to24', 'Ages15To24QF', 'Ages25to44', 'Ages25To44QF', 'Ages45to64', 'Ages45To64QF', 'Ages65to74', 'Ages65To74QF', 'Ages75to84', 'Ages75To84QF', 'Ages85plus', 'Ages85PlusQF'
  
  [ FAIL 1 | WARN 0 | SKIP 14 | PASS 62 ]
  Error: Test failures
  Execution halted