grimbough / rhdf5

Package providing an interface between HDF5 and R
http://bioconductor.org/packages/rhdf5
59 stars 22 forks source link

test fails on s390x: 64-bit integer attributes are not read correctly #138

Open tillea opened 6 months ago

tillea commented 6 months ago

Hi, admittedly s390x is an architecture that will probably not run rhdf5 in practical cases. Anyway, the Debian package is built and tested as any other Debian package on this architecture and the test suite has uncovered an issue that might be worth investigating: Here you can see the full build log featuring all versions of packages that are used. The actual error is:

...
`actual`:   FALSE
`expected`: TRUE  
── Failure ('test_h5writeAttributes.R:65:5'): Adding attribute to group ────────
attr_back$char_attr[1] inherits from `'NULL'` not `'character'`.
── Failure ('test_h5writeAttributes.R:66:5'): Adding attribute to group ────────
attr_back$int_attr[1] inherits from `'NULL'` not `'character'`.
── Failure ('test_h5writeAttributes.R:67:5'): Adding attribute to group ────────
attr_back$numeric_attr[1] inherits from `'NULL'` not `'character'`.
── Failure ('test_h5writeAttributes.R:93:5'): Adding attribute to dataset ──────
`attr_back` has length 0, not length 4.
── Failure ('test_h5writeAttributes.R:95:5'): Adding attribute to dataset ──────
attr_back$char_attr[1] inherits from `'NULL'` not `'character'`.
── Failure ('test_h5writeAttributes.R:96:5'): Adding attribute to dataset ──────
attr_back$int_attr[1] inherits from `'NULL'` not `'character'`.
── Failure ('test_h5writeAttributes.R:97:5'): Adding attribute to dataset ──────
attr_back$numeric_attr[1] inherits from `'NULL'` not `'character'`.
── Failure ('test_h5writeAttributes.R:130:5'): Checking other string options when adding attributes ──
`attr_back` has length 0, not length 4.
── Failure ('test_h5writeAttributes.R:133:5'): Checking other string options when adding attributes ──
sort(expected) not identical to sort(names(attr_back)).
Types not compatible: character is not NULL
── Failure ('test_h5writeAttributes.R:134:5'): Checking other string options when adding attributes ──
unname(unlist(attr_back[expected])) not identical to c("blah", "blah2", "blah3", "blah4").
target is NULL, current is character
── Failure ('test_h5writeAttributes.R:149:5'): Overwrite exisiting attribute ───
attr_list$char_attr[1] not identical to "new_character".
target is NULL, current is character

[ FAIL 39 | WARN 0 | SKIP 4 | PASS 1033 ]

Kind regards, Andreas.