Running ‘testthat.R’ [8s/11s]
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(filecacher)
  > 
  > test_check("filecacher")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 126 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-cached_read.R:158:3'): cached_read with skip_file_info and type='parquet' works ──
  Error in `interpret_cache_type(type, ext_prefix = ext_prefix)`: The `arrow` package must be installed to use `type='parquet'`.
  Backtrace:
      ▆
   1. └─filecacher (local) expect_skip_file_info_works("cache_parquet", type = "parquet") at test-cached_read.R:158:3
   2.   ├─dplyr::select(...) at test-cached_read.R:129:5
   3.   └─filecacher::cached_read(...) at test-cached_read.R:129:5
   4.     └─filecacher::file_cache(cache = cache, type = type)
   5.       └─filecacher:::interpret_cache_type(type, ext_prefix = ext_prefix)
  ── Error ('test-file_cache.R:46:3'): file_cache with type=parquet works ────────
  Error in `interpret_cache_type(type, ext_prefix = ext_prefix)`: The `arrow` package must be installed to use `type='parquet'`.
  Backtrace:
      ▆
   1. └─filecacher::file_cache(tf, type = "parquet") at test-file_cache.R:46:3
   2.   └─filecacher:::interpret_cache_type(type, ext_prefix = ext_prefix)
  ── Error ('test-interpret_type.R:17:3'): interpret_cache_type extension works ──
  Error in `interpret_cache_type("parquet")`: The `arrow` package must be installed to use `type='parquet'`.
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-interpret_type.R:17:3
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─filecacher:::interpret_cache_type("parquet")
  ── Error ('test-interpret_type.R:41:3'): interpret_cache_type read/write works ──
  Error in `interpret_cache_type("parquet")`: The `arrow` package must be installed to use `type='parquet'`.
  Backtrace:
      ▆
   1. ├─filecacher (local) expect_fns_equal(interpret_cache_type("parquet")$read, arrow::read_parquet) at test-interpret_type.R:41:3
   2. │ ├─testthat::expect_true(fns_equal(x, y)) at test-interpret_type.R:35:3
   3. │ │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   4. │ │   └─rlang::eval_bare(expr, quo_get_env(quo))
   5. │ └─filecacher:::fns_equal(x, y)
   6. │   └─rlang::is_function(x)
   7. └─filecacher:::interpret_cache_type("parquet")
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 126 ]
  Error: Test failures
  Execution halted