Running ‘testthat.R’ [28s/18s]
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(waywiser)
  > 
  > test_check("waywiser")
  Starting 2 test processes.
  > test-area_of_applicability.R: Reading layer `worldclim_simulation' from data source 
  > test-area_of_applicability.R:   `/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/waywiser/worldclim_simulation.gpkg' 
  > test-area_of_applicability.R:   using driver `GPKG'
  > test-area_of_applicability.R: Simple feature collection with 10000 features and 5 fields
  > test-area_of_applicability.R: Geometry type: POINT
  > test-area_of_applicability.R: Dimension:     XY
  > test-area_of_applicability.R: Bounding box:  xmin: -179.6026 ymin: -59.70504 xmax: 179.9157 ymax: 83.85048
  > test-area_of_applicability.R: Geodetic CRS:  +proj=longlat +datum=WGS84 +no_defs
  > test-srr-ww_agreement_coefficient.R: Warning message:
  > test-srr-ww_agreement_coefficient.R: In file(file, mode) :
  
  Error:
  ! testthat subprocess exited in file
    'test-srr-ww_agreement_coefficient.R'.
  Caused by error:
  ! in callr subprocess.
  Caused by error:
  ! cannot open the connection
  Backtrace:
       ▆
    1. └─testthat::test_check("waywiser")
    2.   └─testthat::test_dir(...)
    3.     └─testthat:::test_files(...)
    4.       └─testthat:::test_files_parallel(...)
    5.         ├─withr::with_dir(...)
    6.         │ └─base::force(code)
    7.         ├─testthat::with_reporter(...)
    8.         │ └─base::tryCatch(...)
    9.         │   └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10.         │     └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11.         │       └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12.         └─testthat:::parallel_event_loop_chunky(queue, reporters, ".")
   13.           └─queue$poll(Inf)
   14.             └─base::lapply(...)
   15.               └─testthat (local) FUN(X[[i]], ...)
   16.                 └─private$handle_error(msg, i)
   17.                   └─cli::cli_abort(...)
   18.                     └─rlang::abort(...)
  Execution halted