Running 'testthat.R' [19s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(cvap)
  > 
  > test_check("cvap")
  trying URL 'https://github.com/christopherkenny/cvap_data/raw/main/DE/blockgr_2019.rds'
  Content type 'application/octet-stream' length 12504 bytes (12 KB)
  ==================================================
  downloaded 12 KB
  
  trying URL 'https://github.com/christopherkenny/cvap_data/raw/main/DE/blockgr_2019.rds'
  Content type 'application/octet-stream' length 12504 bytes (12 KB)
  ==================================================
  downloaded 12 KB
  
  trying URL 'https://github.com/christopherkenny/cvap_data/raw/main/DE/blockgr_2019.rds'
  Content type 'application/octet-stream' length 12504 bytes (12 KB)
  ==================================================
  downloaded 12 KB
  
  trying URL 'https://github.com/christopherkenny/cvap_data/raw/main/DE/blockgr_2021.rds'
  trying URL 'https://github.com/christopherkenny/cvap_data/raw/main/DE/blockgr_2022.rds'
  trying URL 'https://github.com/alarm-redist/census-2020/raw/main/crosswalks/WY.rds'
  Error in utils::download.file(url = url, destfile = file) : 
    cannot open URL 'https://github.com/alarm-redist/census-2020/raw/main/crosswalks/WY.rds'
  [ FAIL 2 | WARN 3 | SKIP 1 | PASS 4 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • Crosswalk did not download for testing. (1): 'test-vest_crosswalk.R:4:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-get.R:12:3'): cvap_get default works year 2021 ─────────────────
  Error in `utils::download.file(url, out_file)`: cannot open URL 'https://github.com/christopherkenny/cvap_data/raw/main/DE/blockgr_2021.rds'
  Backtrace:
      ▆
   1. └─cvap::cvap_get("DE", year = 2021) at test-get.R:12:3
   2.   └─utils::download.file(url, out_file)
  ── Error ('test-get.R:17:3'): cvap_get default works year 2022 ─────────────────
  Error in `utils::download.file(url, out_file)`: cannot open URL 'https://github.com/christopherkenny/cvap_data/raw/main/DE/blockgr_2022.rds'
  Backtrace:
      ▆
   1. └─cvap::cvap_get("DE", year = 2022) at test-get.R:17:3
   2.   └─utils::download.file(url, out_file)
  
  [ FAIL 2 | WARN 3 | SKIP 1 | PASS 4 ]
  Error: Test failures
  Execution halted