Running ‘testthat.R’ [160s/335s]
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")
  Cached version of file found in /data/gannet/ripley/.cache/lehdr/or_od_main_JT00_2014.csv.gz.
  Consider setting use_cache=TRUE to use previously downloaded files.
  Overwriting https://lehd.ces.census.gov/data/lodes/LODES7/or/od/or_od_main_JT00_2014.csv.gz to /data/gannet/ripley/.cache/lehdr/or_od_main_JT00_2014.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_od_main_JT00_2014.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES8/or/od/or_od_main_JT00_2020.csv.gz to /data/gannet/ripley/.cache/lehdr/or_od_main_JT00_2020.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_od_main_JT00_2020.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES5/or/od/or_od_main_JT00_2009.csv.gz to /data/gannet/ripley/.cache/lehdr/or_od_main_JT00_2009.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_od_main_JT00_2009.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES7/or/od/or_od_main_JT01_2015.csv.gz to /data/gannet/ripley/.cache/lehdr/or_od_main_JT01_2015.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_od_main_JT01_2015.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES8/or/od/or_od_main_JT00_2015.csv.gz to /data/gannet/ripley/.cache/lehdr/or_od_main_JT00_2015.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_od_main_JT00_2015.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES5/or/od/or_od_aux_JT00_2009.csv.gz to /data/gannet/ripley/.cache/lehdr/or_od_aux_JT00_2009.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_od_aux_JT00_2009.csv.gz.
  Cached version of file found in /data/gannet/ripley/.cache/lehdr/or_rac_S000_JT00_2014.csv.gz.
  Consider setting use_cache=TRUE to use previously downloaded files.
  Overwriting https://lehd.ces.census.gov/data/lodes/LODES7/or/rac/or_rac_S000_JT00_2014.csv.gz to /data/gannet/ripley/.cache/lehdr/or_rac_S000_JT00_2014.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_rac_S000_JT00_2014.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES8/or/rac/or_rac_S000_JT00_2020.csv.gz to /data/gannet/ripley/.cache/lehdr/or_rac_S000_JT00_2020.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_rac_S000_JT00_2020.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES8/or/rac/or_rac_S000_JT00_2015.csv.gz to /data/gannet/ripley/.cache/lehdr/or_rac_S000_JT00_2015.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_rac_S000_JT00_2015.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES7/or/rac/or_rac_SA01_JT01_2004.csv.gz to /data/gannet/ripley/.cache/lehdr/or_rac_SA01_JT01_2004.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_rac_SA01_JT01_2004.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES7/or/wac/or_wac_S000_JT01_2014.csv.gz to /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT01_2014.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT01_2014.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES5/or/wac/or_wac_S000_JT01_2009.csv.gz to /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT01_2009.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT01_2009.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES7/or/wac/or_wac_S000_JT00_2015.csv.gz to /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT00_2015.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT00_2015.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES8/or/wac/or_wac_S000_JT00_2020.csv.gz to /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT00_2020.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT00_2020.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES7/or/od/or_od_aux_JT01_2013.csv.gz to /data/gannet/ripley/.cache/lehdr/or_od_aux_JT01_2013.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_od_aux_JT01_2013.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES7/ri/od/ri_od_aux_JT01_2013.csv.gz to /data/gannet/ripley/.cache/lehdr/ri_od_aux_JT01_2013.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/ri_od_aux_JT01_2013.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES7/or/od/or_od_aux_JT01_2014.csv.gz to /data/gannet/ripley/.cache/lehdr/or_od_aux_JT01_2014.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_od_aux_JT01_2014.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES7/ri/od/ri_od_aux_JT01_2014.csv.gz to /data/gannet/ripley/.cache/lehdr/ri_od_aux_JT01_2014.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/ri_od_aux_JT01_2014.csv.gz.
  Cached version of file found in /data/gannet/ripley/.cache/lehdr/wa_od_main_JT01_2007.csv.gz.
  Consider setting use_cache=TRUE to use previously downloaded files.
  Overwriting https://lehd.ces.census.gov/data/lodes/LODES5/wa/od/wa_od_main_JT01_2007.csv.gz to /data/gannet/ripley/.cache/lehdr/wa_od_main_JT01_2007.csv.gz now...
  Downloading https://lehd.ces.census.gov/data/lodes/LODES7/or/wac/or_wac_S000_JT00_2013.csv.gz to /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT00_2013.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT00_2013.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES7/ri/wac/ri_wac_S000_JT00_2013.csv.gz to /data/gannet/ripley/.cache/lehdr/ri_wac_S000_JT00_2013.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/ri_wac_S000_JT00_2013.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES7/or/wac/or_wac_S000_JT00_2014.csv.gz to /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT00_2014.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT00_2014.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES7/ri/wac/ri_wac_S000_JT00_2014.csv.gz to /data/gannet/ripley/.cache/lehdr/ri_wac_S000_JT00_2014.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/ri_wac_S000_JT00_2014.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES5/or/wac/or_wac_S000_JT00_2007.csv.gz to /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT00_2007.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT00_2007.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES5/ri/wac/ri_wac_S000_JT00_2007.csv.gz to /data/gannet/ripley/.cache/lehdr/ri_wac_S000_JT00_2007.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/ri_wac_S000_JT00_2007.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES5/or/wac/or_wac_S000_JT00_2009.csv.gz to /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT00_2009.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT00_2009.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES5/ri/wac/ri_wac_S000_JT00_2009.csv.gz to /data/gannet/ripley/.cache/lehdr/ri_wac_S000_JT00_2009.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/ri_wac_S000_JT00_2009.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES7/or/wac/or_wac_S000_JT00_2013.csv.gz to /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT00_2013.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT00_2013.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES7/ri/wac/ri_wac_S000_JT00_2013.csv.gz to /data/gannet/ripley/.cache/lehdr/ri_wac_S000_JT00_2013.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/ri_wac_S000_JT00_2013.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES7/or/wac/or_wac_S000_JT00_2014.csv.gz to /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT00_2014.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT00_2014.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES7/ri/wac/ri_wac_S000_JT00_2014.csv.gz to /data/gannet/ripley/.cache/lehdr/ri_wac_S000_JT00_2014.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/ri_wac_S000_JT00_2014.csv.gz.
  Downloading https://lehd.ces.census.gov/data/lodes/LODES8/or/wac/or_wac_S000_JT01_2017.csv.gz to /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT01_2017.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT01_2017.csv.gz.
  Cached version of file found in /data/gannet/ripley/.cache/lehdr/ri_wac_S000_JT01_2017.csv.gz.
  Consider setting use_cache=TRUE to use previously downloaded files.
  Overwriting https://lehd.ces.census.gov/data/lodes/LODES8/ri/wac/ri_wac_S000_JT01_2017.csv.gz to /data/gannet/ripley/.cache/lehdr/ri_wac_S000_JT01_2017.csv.gz now...
  Removed /data/gannet/ripley/.cache/lehdr/ri_wac_S000_JT01_2017.csv.gz.
  Cached version of file found in /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT01_2018.csv.gz.
  Consider setting use_cache=TRUE to use previously downloaded files.
  Overwriting https://lehd.ces.census.gov/data/lodes/LODES8/or/wac/or_wac_S000_JT01_2018.csv.gz to /data/gannet/ripley/.cache/lehdr/or_wac_S000_JT01_2018.csv.gz now...
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 18 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-lehdr.R:113:3'): test grab lodes od for multiple states and years ──
  Error: '/data/gannet/ripley/.cache/lehdr/wa_od_main_JT01_2007.csv.gz' does not exist.
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-lehdr.R:113:2
    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::apply(...)
    7. │   └─lehdr (local) FUN(newX[, i], ...)
    8. │     └─lehdr::grab_lodes(...)
    9. │       ├─base::suppressMessages(readr::read_csv(fil, col_types = col_types))
   10. │       │ └─base::withCallingHandlers(...)
   11. │       └─readr::read_csv(fil, col_types = col_types)
   12. │         └─vroom::vroom(...)
   13. │           └─vroom:::vroom_(...)
   14. └─vroom (local) `<fn>`("/data/gannet/ripley/.cache/lehdr/wa_od_main_JT01_2007.csv.gz")
   15.   └─vroom:::check_path(path)
  ── Error ('test-lehdr.R:158:3'): test grab lodes wac for multiple states and years ──
  Error: '/data/gannet/ripley/.cache/lehdr/or_wac_S000_JT01_2018.csv.gz' does not exist.
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-lehdr.R:158:2
    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::apply(...)
    7. │   └─lehdr (local) FUN(newX[, i], ...)
    8. │     └─lehdr::grab_lodes(...)
    9. │       ├─base::suppressMessages(readr::read_csv(fil, col_types = col_types))
   10. │       │ └─base::withCallingHandlers(...)
   11. │       └─readr::read_csv(fil, col_types = col_types)
   12. │         └─vroom::vroom(...)
   13. │           └─vroom:::vroom_(...)
   14. └─vroom (local) `<fn>`("/data/gannet/ripley/.cache/lehdr/or_wac_S000_JT01_2018.csv.gz")
   15.   └─vroom:::check_path(path)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 18 ]
  Error: Test failures
  Execution halted