Running ‘testthat.R’ [142s/78s]
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
  
  Failed with error:  'there is no package called 'hdf5r''
  Failed with error:  'there is no package called 'hdf5r''
  ❌ Unable to write hdf5 files
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-h5.R:9:3): write_h5 and read_h5 works ───────────────────────────
  Error: there is no package called 'hdf5r'
  Backtrace:
      █
   1. ├─dynutils::write_h5(obj, file) test-h5.R:9:2
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base:::withOneRestart(expr, restarts[[1L]])
   5.       └─base:::doWithOneRestart(return(expr), restart)
  ── Error (test-h5.R:17:3): test_h5_installation works ──────────────────────────
  Error: there is no package called 'hdf5r'
  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_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)
  ── Error (test-h5.R:39:3): errors gracefully ───────────────────────────────────
  Error: there is no package called 'hdf5r'
  Backtrace:
      █
   1. └─base::loadNamespace(x) test-h5.R:39:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base:::withOneRestart(expr, restarts[[1L]])
   4.       └─base:::doWithOneRestart(return(expr), restart)
  
  [ FAIL 3 | WARN 6 | SKIP 0 | PASS 540 ]
  Error: Test failures
  Execution halted