Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ncmeta)
  > 
  > test_check("ncmeta")
  ── 1. Error: failure is graceful (@test-attributes.R#33)  ──────────────────────
  NetCDF: HDF error
  1: expect_warning(abin <- nc_atts(l3binfile), "no variables recognizable") at testthat/test-attributes.R:33
  2: quasi_capture(enquo(object), capture_warnings, label = label)
  3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
  4: withCallingHandlers(code, warning = function(condition) {
         out$push(condition)
         invokeRestart("muffleWarning")
     })
  5: eval_bare(get_expr(quo), get_env(quo))
  6: nc_atts(l3binfile)
  7: nc_atts.character(l3binfile)
  8: RNetCDF::open.nc(x)
  9: stop(nc$errmsg, call. = FALSE)
  
  ── 2. Error: file specific dimension inquiry works (@test-dimension.R#6)  ──────
  NetCDF: HDF error
  1: nc_dim(f, 0) %>% expect_s3_class("tbl_df") at testthat/test-dimension.R:6
  2: eval(lhs, parent, parent)
  3: eval(lhs, parent, parent)
  4: nc_dim(f, 0)
  5: nc_dim.character(f, 0)
  6: RNetCDF::open.nc(x)
  7: stop(nc$errmsg, call. = FALSE)
  
  ── 3. Error: file all dimensions inquiry works (@test-dimension.R#20)  ─────────
  NetCDF: HDF error
  1: nc_dims(f) %>% expect_s3_class("tbl_df") at testthat/test-dimension.R:20
  2: eval(lhs, parent, parent)
  3: eval(lhs, parent, parent)
  4: nc_dims(f)
  5: nc_dims.character(f)
  6: RNetCDF::open.nc(x)
  7: stop(nc$errmsg, call. = FALSE)
  
  ── 4. Error: (unknown) (@test-dimension.R#32)  ─────────────────────────────────
  NetCDF: HDF error
  1: nc_axes(f) at testthat/test-dimension.R:32
  2: nc_axes.character(f)
  3: RNetCDF::open.nc(x)
  4: stop(nc$errmsg, call. = FALSE)
  
  ── 5. Error: file inquiry works (@test-file.R#10)  ─────────────────────────────
  NetCDF: HDF error
  1: nc_inq(f) %>% expect_s3_class("tbl_df") at testthat/test-file.R:10
  2: eval(lhs, parent, parent)
  3: eval(lhs, parent, parent)
  4: nc_inq(f)
  5: nc_inq.character(f)
  6: dplyr::bind_rows(lapply(x, ifun), .id = "filename")
  7: flatten_bindable(dots_values(...))
  8: dots_values(...)
  9: map(dots, function(dot) eval_bare(dot$expr, dot$env))
  10: lapply(.x, .f, ...)
  11: FUN(X[[i]], ...)
  12: eval_bare(dot$expr, dot$env)
  13: lapply(x, ifun)
  14: FUN(X[[i]], ...)
  15: RNetCDF::open.nc(x)
  16: stop(nc$errmsg, call. = FALSE)
  
  ── 6. Error: multiple file inquiry works (@test-file.R#22)  ────────────────────
  NetCDF: HDF error
  1: nc_inq(c(f, f)) %>% expect_s3_class("tbl_df") at testthat/test-file.R:22
  2: eval(lhs, parent, parent)
  3: eval(lhs, parent, parent)
  4: nc_inq(c(f, f))
  5: nc_inq.character(c(f, f))
  6: dplyr::bind_rows(lapply(x, ifun), .id = "filename")
  7: flatten_bindable(dots_values(...))
  8: dots_values(...)
  9: map(dots, function(dot) eval_bare(dot$expr, dot$env))
  10: lapply(.x, .f, ...)
  11: FUN(X[[i]], ...)
  12: eval_bare(dot$expr, dot$env)
  13: lapply(x, ifun)
  14: FUN(X[[i]], ...)
  15: RNetCDF::open.nc(x)
  16: stop(nc$errmsg, call. = FALSE)
  
  ── 7. Error: vars works (@test-vars.R#5)  ──────────────────────────────────────
  NetCDF: HDF error
  1: nc_vars(f) at testthat/test-vars.R:5
  2: nc_vars.character(f)
  3: RNetCDF::open.nc(x)
  4: stop(nc$errmsg, call. = FALSE)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 0 SKIPPED: 5 FAILED: 7
  1. Error: failure is graceful (@test-attributes.R#33) 
  2. Error: file specific dimension inquiry works (@test-dimension.R#6) 
  3. Error: file all dimensions inquiry works (@test-dimension.R#20) 
  4. Error: (unknown) (@test-dimension.R#32) 
  5. Error: file inquiry works (@test-file.R#10) 
  6. Error: multiple file inquiry works (@test-file.R#22) 
  7. Error: vars works (@test-vars.R#5) 
  
  Error: testthat unit tests failed
  Execution halted