Last updated on 2024-11-19 09:49:52 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.1.3 | 3.81 | 74.44 | 78.25 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.1.3 | 3.19 | 56.55 | 59.74 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.1.3 | 120.24 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.1.3 | 136.08 | OK | |||
r-devel-windows-x86_64 | 1.1.3 | 7.00 | 280.00 | 287.00 | ERROR | |
r-patched-linux-x86_64 | 1.1.3 | 3.85 | 73.70 | 77.55 | OK | |
r-release-linux-x86_64 | 1.1.3 | 4.45 | 65.39 | 69.84 | OK | |
r-release-macos-arm64 | 1.1.3 | 164.00 | OK | |||
r-release-macos-x86_64 | 1.1.3 | 191.00 | OK | |||
r-release-windows-x86_64 | 1.1.3 | 6.00 | 160.00 | 166.00 | OK | |
r-oldrel-macos-arm64 | 1.1.3 | 164.00 | OK | |||
r-oldrel-macos-x86_64 | 1.1.3 | 218.00 | OK | |||
r-oldrel-windows-x86_64 | 1.1.3 | 7.00 | 161.00 | 168.00 | OK |
Version: 1.1.3
Check: tests
Result: ERROR
Running 'testthat.R' [222s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(lehdr)
> library(dplyr)
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
>
> test_check("lehdr")
Downloading https://lehd.ces.census.gov/data/lodes/LODES8/de/od/de_od_main_JT00_2020.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_od_main_JT00_2020.csv.gz now...
Downloading https://lehd.ces.census.gov/data/lodes/LODES7/de/rac/de_rac_S000_JT00_2014.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_rac_S000_JT00_2014.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_rac_S000_JT00_2014.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_rac_S000_JT00_2014.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES8/de/rac/de_rac_S000_JT00_2015.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_rac_S000_JT00_2015.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_rac_S000_JT00_2015.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_rac_S000_JT00_2015.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES7/de/rac/de_rac_SA01_JT01_2004.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_rac_SA01_JT01_2004.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_rac_SA01_JT01_2004.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_rac_SA01_JT01_2004.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES5/de/wac/de_wac_S000_JT01_2009.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT01_2009.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT01_2009.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT01_2009.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES7/de/wac/de_wac_S000_JT00_2015.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2015.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2015.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2015.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES8/de/wac/de_wac_S000_JT00_2020.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2020.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2020.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2020.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES5/nd/od/nd_od_main_JT01_2007.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\nd_od_main_JT01_2007.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\nd_od_main_JT01_2007.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\nd_od_main_JT01_2007.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES5/vt/od/vt_od_main_JT01_2007.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_od_main_JT01_2007.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_od_main_JT01_2007.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_od_main_JT01_2007.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES5/nd/od/nd_od_main_JT01_2008.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\nd_od_main_JT01_2008.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\nd_od_main_JT01_2008.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\nd_od_main_JT01_2008.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES5/vt/od/vt_od_main_JT01_2008.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_od_main_JT01_2008.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_od_main_JT01_2008.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_od_main_JT01_2008.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES8/de/od/de_od_main_JT01_2013.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_od_main_JT01_2013.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_od_main_JT01_2013.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_od_main_JT01_2013.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES8/vt/od/vt_od_main_JT01_2013.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_od_main_JT01_2013.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_od_main_JT01_2013.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_od_main_JT01_2013.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES8/de/od/de_od_main_JT01_2014.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_od_main_JT01_2014.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_od_main_JT01_2014.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_od_main_JT01_2014.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES8/vt/od/vt_od_main_JT01_2014.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_od_main_JT01_2014.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_od_main_JT01_2014.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_od_main_JT01_2014.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES8/de/od/de_od_main_JT01_2013.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_od_main_JT01_2013.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_od_main_JT01_2013.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_od_main_JT01_2013.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES8/sd/od/sd_od_main_JT01_2013.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\sd_od_main_JT01_2013.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\sd_od_main_JT01_2013.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\sd_od_main_JT01_2013.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES8/de/od/de_od_main_JT01_2020.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_od_main_JT01_2020.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_od_main_JT01_2020.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_od_main_JT01_2020.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES8/sd/od/sd_od_main_JT01_2020.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\sd_od_main_JT01_2020.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\sd_od_main_JT01_2020.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\sd_od_main_JT01_2020.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES7/de/wac/de_wac_S000_JT00_2013.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2013.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2013.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2013.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES7/vt/wac/vt_wac_S000_JT00_2013.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT00_2013.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT00_2013.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT00_2013.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES7/de/wac/de_wac_S000_JT00_2014.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2014.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2014.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2014.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES7/vt/wac/vt_wac_S000_JT00_2014.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT00_2014.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT00_2014.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT00_2014.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES5/de/wac/de_wac_S000_JT00_2007.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2007.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2007.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2007.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES5/vt/wac/vt_wac_S000_JT00_2007.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT00_2007.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT00_2007.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT00_2007.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES5/de/wac/de_wac_S000_JT00_2009.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2009.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2009.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2009.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES5/vt/wac/vt_wac_S000_JT00_2009.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT00_2009.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT00_2009.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT00_2009.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES7/de/wac/de_wac_S000_JT00_2013.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2013.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2013.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2013.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES7/vt/wac/vt_wac_S000_JT00_2013.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT00_2013.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT00_2013.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT00_2013.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES7/de/wac/de_wac_S000_JT00_2014.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2014.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2014.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT00_2014.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES7/vt/wac/vt_wac_S000_JT00_2014.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT00_2014.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT00_2014.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT00_2014.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES8/de/wac/de_wac_S000_JT01_2017.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT01_2017.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT01_2017.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT01_2017.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES8/vt/wac/vt_wac_S000_JT01_2017.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT01_2017.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT01_2017.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT01_2017.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES8/de/wac/de_wac_S000_JT01_2018.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT01_2018.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT01_2018.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT01_2018.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES8/vt/wac/vt_wac_S000_JT01_2018.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT01_2018.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT01_2018.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT01_2018.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES8/de/wac/de_wac_S000_JT01_2019.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT01_2019.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT01_2019.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT01_2019.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES8/vt/wac/vt_wac_S000_JT01_2019.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT01_2019.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT01_2019.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT01_2019.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES8/de/wac/de_wac_S000_JT01_2020.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT01_2020.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT01_2020.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\de_wac_S000_JT01_2020.csv.gz cleared from cache.
Downloading https://lehd.ces.census.gov/data/lodes/LODES8/vt/wac/vt_wac_S000_JT01_2020.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT01_2020.csv.gz now...
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT01_2020.csv.gz
C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_wac_S000_JT01_2020.csv.gz cleared from cache.
Downloading crosswalk https://lehd.ces.census.gov/data/lodes/LODES8/vt/vt_xwalk.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_xwalk.csv.gz
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\vt_xwalk.csv.gz
vt_xwalk.csv.gz crosswalk cleared from cache.
Downloading crosswalk https://lehd.ces.census.gov/data/lodes/LODES8/wy/wy_xwalk.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\wy_xwalk.csv.gz
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\wy_xwalk.csv.gz
Downloading crosswalk https://lehd.ces.census.gov/data/lodes/LODES8/nd/nd_xwalk.csv.gz to C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\nd_xwalk.csv.gz
Download complete for C:\Users\CRAN\AppData\Local\R\cache\R\lehdr\nd_xwalk.csv.gz
wy_xwalk.csv.gz crosswalk cleared from cache.
nd_xwalk.csv.gz crosswalk cleared from cache.
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-lehdr.R:2:3'): test grab lodes od ──────────────────────────────
Error in `(function (cnd)
{
rlang::abort(c("lehdr: Could not establish connection to LODES FTP server.",
i = "Please check internet connection."))
})(structure(list(message = "Failed to perform HTTP request.",
trace = structure(list(call = list(expect_equal(grab_lodes(state = "de",
year = 2020, version = "LODES8", lodes_type = "od", job_type = "JT00",
segment = "SA01", state_part = "main", agg_geo = "tract") %>%
dim, c(36671, 14)), quasi_label(enquo(object), label,
arg = "object"), eval_bare(expr, quo_get_env(quo)), grab_lodes(state = "de",
year = 2020, version = "LODES8", lodes_type = "od", job_type = "JT00",
segment = "SA01", state_part = "main", agg_geo = "tract") %>%
dim, grab_lodes(state = "de", year = 2020, version = "LODES8",
lodes_type = "od", job_type = "JT00", segment = "SA01",
state_part = "main", agg_geo = "tract"), withCallingHandlers(lodes_resp <- req_perform(req_error(lodes_req,
is_error = function(lodes_resp) FALSE), path = fil),
httr2_failure = function(cnd) {
rlang::abort(c("lehdr: Could not establish connection to LODES FTP server.",
i = "Please check internet connection."))
}), req_perform(req_error(lodes_req, is_error = function(lodes_resp) FALSE),
path = fil), tryCatch(req_perform1(req, path = path,
handle = handle), error = function(err) {
error_cnd(message = "Failed to perform HTTP request.",
class = c("httr2_failure", "httr2_error"), parent = err,
request = req, call = error_call, trace = trace_back())
}), tryCatchList(expr, classes, parentenv, handlers), tryCatchOne(expr,
names, parentenv, handlers[[1L]]), value[[3L]](cond)),
parent = c(0L, 1L, 2L, 0L, 0L, 5L, 5L, 7L, 8L, 9L, 10L
), visible = c(TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE,
TRUE, TRUE, TRUE, TRUE), namespace = c("testthat", "testthat",
"rlang", NA, "lehdr", "base", "httr2", "base", "base",
"base", NA), scope = c("::", "::", "::", NA, "::", "::",
"::", "::", "local", "local", NA)), row.names = c(NA,
-11L), version = 2L, class = c("rlang_trace", "rlib_trace",
"tbl", "data.frame")), parent = structure(list(message = "Failure when receiving data from the peer [lehd.ces.census.gov]",
call = curl::curl_fetch_disk(req$url, path, handle)), class = c("curl_error_recv_error",
"curl_error", "error", "condition")), request = structure(list(
url = structure("https://lehd.ces.census.gov/data/lodes/LODES8/de/od/de_od_main_JT00_2020.csv.gz", class = c("glue",
"character")), method = NULL, headers = list(), body = NULL,
fields = list(), options = list(), policies = list(error_is_error = function (lodes_resp)
FALSE)), class = "httr2_request"), call = req_perform(req_error(lodes_req,
is_error = function(lodes_resp) FALSE), path = fil)), class = c("httr2_failure",
"httr2_error", "rlang_error", "error", "condition")))`: lehdr: Could not establish connection to LODES FTP server.
i Please check internet connection.
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-lehdr.R:2:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─... %>% dim
5. ├─lehdr::grab_lodes(...)
6. │ ├─base::withCallingHandlers(...)
7. │ └─httr2::req_perform(...)
8. │ └─httr2:::handle_resp(req, resp, error_call = error_call)
9. │ └─rlang::cnd_signal(resp)
10. │ └─rlang:::signal_abort(cnd)
11. │ └─base::signalCondition(cnd)
12. └─lehdr (local) `<fn>`(`<httr2_fl>`)
13. └─rlang::abort(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64