Running 'testthat.R' [18s/22s]
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(ebvcube)
  > 
  > test_check("ebvcube")
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 79 ]
  
  == Failed tests ================================================================
  -- Error ('test-ebv_attribute.R:5'): test attribute: keyword modification ------
  Error in `rhdf5::H5Fopen(filepath)`: HDF5. File accessibility. Unable to open file.
  Backtrace:
      x
   1. \-ebvcube::ebv_attribute(file, "ebv_domain", "Terrestrial") at test-ebv_attribute.R:5:4
   2.   \-rhdf5::H5Fopen(filepath)
  -- Error ('test-ebv_attribute.R:31'): test attribute: modification of metric attribute --
  Error in `rhdf5::H5Fopen(filepath)`: HDF5. File accessibility. Unable to open file.
  Backtrace:
      x
   1. \-ebvcube::ebv_attribute(...) at test-ebv_attribute.R:31:4
   2.   \-rhdf5::H5Fopen(filepath)
  -- Error ('test-ebv_attribute.R:47'): test attribute: modification of scenario attribute --
  Error in `rhdf5::H5Fopen(filepath)`: HDF5. File accessibility. Unable to open file.
  Backtrace:
      x
   1. \-ebvcube::ebv_attribute(...) at test-ebv_attribute.R:47:4
   2.   \-rhdf5::H5Fopen(filepath)
  -- Error ('test-ebv_attribute.R:64'): test attribute: modification of global attribute --
  Error in `rhdf5::H5Fopen(filepath)`: HDF5. File accessibility. Unable to open file.
  Backtrace:
      x
   1. \-ebvcube::ebv_attribute(file, "title", "Local bird diversity (cSAR/BES-SIM)") at test-ebv_attribute.R:64:4
   2.   \-rhdf5::H5Fopen(filepath)
  -- Error ('test-ebv_attribute.R:77'): test attribute: modification of ebv_cube attribute --
  Error in `rhdf5::H5Fopen(filepath)`: HDF5. File accessibility. Unable to open file.
  Backtrace:
      x
   1. \-ebvcube::ebv_attribute(...) at test-ebv_attribute.R:77:4
   2.   \-rhdf5::H5Fopen(filepath)
  -- Error ('test-ebv_create.R:18'): test ebv_create -----------------------------
  Error in `value[[3L]](cond)`: Outputpath file already exists and you enabled overwrite, but file cannot be overwritten. Most likely the file is opened in another application.
  Backtrace:
       x
    1. +-testthat::expect_silent(...) at test-ebv_create.R:18:2
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat (local) .capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. \-ebvcube::ebv_create(...)
   10.   \-base::tryCatch(...)
   11.     \-base (local) tryCatchList(expr, classes, parentenv, handlers)
   12.       \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   13.         \-value[[3L]](cond)
  
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 79 ]
  Error: Test failures
  Execution halted