Last updated on 2025-02-05 17:50:19 CET.
Package | ERROR | OK |
---|---|---|
deprivateR | 11 | |
zippeR | 2 | 11 |
Current CRAN status: OK: 11
Current CRAN status: ERROR: 2, OK: 11
Version: 0.1.0
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
>
> # 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)
|
| | 0%
|
|======================================================================| 100%
Warning in unzip(file_loc, exdir = tmp) :
error 1 in extracting from zip file
Error: Cannot open "/tmp/RtmpFdmRdO"; 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-gcc
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [33s/43s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(zippeR)
>
> test_check("zippeR")
|
| | 0%
|
|======================================================================| 100%
[ 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 "/tmp/RtmpPm6BtF"; 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-gcc
Version: 0.1.0
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
>
> # 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)
|
| | 0%
|
|======================================================================| 100%
Warning in unzip(file_loc, exdir = tmp) :
error 1 in extracting from zip file
Error: Cannot open "/home/hornik/tmp/scratch/RtmpslZu1P"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [54s/66s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(zippeR)
>
> test_check("zippeR")
|
| | 0%
|
|======================================================================| 100%
[ 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/RtmpmyTYhG"; 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-patched-linux-x86_64