- using R Under development (unstable) (2024-11-15 r87338 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'lehdr/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'lehdr' version '1.1.3'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'lehdr' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [3s] OK
- checking Rd files ... [0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [1s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [222s] 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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [2s] OK
- checking PDF version of manual ... [21s] OK
- checking HTML version of manual ... [1s] OK
- DONE
Status: 1 ERROR