Running ‘testthat.R’ [509s/141s]
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
  
  ❌ Unable to read hdf5 files
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-h5.R:11:3): write_h5 and read_h5 works ──────────────────────────
  Error: HDF5-API Errors:
      error #000: H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  
  Backtrace:
      █
   1. └─dynutils::read_h5(file) test-h5.R:11:2
   2.   └─dynutils::read_h5_(file_h5)
   3.     └─hdf5r::h5attr(file_h5, "object_class")
   4.       └─attr_obj$read()
   5.         └─hdf5r:::H5ToR_Pre(mem_type, nelem)
  ── Error (test-h5.R:17:3): test_h5_installation works ──────────────────────────
  Error: HDF5-API Errors:
      error #000: H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  
  Backtrace:
      █
   1. ├─testthat::expect_true(test_h5_installation()) test-h5.R:17:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─dynutils::test_h5_installation()
   5.   └─dynutils:::test_h5_installation_read(detailed, file)
   6.     └─base::tryCatch(...)
   7.       └─base:::tryCatchList(expr, classes, parentenv, handlers)
   8.         └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   9.           └─value[[3L]](cond)
  ── Failure (test-tibble.R:20:3): list_as_tibble works ──────────────────────────
  attributes(tib2) not equal to attributes(tib).
  Names: 2 string mismatches
  Component 1: Lengths (5, 3) differ (string compare on first 3)
  Component 1: 3 string mismatches
  Component 3: Lengths (3, 5) differ (string compare on first 3)
  Component 3: 3 string mismatches
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 545 ]
  Error: Test failures
  Execution halted