CRAN Package Check Results for Package RcensusPkg

Last updated on 2026-05-13 12:55:28 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.5 12.42 163.71 176.13 OK
r-devel-linux-x86_64-debian-gcc 0.1.5 10.33 116.24 126.57 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.5 23.00 252.18 275.18 OK
r-devel-linux-x86_64-fedora-gcc 0.1.5 22.00 243.88 265.88 OK
r-devel-windows-x86_64 0.1.5 16.00 186.00 202.00 OK
r-patched-linux-x86_64 0.1.5 12.64 150.44 163.08 OK
r-release-linux-x86_64 0.1.5 11.88 154.84 166.72 OK
r-release-macos-arm64 0.1.5 4.00 103.00 107.00 OK
r-release-macos-x86_64 0.1.5 9.00 276.00 285.00 OK
r-release-windows-x86_64 0.1.5 13.00 180.00 193.00 OK
r-oldrel-macos-arm64 0.1.5 OK
r-oldrel-macos-x86_64 0.1.5 8.00 222.00 230.00 OK
r-oldrel-windows-x86_64 0.1.5 19.00 223.00 242.00 OK

Check Details

Version: 0.1.5
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: get_geography > ### Title: get_geography > ### Aliases: get_geography > > ### ** Examples > > library(jsonlite) > library(data.table) Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% > library(httr2) > library(RcensusPkg) > # Get the geographies available for dataset "acs/acs1/profile" with vintage 2019 > acs1_profile_geo_dt <- RcensusPkg::get_geography( + dataset = "acs/acs1/profile", + vintage = 2019 + ) Error in value[[3L]](cond) : Error downloading raw json text: lexical error: invalid char in json text. <html> <head> <titl (right here) ------^ Calls: <Anonymous> ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous> Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.5
Check: tests
Result: ERROR Running ‘testthat.R’ [31s/55s] 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-get_geography-11.R Saving _problems/test-get_groups-12.R Saving _problems/test-get_variable_names-15.R Saving _problems/test-get_variable_names-26.R [ FAIL 4 | WARN 11 | SKIP 25 | PASS 159 ] ══ Skipped tests (25) ══════════════════════════════════════════════════════════ • 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 (14): 'test-get_category_strings.R:5:1', 'test-get_category_strings.R:9:1', 'test-tiger_block_groups_sf.R:12:1', 'test-tiger_cbsa_sf.R:11:1', 'test-tiger_counties_sf.R:12: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 ════════════════════════════════════════════════════════════════ ── Error ('test-get_geography.R:8:3'): get_geography() ───────────────────────── Error in `value[[3L]](cond)`: Error downloading raw json text: lexical error: invalid char in json text. <html> <head> <titl (right here) ------^ Backtrace: ▆ 1. └─RcensusPkg::get_geography(dataset = "acs/acs1/profile", vintage = 2019) 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-get_groups.R:8:3'): get_groups() ─────────────────────────────── Error in `value[[3L]](cond)`: Error downloading raw json text: lexical error: invalid char in json text. <html> <head> <titl (right here) ------^ Backtrace: ▆ 1. ├─utils::head(RcensusPkg::get_groups(dataset = "acs/acs5", vintage = 2019)) 2. └─RcensusPkg::get_groups(dataset = "acs/acs5", vintage = 2019) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─value[[3L]](cond) ── Error ('test-get_variable_names.R:8:3'): get_variable_names() ─────────────── Error: object 'variables_dt' not found ── Error ('test-get_variable_names.R:19:3'): get_variable_names() category ───── Error: object 'variables_dt' not found [ FAIL 4 | WARN 11 | SKIP 25 | PASS 159 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc