CRAN Package Check Results for Package zippeR

Last updated on 2025-04-15 09:52:37 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 3.62 88.09 91.71 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.1 2.49 63.33 65.82 OK
r-devel-linux-x86_64-fedora-clang 0.1.1 148.94 OK
r-devel-linux-x86_64-fedora-gcc 0.1.1 179.33 OK
r-devel-windows-x86_64 0.1.1 5.00 149.00 154.00 OK
r-patched-linux-x86_64 0.1.1 4.35 87.12 91.47 OK
r-release-linux-x86_64 0.1.1 3.43 88.12 91.55 OK
r-release-macos-arm64 0.1.1 73.00 OK
r-release-macos-x86_64 0.1.1 98.00 OK
r-release-windows-x86_64 0.1.1 7.00 154.00 161.00 OK
r-oldrel-macos-arm64 0.1.1 78.00 OK
r-oldrel-macos-x86_64 0.1.1 98.00 OK
r-oldrel-windows-x86_64 0.1.1 7.00 178.00 185.00 OK

Check Details

Version: 0.1.1
Check: examples
Result: ERROR Running examples in ‘zippeR-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: zi_crosswalk > ### Title: Crosswalk ZIP Codes with UDS, HUD, or a Custom Dictionary > ### Aliases: zi_crosswalk > > ### ** Examples > > # create sample data > df <- data.frame(id = c(1:3), zip5 = c("63005", "63139", "63636")) > > # UDS crosswalk > > # HUD crosswalk > # you will need to replace INSERT_HUD_KEY with your own key > ## Not run: > ##D zi_crosswalk(df, input_var = zip5, zip_source = "HUD", year = 2023, > ##D qtr = 1, target = "COUNTY", query = "MO", by = "residential", > ##D return_max = TRUE, key = INSERT_HUD_KEY) > ## End(Not run) > > # custom dictionary > ## load sample crosswalk data to simulate custom dictionary > mo_xwalk <- zi_mo_hud > > # prep crosswalk > # when a ZIP Code crosses county boundaries, the portion with the largest > # number of residential addresses will be returned > mo_xwalk <- zi_prep_hud(mo_xwalk, by = "residential", return_max = TRUE) Downloading: 1.8 kB Downloading: 1.8 kB Downloading: 1.8 kB Downloading: 1.8 kB Warning in unzip(file_loc, exdir = tmp) : error 1 in extracting from zip file Error: Cannot open "/home/hornik/tmp/scratch/RtmpHZXegL"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [52s/67s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(zippeR) > > test_check("zippeR") Downloading: 1.8 kB Downloading: 1.8 kB Downloading: 1.8 kB Downloading: 1.8 kB [ FAIL 1 | WARN 2 | SKIP 1 | PASS 82 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test_zi_get_geometry.R:50:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_zi_crosswalk.R:15:1'): (code run outside of `test_that()`) ───── <Rcpp::exception/C++Error/error/condition> Error: Cannot open "/home/hornik/tmp/scratch/RtmpWBTMt8"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats. Backtrace: ▆ 1. └─zippeR::zi_prep_hud(zi_mo_hud, by = "residential") at test_zi_crosswalk.R:15:1 2. └─tigris::states(year = 2022, cb = TRUE, resolution = "20m") 3. └─tigris:::load_tiger(url, tigris_type = "state", ...) 4. ├─sf::st_read(...) 5. └─sf:::st_read.character(...) 6. └─sf:::CPL_read_ogr(...) [ FAIL 1 | WARN 2 | SKIP 1 | PASS 82 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang