Package suggested but not available for checking: ‘arrow’
Running examples in ‘filecacher-Ex.R’ failed
The error most likely occurred in:

> ### Name: vectorize_reader
> ### Title: Vectorize a single-input read function to read multiple files
> ### Aliases: vectorize_reader
> 
> ### ** Examples
> 
> # Convert iris$Species to character to simplify comparison.
> iris_chr <- iris
> iris_chr$Species <- as.character(iris$Species)
> 
> 
> # `iris` data frame separated into multiple subset files.
> iris_files <- system.file("extdata", package = "filecacher") |>
+   list.files(pattern = "_only[.]csv$", full.names = TRUE)
> 
> try(read.csv(iris_files))
Error in file(file, "rt") : invalid 'description' argument
> vectorize_reader(read.csv)(
+   iris_files,
+   stringsAsFactors = TRUE
+ ) |>
+   all.equal(iris)
[1] TRUE
> 
> try(arrow::read_csv_arrow(iris_files))
Error in loadNamespace(x) : there is no package called ‘arrow’
> vectorize_reader(arrow::read_csv_arrow)(
+   iris_files
+ ) |>
+   as.data.frame() |>
+   all.equal(iris_chr)
Error in loadNamespace(x) : there is no package called ‘arrow’
Calls: all.equal ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Running 'testthat.R' [7s]
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 1 | WARN 3 | SKIP 0 | PASS 152 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-file_cache.R:12:5'): file_cache with cache=NULL ──────────────
  fs::dir_exists(expected_dir) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 1 | WARN 3 | SKIP 0 | PASS 152 ]
  Error: Test failures
  Execution halted