Running ‘testthat.R’ [59s/56s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > test_check("dynutils")
  Loading required package: dynutils
  
  Attaching package: 'dynutils'
  
  The following object is masked from 'package:testthat':
  
      has_names
  
  ── 1. Error: write_h5 and read_h5 works (@test-h5.R#9)  ────────────────────────
  HDF5-API H5F.c in H5Fcreate(): line 444: unable to create file
          class: HDF5
          major: File accessibilty
          minor: Unable to open file
  
      error #001: H5Fint.c in H5F__create(): line 1364: unable to open file
          class: HDF5
          major: File accessibilty
          minor: Unable to open file
  
      error #002: H5Fint.c in H5F_open(): line 1615: unable to lock the file
          class: HDF5
          major: File accessibilty
          minor: Unable to open file
  
      error #003: H5FD.c in H5FD_lock(): line 1640: driver lock request failed
          class: HDF5
          major: Virtual File Layer
          minor: Can't update object
  
      error #004: H5FDsec2.c in H5FD_sec2_lock(): line 941: unable to lock file, errno = 14, error message = 'Bad address'
          class: HDF5
          major: File accessibilty
          minor: Bad file ID accessed
  Backtrace:
   1. dynutils::write_h5(obj, file)
   2. hdf5r::H5File$new(path, "w")
   3. .subset2(public_bind_env, "initialize")(...)
   4. hdf5r:::H5File.open(filename, mode, file_create_pl, file_access_pl)
  
  ❌ Unable to write hdf5 files
  ── 2. Error: test_h5_installation works (@test-h5.R#17)  ───────────────────────
  HDF5-API H5F.c in H5Fcreate(): line 444: unable to create file
          class: HDF5
          major: File accessibilty
          minor: Unable to open file
  
      error #001: H5Fint.c in H5F__create(): line 1364: unable to open file
          class: HDF5
          major: File accessibilty
          minor: Unable to open file
  
      error #002: H5Fint.c in H5F_open(): line 1615: unable to lock the file
          class: HDF5
          major: File accessibilty
          minor: Unable to open file
  
      error #003: H5FD.c in H5FD_lock(): line 1640: driver lock request failed
          class: HDF5
          major: Virtual File Layer
          minor: Can't update object
  
      error #004: H5FDsec2.c in H5FD_sec2_lock(): line 941: unable to lock file, errno = 14, error message = 'Bad address'
          class: HDF5
          major: File accessibilty
          minor: Bad file ID accessed
  Backtrace:
   1. testthat::expect_true(test_h5_installation())
   4. dynutils::test_h5_installation()
   5. dynutils:::test_h5_installation_write(detailed, obj)
   6. base::tryCatch(...)
   7. base:::tryCatchList(expr, classes, parentenv, handlers)
   8. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   9. value[[3L]](cond)
  
  ── 3. Error: errors gracefully (@test-h5.R#39)  ────────────────────────────────
  HDF5-API H5F.c in H5Fcreate(): line 444: unable to create file
          class: HDF5
          major: File accessibilty
          minor: Unable to open file
  
      error #001: H5Fint.c in H5F__create(): line 1364: unable to open file
          class: HDF5
          major: File accessibilty
          minor: Unable to open file
  
      error #002: H5Fint.c in H5F_open(): line 1615: unable to lock the file
          class: HDF5
          major: File accessibilty
          minor: Unable to open file
  
      error #003: H5FD.c in H5FD_lock(): line 1640: driver lock request failed
          class: HDF5
          major: Virtual File Layer
          minor: Can't update object
  
      error #004: H5FDsec2.c in H5FD_sec2_lock(): line 941: unable to lock file, errno = 14, error message = 'Bad address'
          class: HDF5
          major: File accessibilty
          minor: Bad file ID accessed
  Backtrace:
   1. hdf5r::H5File$new(file, mode = "w")
   2. .subset2(public_bind_env, "initialize")(...)
   3. hdf5r:::H5File.open(filename, mode, file_create_pl, file_access_pl)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 401 | SKIPPED: 1 | WARNINGS: 2 | FAILED: 3 ]
  1. Error: write_h5 and read_h5 works (@test-h5.R#9) 
  2. Error: test_h5_installation works (@test-h5.R#17) 
  3. Error: errors gracefully (@test-h5.R#39) 
  
  Error: testthat unit tests failed
  Execution halted