Running ‘testthat.R’ [31s/52s]
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(RcensusPkg)
  > 
  > test_check("RcensusPkg")
  [ FAIL 13 | WARN 0 | SKIP 17 | PASS 139 ]
  
  ══ Skipped tests (17) ══════════════════════════════════════════════════════════
  • Census Bureau API key required (10): 'test-get_idb_data.R:11:3',
    'test-get_idb_data.R:22:3', 'test-get_multi_vintage_data.R:13:3',
    'test-get_vintage_data.R:11:3', 'test-get_vintage_data.R:26:3',
    'test-join_it.R:12:3', 'test-long_to_wide.R:9:3', 'test-plot_us_data.R:17:3',
    'test-plot_us_data.R:35:3', 'test-wide_to_long.R:9:3'
  • Census Bureau request takes well over 10 seconds in most cases. (1):
    'test-get_dataset_names.R:8:3'
  • On CRAN (6): 'test-get_category_strings.R:6:3',
    'test-get_category_strings.R:10:3', 'test-get_geography.R:8:3',
    'test-get_groups.R:8:3', 'test-get_variable_names.R:8:3',
    'test-get_variable_names.R:19:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-remove_area_water.R:12:3'): remove_area_water() ────────────────
  Error: object 'without_water_sf' not found
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-remove_area_water.R:12:3
   2.   └─rlang::cnd_signal(state$error)
  ── Error ('test-tiger_block_groups_sf.R:13:3'): tiger_block_groups_sf() ────────
  <http_403/http_400/http_error/error/condition>
  Error in `.send_tiger_url(a_url = a_url, output_dir = output_dir, delete_files = delete_files, 
      set_crs = set_crs, transform_crs = transform_crs, sf_info = sf_info, 
      do_progress = do_progress, caller = "tiger_block_groups_sf")`: Forbidden (HTTP 403). Failed to Request called from tiger_block_groups_sf.
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-tiger_block_groups_sf.R:13:3
   2.   └─rlang::cnd_signal(state$error)
  ── Error ('test-tiger_cbsa_sf.R:12:3'): tiger_cbsa_sf() ────────────────────────
  Error: object 'cbsa_tx_sf' not found
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-tiger_cbsa_sf.R:12:3
   2.   └─rlang::cnd_signal(state$error)
  ── Error ('test-tiger_counties_sf.R:13:3'): tiger_counties_sf() Ohio ───────────
  Error: object 'ohio_counties_sf' not found
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-tiger_counties_sf.R:13:3
   2.   └─rlang::cnd_signal(state$error)
  ── Error ('test-tiger_county_subsection_sf.R:13:3'): tiger_county_subsection_sf() ──
  Error: object 'hc_ctysub_sf' not found
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-tiger_county_subsection_sf.R:13:3
   2.   └─rlang::cnd_signal(state$error)
  ── Error ('test-tiger_landmarks_sf.R:13:3'): tiger_landmarks_sf() ──────────────
  Error: object 'kentucky_landmarks_sf' not found
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-tiger_landmarks_sf.R:13:3
   2.   └─rlang::cnd_signal(state$error)
  ── Error ('test-tiger_places_sf.R:13:3'): tiger_places_sf() ────────────────────
  Error: object 'kentucky_places_sf' not found
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-tiger_places_sf.R:13:3
   2.   └─rlang::cnd_signal(state$error)
  ── Error ('test-tiger_roads_sf.R:13:3'): tiger_roads_sf() ──────────────────────
  Error: object 'ohio_roads_sf' not found
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-tiger_roads_sf.R:13:3
   2.   └─rlang::cnd_signal(state$error)
  ── Error ('test-tiger_states_sf.R:13:3'): tiger_states_sf() ────────────────────
  Error: object 'florida_general_sf' not found
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-tiger_states_sf.R:13:3
   2.   └─rlang::cnd_signal(state$error)
  ── Error ('test-tiger_tracts_sf.R:13:3'): tiger_tracts_sf() ────────────────────
  <http_403/http_400/http_error/error/condition>
  Error in `.send_tiger_url(a_url = a_url, output_dir = output_dir, delete_files = delete_files, 
      set_crs = set_crs, transform_crs = transform_crs, sf_info = sf_info, 
      do_progress = do_progress, caller = "tiger_tracts_sf")`: Forbidden (HTTP 403). Failed to Request called from tiger_tracts_sf.
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-tiger_tracts_sf.R:13:3
   2.   └─rlang::cnd_signal(state$error)
  ── Error ('test-tiger_urban_area_sf.R:12:3'): tiger_urban_area_sf() ────────────
  Error: object 'us_urban_areas_sf' not found
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-tiger_urban_area_sf.R:12:3
   2.   └─rlang::cnd_signal(state$error)
  ── Error ('test-tiger_water_sf.R:13:3'): tiger_water_sf() area ─────────────────
  Error: object 'geauga_area_water_sf' not found
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-tiger_water_sf.R:13:3
   2.   └─rlang::cnd_signal(state$error)
  ── Error ('test-tiger_zctas_sf.R:12:3'): tiger_zctas_sf() ──────────────────────
  Error: object 'mun_zcta_sf' not found
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-tiger_zctas_sf.R:12:3
   2.   └─rlang::cnd_signal(state$error)
  
  [ FAIL 13 | WARN 0 | SKIP 17 | PASS 139 ]
  Error: Test failures
  Execution halted