Last updated on 2025-04-12 20:52:12 CEST.
Package | ERROR | OK |
---|---|---|
RcensusPkg | 3 | 8 |
RplotterPkg | 11 |
Current CRAN status: ERROR: 3, OK: 8
Version: 0.1.4
Check: examples
Result: ERROR
Running examples in ‘RcensusPkg-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: plot_us_data
> ### Title: plot_us_data
> ### Aliases: plot_us_data
>
> ### ** Examples
>
> library(sf)
Linking to GEOS 3.13.1, GDAL 3.10.2, PROJ 9.6.0; sf_use_s2() is TRUE
> library(grid)
> library(ggplot2)
> library(ggplotify)
> library(data.table)
> library(gtable)
> library(httr)
> library(withr)
> library(RplotterPkg)
Attaching package: ‘RplotterPkg’
The following object is masked from ‘package:ggplot2’:
midwest
The following object is masked from ‘package:datasets’:
sleep
>
> # Plot just the states without joining data (the default case)
> # Define a temporary output folder for the downloaded shapefiles
> output_dir <- withr::local_tempdir()
> if(!dir.exists(output_dir)){
+ dir.create(output_dir)
+ }
> us_without_data_plot <- RcensusPkg::plot_us_data(
+ title = "A Default Mapping of US States",
+ output_dir = output_dir,
+ delete_files = FALSE
+ )
Error in .send_tiger_url(a_url = a_url, output_dir = output_dir, delete_files = delete_files, :
Forbidden (HTTP 403). Failed to Request called from tiger_states_sf.
Calls: <Anonymous> ... <Anonymous> -> <Anonymous> -> .send_tiger_url -> <Anonymous>
Execution halted
Ran 1/1 deferred expressions
Flavors: r-devel-linux-x86_64-debian-clang, r-release-linux-x86_64
Version: 0.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [21s/43s]
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
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.1.4
Check: examples
Result: ERROR
Running examples in 'RcensusPkg-Ex.R' failed
The error most likely occurred in:
> ### Name: plot_us_data
> ### Title: plot_us_data
> ### Aliases: plot_us_data
>
> ### ** Examples
>
> library(sf)
Linking to GEOS 3.13.1, GDAL 3.10.2, PROJ 9.5.1; sf_use_s2() is TRUE
> library(grid)
> library(ggplot2)
> library(ggplotify)
> library(data.table)
> library(gtable)
> library(httr)
> library(withr)
> library(RplotterPkg)
Attaching package: 'RplotterPkg'
The following object is masked from 'package:ggplot2':
midwest
The following object is masked from 'package:datasets':
sleep
>
> # Plot just the states without joining data (the default case)
> # Define a temporary output folder for the downloaded shapefiles
> output_dir <- withr::local_tempdir()
> if(!dir.exists(output_dir)){
+ dir.create(output_dir)
+ }
> us_without_data_plot <- RcensusPkg::plot_us_data(
+ title = "A Default Mapping of US States",
+ output_dir = output_dir,
+ delete_files = FALSE
+ )
Error in .send_tiger_url(a_url = a_url, output_dir = output_dir, delete_files = delete_files, :
Forbidden (HTTP 403). Failed to Request called from tiger_states_sf.
Calls: <Anonymous> ... <Anonymous> -> <Anonymous> -> .send_tiger_url -> <Anonymous>
Execution halted
Ran 1/1 deferred expressions
Flavor: r-devel-windows-x86_64
Version: 0.1.4
Check: tests
Result: ERROR
Running 'testthat.R' [24s]
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
Flavor: r-devel-windows-x86_64
Version: 0.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [18s/33s]
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
Flavor: r-release-linux-x86_64
Current CRAN status: OK: 11
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.