Running ‘testthat.R’ [59s/48s]
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
  1: write_h5(obj, file) at testthat/test-h5.R:9
  2: hdf5r::H5File$new(path, "w")
  3: .subset2(public_bind_env, "initialize")(...)
  4: 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
  1: expect_true(test_h5_installation()) at testthat/test-h5.R:17
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: test_h5_installation()
  5: test_h5_installation_write(detailed, obj)
  6: tryCatch(write_h5(obj, file), error = function(e) {
         paste0("\u274c Unable to write hdf5 files\n") %>% crayon::red() %>% cat()
         stop(e)
     })
  7: tryCatchList(expr, classes, parentenv, handlers)
  8: 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
  1: hdf5r::H5File$new(file, mode = "w") at testthat/test-h5.R:39
  2: .subset2(public_bind_env, "initialize")(...)
  3: H5File.open(filename, mode, file_create_pl, file_access_pl)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 408 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