Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [4s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(farr)
  
  Attaching package: 'farr'
  
  The following object is masked from 'package:base':
  
      truncate
  
  > 
  > test_check("farr")
  [ FAIL 2 | WARN 11 | SKIP 0 | PASS 9 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-get_ff_ind.R:4:3'): get_ff_ind(5) works ────────────────────────
  Error in `utils::unzip(path, list = TRUE)`: zip file '/home/hornik/tmp/scratch/RtmpCh6fht/file2e18283a6a2aed.zip' cannot be opened
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-get_ff_ind.R:4:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─... %>% length()
    5. ├─dplyr::pull(.)
    6. ├─dplyr::distinct(.)
    7. ├─dplyr::select(., ff_ind)
    8. ├─farr::get_ff_ind(5)
    9. │ └─... %>% ...
   10. ├─tidyr::extract(...)
   11. ├─dplyr::filter(., !is.na(.data$sic_range))
   12. ├─tidyr::fill(., .data$ff_ind, .data$ff_ind_short_desc, .data$ff_ind_desc)
   13. ├─dplyr::select(., -.data$temp)
   14. ├─dplyr::mutate(...)
   15. ├─readr::read_fwf(...)
   16. │ └─vroom::vroom_fwf(...)
   17. │   └─vroom:::vroom_fwf_(...)
   18. └─vroom (local) `<fn>`("/home/hornik/tmp/scratch/RtmpCh6fht/file2e18283a6a2aed.zip")
   19.   └─vroom:::zipfile(path, "")
   20.     └─utils::unzip(path, list = TRUE)
  ── Error ('test-get_me_breakpoints.R:3:1'): (code run outside of `test_that()`) ──
  Error in `utils::unzip(path, list = TRUE)`: zip file '/home/hornik/tmp/scratch/RtmpCh6fht/file2e182824413a3b.zip' cannot be opened
  Backtrace:
      ▆
   1. ├─get_me_breakpoints() %>% filter(month == "2022-04-01") at test-get_me_breakpoints.R:3:0
   2. ├─dplyr::filter(., month == "2022-04-01")
   3. ├─farr::get_me_breakpoints()
   4. │ └─readr::read_lines(t)
   5. │   └─vroom::vroom_lines(...)
   6. │     └─vroom:::vroom_(...)
   7. └─vroom (local) `<fn>`("/home/hornik/tmp/scratch/RtmpCh6fht/file2e182824413a3b.zip")
   8.   └─vroom:::zipfile(path, "")
   9.     └─utils::unzip(path, list = TRUE)
  
  [ FAIL 2 | WARN 11 | SKIP 0 | PASS 9 ]
  Error: Test failures
  Execution halted