test_that("dtypes cannot out of range", { expect_error({ blosc_compress(volcano, typesize = 256L) }) }) test_that("dtypes should match typesize", { expect_error({ blosc_compress(volcano, typesize = 2L, dtype = "