Last updated on 2025-11-19 01:49:18 CET.
| Package | ERROR | OK |
|---|---|---|
| RcensusPkg | 1 | 12 |
| RplotterPkg | 13 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.1.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [16s/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")
Saving _problems/test-tiger_counties_sf-35.R
Saving _problems/test-tiger_counties_sf-36.R
[ FAIL 2 | WARN 11 | SKIP 28 | PASS 156 ]
══ Skipped tests (28) ══════════════════════════════════════════════════════════
• 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:18:3',
'test-plot_us_data.R:36: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 (17): 'test-get_category_strings.R:5:1',
'test-get_category_strings.R:9:1', 'test-get_geography.R:7:1',
'test-get_groups.R:7:1', 'test-get_variable_names.R:7:1',
'test-get_variable_names.R:18:1', 'test-tiger_block_groups_sf.R:12:1',
'test-tiger_cbsa_sf.R:11:1', 'test-tiger_county_subsection_sf.R:12:1',
'test-tiger_landmarks_sf.R:12:1', 'test-tiger_places_sf.R:12:1',
'test-tiger_roads_sf.R:12:1', 'test-tiger_states_sf.R:12:1',
'test-tiger_tracts_sf.R:12:1', 'test-tiger_urban_area_sf.R:11:1',
'test-tiger_water_sf.R:12:1', 'test-tiger_zctas_sf.R:11:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-tiger_counties_sf.R:35:3'): tiger_counties_sf() Ohio ─────────
Expected `!is.null(ohio_counties_sf)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Error ('test-tiger_counties_sf.R:36:3'): tiger_counties_sf() Ohio ───────────
Error in `UseMethod("st_geometry")`: no applicable method for 'st_geometry' applied to an object of class "NULL"
Backtrace:
▆
1. ├─testthat::expect_true(!is.null(sf::st_geometry(ohio_counties_sf))) at test-tiger_counties_sf.R:36:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─sf::st_geometry(ohio_counties_sf)
[ FAIL 2 | WARN 11 | SKIP 28 | PASS 156 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: OK: 13