Running 'testthat.R' [2s]
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/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(rcrisp)
  Warning message:
  In check_cache() :
    Cache dir: C:\Users\CRAN\AppData\Local\R\cache\R\rcrisp - size: 26 MB - oldest file from: 2025-06-26.
  Clean up files older than 30 days with: `rcrisp::clear_cache('2025-07-01')` (or remove all cached files with: `rcrisp::clear_cache()`.
  > 
  > test_check("rcrisp")
  Cannot open data source D:\temp\2025_07_31_01_50_00_11303\Rtmp25MzG1\file2ee743b532c09.gpkg
  Error in `FUN()`:
  ! In path: "D:\\RCompile\\CRANpkg\\local\\4.6\\rcrisp.Rcheck\\tests\\testthat\\helper-exampledata.R"
  Caused by error:
  ! Open failed.
  Backtrace:
       ▆
    1. ├─testthat::test_check("rcrisp")
    2. │ └─testthat::test_dir(...)
    3. │   └─testthat:::test_files(...)
    4. │     └─testthat:::test_files_serial(...)
    5. │       └─testthat:::test_files_setup_state(...)
    6. │         └─testthat::source_test_helpers(".", env)
    7. │           └─testthat::source_dir(path, "^helper.*\\.[rR]$", env = env, wrap = FALSE)
    8. │             └─base::lapply(...)
    9. │               └─testthat (local) FUN(X[[i]], ...)
   10. │                 └─testthat::source_file(path, env = env, chdir = chdir, wrap = wrap)
   11. │                   ├─base::withCallingHandlers(...)
   12. │                   └─base::eval(exprs, env)
   13. │                     └─base::eval(exprs, env)
   14. │                       └─rcrisp::get_osm_example_data() at D:\RCompile\CRANpkg\local\4.6\rcrisp.Rcheck\tests\testthat\helper-exampledata.R:2:1
   15. │                         └─sf::st_layers(temp_file)
   16. │                           └─sf:::CPL_get_layers(dsn, options, do_count)
   17. ├─base::stop(`<Rcpp::xc>`)
   18. └─testthat (local) `<fn>`(`<Rcpp::xc>`)
   19.   └─rlang::abort(...)
  Execution halted