Running ‘testthat.R’ [34s/39s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(hdf5r)
  > 
  > test_check("hdf5r")
  ── 1. Error: Dataset with more than 2^31 rows (@test-64bit_support.R#43)  ──────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_equal(...)
   5. hdf5r:::`[.H5D`(large_ds, (2^32 - 20):(2^32 + 20))
   6. x$read(...)
   7. self$read_low_level(...)
  
  ── 2. Error: Datatype conversion with 64bit (@test-64bit_support.R#76)  ────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. hdf5r:::convertRoundTrip(dbl_vec, dtype_uint64, flags = h5const$H5TOR_CONV_NONE)
   2. hdf5r:::H5ToR_Pre(dtype, nelem)
  
  ── 3. Error: Convert H5T_FLOAT works (@test-convert.R#33)  ─────────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. hdf5r:::convertRoundTrip(Robj, dtype_double)
   2. hdf5r:::H5ToR_Pre(dtype, nelem)
  
  ── 4. Error: Convert H5T_INTEGER works (@test-convert.R#77)  ───────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. hdf5r:::convertRoundTrip(robj_double, dtype_uint64)
   2. hdf5r:::H5ToR_Pre(dtype, nelem)
  
  ── 5. Error: Convert H5T_ENUM works (@test-convert.R#131)  ─────────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. hdf5r:::convertRoundTrip(obj_logical, enum_logical)
   2. hdf5r:::H5ToR_Pre(dtype, nelem)
  
  ── 6. Error: Convert H5T_STRING works (@test-convert.R#171)  ───────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. hdf5r:::convertRoundTrip(string.utf8, dtype_string_unknown)
   2. hdf5r:::H5ToR_Pre(dtype, nelem)
  
  ── 7. Error: Convert R_Complex works (@test-convert.R#222)  ────────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. hdf5r:::convertRoundTrip(r_cmplx, dtype_complex)
   2. hdf5r:::H5ToR_Pre(dtype, nelem)
  
  ── 8. Error: Convert H5T_COMPOUND works (@test-convert.R#235)  ─────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. hdf5r:::convertRoundTrip(test_frame, dtype_cpd)
   2. hdf5r:::H5ToR_Pre(dtype, nelem)
  
  ── 9. Error: Convert H5T_ARRAY works (@test-convert.R#246)  ────────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. hdf5r:::convertRoundTrip(test_data, dtype_array, nelem = 20)
   2. hdf5r:::H5ToR_Pre(dtype, nelem)
  
  ── 10. Error: Convert H5T_VLEN works (@test-convert.R#256)  ────────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. hdf5r:::convertRoundTrip(test_data, dtype_vlen)
   2. hdf5r:::H5ToR_Pre(dtype, nelem)
  
  ── 11. Error: Logical with and without NA (@test-convert.R#379)  ───────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. hdf5r:::convertRoundTrip(logical_noNA, dtype_logical_noNA)
   2. hdf5r:::H5ToR_Pre(dtype, nelem)
  
  ── 12. Error: Basic dataset function (@test-h5a.R#42)  ─────────────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. hdf5r:::read_write_roundtrip(attr_int64, 1:20)
   2. h5attr$read()
   3. hdf5r:::H5ToR_Pre(mem_type, nelem)
  
  ── 13. Error: Creating attributes of different types (@test-h5a.R#151)  ────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. hdf5r:::read_write_roundtrip(attr_int32, 1:20)
   2. h5attr$read()
   3. hdf5r:::H5ToR_Pre(mem_type, nelem)
  
  ── 14. Error: Basic dataset function (@test-h5d.R#49)  ─────────────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. hdf5r:::read_write_roundtrip(ds_int64_chunked, 1:20)
   2. ds$read()
   3. self$read_low_level(...)
  
  ── 15. Error: Creating datasets of different types (@test-h5d.R#136)  ──────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. hdf5r:::read_write_roundtrip(ds_int32, 1:20)
   2. ds$read()
   3. self$read_low_level(...)
  
  ── 16. Error: H5P_DATASET_CREATE works (@test-h5p.R#80)  ───────────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_equal(h5p_obj$get_fill_value(dtype_int), 1)
   4. h5p_obj$get_fill_value(dtype_int)
   5. hdf5r:::H5ToR_Pre(dtype, 1)
  
  ── 17. Failure: native datatypes (@test-h5t.R#120)  ────────────────────────────
  cpd_test_native_c$equal(cpd_native_c) isn't true.
  
  ── 18. Failure: native datatypes (@test-h5t.R#121)  ────────────────────────────
  cpd_test_native_c$describe() not equal to cpd_native_c$describe().
  Component "size": Mean relative difference: 0.1428571
  
  ── 19. Error: Names and [[ (@test-high_level_UI.R#61)  ─────────────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_equal(file.h5[["test_dataset2"]]$read(), robj)
   4. file.h5[["test_dataset2"]]$read()
   5. self$read_low_level(...)
  
  ── 20. Error: subset_h5.H5D (@test-high_level_UI.R#269)  ───────────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_equal(test[ind1, ind2], robj[ind1, ind2])
   5. hdf5r:::`[.H5D`(test, ind1, ind2)
   6. x$read(...)
   7. self$read_low_level(...)
  
  ── 21. Error: attributes (@test-high_level_UI.R#343)  ──────────────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. hdf5r::h5attributes(file.h5)
   2. attr_obj$read()
   3. hdf5r:::H5ToR_Pre(mem_type, nelem)
  
  ── 22. Error: Subsetting dimensions, drop and write (@test-high_level_UI.R#368) 
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_equal(ex_arr_ds[2, , ], ex_array[2, , ])
   5. hdf5r:::`[.H5D`(ex_arr_ds, 2, , )
   6. x$read(...)
   7. self$read_low_level(...)
  
  ── 23. Error: Create and dereference references; save in a dataset (@test-refere
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. ds_ref_1$dereference(get_value = TRUE)
   2. obj_ds$read_low_level(...)
  
  ── 24. Error: Attribute-Errors (@test-zzz-Attribute.R#57)  ─────────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_that(...)
   6. hdf5r::h5attr(file, "test")
   7. attr_obj$read()
   8. hdf5r:::H5ToR_Pre(mem_type, nelem)
  
  ── 25. Error: Attribute-H5Type-File (@test-zzz-Attribute.R#106)  ───────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_that(h5attr(file, aname), is_identical_to(testall[[i]]))
   6. hdf5r::h5attr(file, aname)
   7. attr_obj$read()
   8. hdf5r:::H5ToR_Pre(mem_type, nelem)
  
  ── 26. Error: Attribute-Bug-Scalar-Issue09 (@test-zzz-Attribute.R#183)  ────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_that(...)
   7. hdf5r::h5attr(file[["floats"]], "scalar")
   8. attr_obj$read()
   9. hdf5r:::H5ToR_Pre(mem_type, nelem)
  
  ── 27. Error: DataSet-Vector-NA (@test-zzz-DataSet-IO-NA.R#40)  ────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. hdf5r::readDataSet(dset11)
   2. object$read()
   3. self$read_low_level(...)
  
  ── 28. Error: DataSet-Vector (@test-zzz-DataSet-IO.R#36)  ──────────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. hdf5r::readDataSet(dset11)
   2. object$read()
   3. self$read_low_level(...)
  
  ── 29. Error: DataSet-Vector-boundaries (@test-zzz-DataSet-IO.R#105)  ──────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. hdf5r::readDataSet(dset1)
   2. object$read()
   3. self$read_low_level(...)
  
  ── 30. Error: datatypes-Matrix (@test-zzz-DataSet-IO.R#158)  ───────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. hdf5r::readDataSet(dset11)
   2. object$read()
   3. self$read_low_level(...)
  
  ── 31. Error: datatypes-Array (@test-zzz-DataSet-IO.R#223)  ────────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. hdf5r::readDataSet(dset11)
   2. object$read()
   3. self$read_low_level(...)
  
  ── 32. Error: datatypes-Array-BugWithASCII (@test-zzz-DataSet-IO.R#271)  ───────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_that(file[["test/ascii"]][], is_identical_to(varlength))
   7. hdf5r:::`[.H5D`(file[["test/ascii"]], )
   8. x$read(...)
   9. self$read_low_level(...)
  
  ── 33. Error: DataSet-Select-Subset-vector-read (@test-zzz-DataSet-Select-Subset
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. dset1[1:dset1$dims]
   2. hdf5r:::`[.H5D`(dset1, 1:dset1$dims)
   3. x$read(...)
   4. self$read_low_level(...)
  
  ── 34. Error: DataSet-Select-Subset-read-string (@test-zzz-DataSet-Select-Subset
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_that(testvec[1:3], is_identical_to(LETTERS[1:3]))
   7. hdf5r:::`[.H5D`(testvec, 1:3)
   8. x$read(...)
   9. self$read_low_level(...)
  
  ── 35. Error: DataSet-Select-Subset-read-string-fixed (@test-zzz-DataSet-Select-
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_that(testvec[1:3], is_identical_to(LETTERS[1:3]))
   7. hdf5r:::`[.H5D`(testvec, 1:3)
   8. x$read(...)
   9. self$read_low_level(...)
  
  ── 36. Error: DataSet-Select-Subset-vector-write (@test-zzz-DataSet-Select-Subse
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. dset1[]
   2. hdf5r:::`[.H5D`(dset1, )
   3. x$read(...)
   4. self$read_low_level(...)
  
  ── 37. Error: DataSet-Select-Subset-matrix-read (@test-zzz-DataSet-Select-Subset
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_that(readDataSet(dset1), is_identical_to(testmat_n))
   6. hdf5r::readDataSet(dset1)
   7. object$read()
   8. self$read_low_level(...)
  
  ── 38. Error: DataSet-Select-Subset-matrix-write (@test-zzz-DataSet-Select-Subse
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_that(dset2[2, 2], is_identical_to(-2L))
   7. hdf5r:::`[.H5D`(dset2, 2, 2)
   8. x$read(...)
   9. self$read_low_level(...)
  
  ── 39. Error: DataSet-Select-Subset-array-read (@test-zzz-DataSet-Select-Subset.
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_that(readDataSet(dset1), is_identical_to(testmat_n))
   6. hdf5r::readDataSet(dset1)
   7. object$read()
   8. self$read_low_level(...)
  
  ── 40. Error: DataSet-Select-Subset-array-write (@test-zzz-DataSet-Select-Subset
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_that(dset2[2, 2, 2], is_identical_to(-2L))
   7. hdf5r:::`[.H5D`(dset2, 2, 2, 2)
   8. x$read(...)
   9. self$read_low_level(...)
  
  ── 41. Error: DataSet-extend (@test-zzz-DataSet-extend.R#43)  ──────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_equal(readDataSet(dset2), testmat)
   4. hdf5r::readDataSet(dset2)
   5. object$read()
   6. self$read_low_level(...)
  
  ── 42. Error: DataSet-extend-matrix-rbind (@test-zzz-DataSet-extend.R#75)  ─────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_that(...)
   6. hdf5r::readDataSet(dset1)
   7. object$read()
   8. self$read_low_level(...)
  
  ── 43. Error: DataSet-extend-matrix-cbind (@test-zzz-DataSet-extend.R#110)  ────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_that(...)
   6. hdf5r::readDataSet(dset1)
   7. object$read()
   8. self$read_low_level(...)
  
  ── 44. Error: DataSet-extend-vector-c (@test-zzz-DataSet-extend.R#137)  ────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_that(readDataSet(dset1), is_identical_to(testmat_n_extend))
   6. hdf5r::readDataSet(dset1)
   7. object$read()
   8. self$read_low_level(...)
  
  ── 45. Error: datatypes-Array-BugWithScalar (@test-zzz-DataSet-scalar.R#9)  ────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. dset[]
   2. hdf5r:::`[.H5D`(dset, )
   3. x$read(...)
   4. self$read_low_level(...)
  
  ── 46. Error: DataSet-list-dataset-link (@test-zzz-DataSet.R#182)  ─────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_that(file[["hardlink/test2"]][], is_identical_to(1:3))
   7. hdf5r:::`[.H5D`(file[["hardlink/test2"]], )
   8. x$read(...)
   9. self$read_low_level(...)
  
  ── 47. Error: DataSet-Bug-F32-Issue10 (@test-zzz-DataSet.R#203)  ───────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_that(...)
   7. hdf5r:::`[.H5D`(file[["floats"]], )
   8. x$read(...)
   9. self$read_low_level(...)
  
  ── 48. Error: H5File-Subset-DataSet (@test-zzz-H5File-Subset.R#58)  ────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_that(readDataSet(dset), is_identical_to(1:10))
   6. hdf5r::readDataSet(dset)
   7. object$read()
   8. self$read_low_level(...)
  
  ── 49. Error: CommonFG-unlink (@test-zzz-H5Group.R#216)  ───────────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_that(file[["testgroup/testset"]][], is_identical_to(5:6))
   7. hdf5r:::`[.H5D`(file[["testgroup/testset"]], )
   8. x$read(...)
   9. self$read_low_level(...)
  
  ── 50. Error: datatypes-IO (@test-zzz-io.R#20)  ────────────────────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. hdf5r::readDataSet(dset)
   2. object$read()
   3. self$read_low_level(...)
  
  ── 51. Error: DataSet-VLEN-Vector (@test-zzz-vlen.R#69)  ───────────────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. testthat::expect_that(testlist_n_in[], is_identical_to(testlist_n))
   7. hdf5r:::`[.H5D`(testlist_n_in, )
   8. x$read(...)
   9. self$read_low_level(...)
  
  ── 52. Error: DataSet-VLEN-Vector-Attribute (@test-zzz-vlen.R#117)  ────────────
  HDF5-API H5T.c in H5Tget_class(): line 1876: not a datatype
          class: HDF5
          major: Invalid arguments to routine
          minor: Inappropriate type
  Backtrace:
   1. hdf5r::h5attr(testgroup, "testlist_n")
   2. attr_obj$read()
   3. hdf5r:::H5ToR_Pre(mem_type, nelem)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 456 | SKIPPED: 3 | WARNINGS: 0 | FAILED: 52 ]
  1. Error: Dataset with more than 2^31 rows (@test-64bit_support.R#43) 
  2. Error: Datatype conversion with 64bit (@test-64bit_support.R#76) 
  3. Error: Convert H5T_FLOAT works (@test-convert.R#33) 
  4. Error: Convert H5T_INTEGER works (@test-convert.R#77) 
  5. Error: Convert H5T_ENUM works (@test-convert.R#131) 
  6. Error: Convert H5T_STRING works (@test-convert.R#171) 
  7. Error: Convert R_Complex works (@test-convert.R#222) 
  8. Error: Convert H5T_COMPOUND works (@test-convert.R#235) 
  9. Error: Convert H5T_ARRAY works (@test-convert.R#246) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted