dipterix / lazyarray

Dev repository for R package lazyarray: A lightning tool to lazy load Giga-Byte-level data into memory
19 stars 0 forks source link

Some test errors on PowerPC [ FAIL 81 | WARN 2 | SKIP 2 | PASS 736 ] #4

Open barracuda156 opened 1 year ago

barracuda156 commented 1 year ago
R version 4.3.1 (2023-06-16) -- "Beagle Scouts"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: powerpc-apple-darwin10.0.0d2 (32-bit)

> library(testthat)
> library(lazyarray)
> 
> test_check("lazyarray")
[ FAIL 81 | WARN 2 | SKIP 2 | PASS 736 ]

══ Skipped tests (2) ═══════════════════════════════════════════════════════════
• No partition is not supported anymore (1): 'test.setget.R:95:3'
• mode = 2 is not supported anymore (1): 'test.setget.R:5:3'

══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-cpp_io2.R:171:3'): Loader2 no sub-blocks ─────────────────────
`re` not equivalent to `cp`.
20/60 mismatches (average diff: NaN)
[11] NA - 201 == NA
[12] NA - 202 == NA
[13] NA - 203 == NA
[14] NA - 204 == NA
[15] NA - 205 == NA
[16] NA - 206 == NA
[17] NA - 207 == NA
[18] NA - 208 == NA
[19] NA - 209 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1) at test-cpp_io2.R:171:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:88:2
── Failure ('test-cpp_io2.R:171:3'): Loader2 no sub-blocks ─────────────────────
`re` not equivalent to `cp`.
100/300 mismatches (average diff: NaN)
[2]  NA -  11 == NA
[6]  NA -   1 == NA
[8]  NA - 211 == NA
[12] NA - 201 == NA
[14] NA - 411 == NA
[18] NA - 401 == NA
[20] NA - 611 == NA
[24] NA - 601 == NA
[26] NA - 811 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1) at test-cpp_io2.R:171:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:93:2
── Failure ('test-cpp_io2.R:171:3'): Loader2 no sub-blocks ─────────────────────
`re` not equivalent to `cp`.
40/120 mismatches (average diff: NaN)
[2]  NA - 201 == NA
[4]  NA - 211 == NA
[6]  NA - 221 == NA
[8]  NA - 231 == NA
[10] NA - 241 == NA
[12] NA - 251 == NA
[14] NA - 261 == NA
[16] NA - 271 == NA
[18] NA - 281 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1) at test-cpp_io2.R:171:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:98:2
── Failure ('test-cpp_io2.R:171:3'): Loader2 no sub-blocks ─────────────────────
`re` not equivalent to `cp`.
20/60 mismatches (average diff: NaN)
[11] NA - 201 == NA
[12] NA - 202 == NA
[13] NA - 203 == NA
[14] NA - 204 == NA
[15] NA - 205 == NA
[16] NA - 206 == NA
[17] NA - 207 == NA
[18] NA - 208 == NA
[19] NA - 209 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1) at test-cpp_io2.R:171:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:109:2
── Failure ('test-cpp_io2.R:171:3'): Loader2 no sub-blocks ─────────────────────
`re` not equivalent to `cp`.
10/20 mismatches (average diff: NaN)
[11] NA - 401 == NA
[12] NA - 402 == NA
[13] NA - 403 == NA
[14] NA - 404 == NA
[15] NA - 405 == NA
[16] NA - 406 == NA
[17] NA - 407 == NA
[18] NA - 408 == NA
[19] NA - 409 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1) at test-cpp_io2.R:171:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:113:2
── Failure ('test-cpp_io2.R:171:3'): Loader2 no sub-blocks ─────────────────────
as.vector(re) not equivalent to as.vector(cp).
20/60 mismatches (average diff: NaN)
[11] NA - 201 == NA
[12] NA - 202 == NA
[13] NA - 203 == NA
[14] NA - 204 == NA
[15] NA - 205 == NA
[16] NA - 206 == NA
[17] NA - 207 == NA
[18] NA - 208 == NA
[19] NA - 209 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1) at test-cpp_io2.R:171:2
 2.   └─testthat::expect_equivalent(as.vector(re), as.vector(cp)) at test-cpp_io2.R:119:2
── Failure ('test-cpp_io2.R:171:3'): Loader2 no sub-blocks ─────────────────────
`re` not equivalent to `cp`.
900/1350 mismatches (average diff: NaN)
[1] NA - 12 == NA
[2] NA - 13 == NA
[3] NA - 14 == NA
[4] NA - 15 == NA
[5] NA - 16 == NA
[6] NA - 17 == NA
[7] NA - 18 == NA
[8] NA - 19 == NA
[9] NA - 20 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1) at test-cpp_io2.R:171:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:132:2
── Failure ('test-cpp_io2.R:171:3'): Loader2 no sub-blocks ─────────────────────
`re` not equivalent to `cp`.
960/1920 mismatches (average diff: NaN)
[2]  NA - 401 == NA
[4]  NA - 411 == NA
[6]  NA - 421 == NA
[8]  NA - 431 == NA
[10] NA - 441 == NA
[12] NA - 451 == NA
[14] NA - 461 == NA
[16] NA - 471 == NA
[18] NA - 481 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1) at test-cpp_io2.R:171:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:137:2
── Failure ('test-cpp_io2.R:172:3'): Loader2 no sub-blocks ─────────────────────
`re` not equivalent to `cp`.
20/60 mismatches (average diff: NaN)
[11] NA - 201 == NA
[12] NA - 202 == NA
[13] NA - 203 == NA
[14] NA - 204 == NA
[15] NA - 205 == NA
[16] NA - 206 == NA
[17] NA - 207 == NA
[18] NA - 208 == NA
[19] NA - 209 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L) at test-cpp_io2.R:172:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:88:2
── Failure ('test-cpp_io2.R:172:3'): Loader2 no sub-blocks ─────────────────────
`re` not equivalent to `cp`.
100/300 mismatches (average diff: NaN)
[2]  NA -  11 == NA
[6]  NA -   1 == NA
[8]  NA - 211 == NA
[12] NA - 201 == NA
[14] NA - 411 == NA
[18] NA - 401 == NA
[20] NA - 611 == NA
[24] NA - 601 == NA
[26] NA - 811 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L) at test-cpp_io2.R:172:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:93:2
── Failure ('test-cpp_io2.R:172:3'): Loader2 no sub-blocks ─────────────────────
`re` not equivalent to `cp`.
40/120 mismatches (average diff: NaN)
[2]  NA - 201 == NA
[4]  NA - 211 == NA
[6]  NA - 221 == NA
[8]  NA - 231 == NA
[10] NA - 241 == NA
[12] NA - 251 == NA
[14] NA - 261 == NA
[16] NA - 271 == NA
[18] NA - 281 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L) at test-cpp_io2.R:172:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:98:2
── Failure ('test-cpp_io2.R:172:3'): Loader2 no sub-blocks ─────────────────────
`re` not equivalent to `cp`.
20/60 mismatches (average diff: NaN)
[11] NA - 201 == NA
[12] NA - 202 == NA
[13] NA - 203 == NA
[14] NA - 204 == NA
[15] NA - 205 == NA
[16] NA - 206 == NA
[17] NA - 207 == NA
[18] NA - 208 == NA
[19] NA - 209 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L) at test-cpp_io2.R:172:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:109:2
── Failure ('test-cpp_io2.R:172:3'): Loader2 no sub-blocks ─────────────────────
`re` not equivalent to `cp`.
10/20 mismatches (average diff: NaN)
[11] NA - 401 == NA
[12] NA - 402 == NA
[13] NA - 403 == NA
[14] NA - 404 == NA
[15] NA - 405 == NA
[16] NA - 406 == NA
[17] NA - 407 == NA
[18] NA - 408 == NA
[19] NA - 409 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L) at test-cpp_io2.R:172:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:113:2
── Failure ('test-cpp_io2.R:172:3'): Loader2 no sub-blocks ─────────────────────
as.vector(re) not equivalent to as.vector(cp).
20/60 mismatches (average diff: NaN)
[11] NA - 201 == NA
[12] NA - 202 == NA
[13] NA - 203 == NA
[14] NA - 204 == NA
[15] NA - 205 == NA
[16] NA - 206 == NA
[17] NA - 207 == NA
[18] NA - 208 == NA
[19] NA - 209 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L) at test-cpp_io2.R:172:2
 2.   └─testthat::expect_equivalent(as.vector(re), as.vector(cp)) at test-cpp_io2.R:119:2
── Failure ('test-cpp_io2.R:172:3'): Loader2 no sub-blocks ─────────────────────
`re` not equivalent to `cp`.
900/1350 mismatches (average diff: NaN)
[1] NA - 12 == NA
[2] NA - 13 == NA
[3] NA - 14 == NA
[4] NA - 15 == NA
[5] NA - 16 == NA
[6] NA - 17 == NA
[7] NA - 18 == NA
[8] NA - 19 == NA
[9] NA - 20 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L) at test-cpp_io2.R:172:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:132:2
── Failure ('test-cpp_io2.R:172:3'): Loader2 no sub-blocks ─────────────────────
`re` not equivalent to `cp`.
960/1920 mismatches (average diff: NaN)
[2]  NA - 401 == NA
[4]  NA - 411 == NA
[6]  NA - 421 == NA
[8]  NA - 431 == NA
[10] NA - 441 == NA
[12] NA - 451 == NA
[14] NA - 461 == NA
[16] NA - 471 == NA
[18] NA - 481 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L) at test-cpp_io2.R:172:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:137:2
── Error ('test-cpp_io2.R:181:3'): Loader2 sub-blocks ──────────────────────────
Error in `lazyarray:::subsetFST(a$storage_path, environment(), dim, getSexpType(samp), 
    reshape, drop)`: VECTOR_ELT() can only be applied to a 'list', not a 'character'
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1) at test-cpp_io2.R:181:2
 2.   └─lazyarray (local) loader_double(, c(NA, 1:0), c(2, NA, 1)) at test-cpp_io2.R:86:2
 3.     └─lazyarray (local) loader_f(samp = samp_data, ..., reshape = reshape, drop = drop) at test-cpp_io2.R:22:63
 4.       └─lazyarray:::subsetFST(...) at test-cpp_io2.R:18:2
── Failure ('test-cpp_io2.R:205:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
10/60 mismatches (average diff: NaN)
[51] NA - 1 == NA
[52] NA - 2 == NA
[53] NA - 3 == NA
[54] NA - 4 == NA
[55] NA - 5 == NA
[56] NA - 6 == NA
[57] NA - 7 == NA
[58] NA - 8 == NA
[59] NA - 9 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1, x) at test-cpp_io2.R:205:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:88:2
── Failure ('test-cpp_io2.R:205:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
98/300 mismatches (average diff: NaN)
[2]  NA -   11 == NA
[6]  NA -    1 == NA
[14] NA -  411 == NA
[18] NA -  401 == NA
[20] NA -  611 == NA
[24] NA -  601 == NA
[26] NA -  811 == NA
[30] NA -  801 == NA
[32] NA - 1011 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1, x) at test-cpp_io2.R:205:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:93:2
── Failure ('test-cpp_io2.R:205:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
20/120 mismatches (average diff: NaN)
[82] NA -  1 == NA
[84] NA - 11 == NA
[86] NA - 21 == NA
[88] NA - 31 == NA
[90] NA - 41 == NA
[92] NA - 51 == NA
[94] NA - 61 == NA
[96] NA - 71 == NA
[98] NA - 81 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1, x) at test-cpp_io2.R:205:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:98:2
── Failure ('test-cpp_io2.R:205:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
10/60 mismatches (average diff: NaN)
[51] NA - 1 == NA
[52] NA - 2 == NA
[53] NA - 3 == NA
[54] NA - 4 == NA
[55] NA - 5 == NA
[56] NA - 6 == NA
[57] NA - 7 == NA
[58] NA - 8 == NA
[59] NA - 9 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1, x) at test-cpp_io2.R:205:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:109:2
── Failure ('test-cpp_io2.R:205:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
10/20 mismatches (average diff: NaN)
[11] NA - 401 == NA
[12] NA - 402 == NA
[13] NA - 403 == NA
[14] NA - 404 == NA
[15] NA - 405 == NA
[16] NA - 406 == NA
[17] NA - 407 == NA
[18] NA - 408 == NA
[19] NA - 409 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1, x) at test-cpp_io2.R:205:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:113:2
── Failure ('test-cpp_io2.R:205:3'): Loader2 with NAs ──────────────────────────
as.vector(re) not equivalent to as.vector(cp).
10/60 mismatches (average diff: NaN)
[51] NA - 1 == NA
[52] NA - 2 == NA
[53] NA - 3 == NA
[54] NA - 4 == NA
[55] NA - 5 == NA
[56] NA - 6 == NA
[57] NA - 7 == NA
[58] NA - 8 == NA
[59] NA - 9 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1, x) at test-cpp_io2.R:205:2
 2.   └─testthat::expect_equivalent(as.vector(re), as.vector(cp)) at test-cpp_io2.R:119:2
── Failure ('test-cpp_io2.R:205:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
882/1350 mismatches (average diff: NaN)
[1] NA - 12 == NA
[2] NA - 13 == NA
[3] NA - 14 == NA
[4] NA - 15 == NA
[5] NA - 16 == NA
[6] NA - 17 == NA
[7] NA - 18 == NA
[8] NA - 19 == NA
[9] NA - 20 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1, x) at test-cpp_io2.R:205:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:132:2
── Failure ('test-cpp_io2.R:205:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
960/1920 mismatches (average diff: NaN)
[2]  NA - 401 == NA
[4]  NA - 411 == NA
[6]  NA - 421 == NA
[8]  NA - 431 == NA
[10] NA - 441 == NA
[12] NA - 451 == NA
[14] NA - 461 == NA
[16] NA - 471 == NA
[18] NA - 481 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1, x) at test-cpp_io2.R:205:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:137:2
── Failure ('test-cpp_io2.R:206:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
10/60 mismatches (average diff: NaN)
[51] NA - 1 == NA
[52] NA - 2 == NA
[53] NA - 3 == NA
[54] NA - 4 == NA
[55] NA - 5 == NA
[56] NA - 6 == NA
[57] NA - 7 == NA
[58] NA - 8 == NA
[59] NA - 9 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L, x) at test-cpp_io2.R:206:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:88:2
── Failure ('test-cpp_io2.R:206:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
98/300 mismatches (average diff: NaN)
[2]  NA -   11 == NA
[6]  NA -    1 == NA
[14] NA -  411 == NA
[18] NA -  401 == NA
[20] NA -  611 == NA
[24] NA -  601 == NA
[26] NA -  811 == NA
[30] NA -  801 == NA
[32] NA - 1011 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L, x) at test-cpp_io2.R:206:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:93:2
── Failure ('test-cpp_io2.R:206:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
20/120 mismatches (average diff: NaN)
[82] NA -  1 == NA
[84] NA - 11 == NA
[86] NA - 21 == NA
[88] NA - 31 == NA
[90] NA - 41 == NA
[92] NA - 51 == NA
[94] NA - 61 == NA
[96] NA - 71 == NA
[98] NA - 81 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L, x) at test-cpp_io2.R:206:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:98:2
── Failure ('test-cpp_io2.R:206:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
10/60 mismatches (average diff: NaN)
[51] NA - 1 == NA
[52] NA - 2 == NA
[53] NA - 3 == NA
[54] NA - 4 == NA
[55] NA - 5 == NA
[56] NA - 6 == NA
[57] NA - 7 == NA
[58] NA - 8 == NA
[59] NA - 9 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L, x) at test-cpp_io2.R:206:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:109:2
── Failure ('test-cpp_io2.R:206:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
10/20 mismatches (average diff: NaN)
[11] NA - 401 == NA
[12] NA - 402 == NA
[13] NA - 403 == NA
[14] NA - 404 == NA
[15] NA - 405 == NA
[16] NA - 406 == NA
[17] NA - 407 == NA
[18] NA - 408 == NA
[19] NA - 409 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L, x) at test-cpp_io2.R:206:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:113:2
── Failure ('test-cpp_io2.R:206:3'): Loader2 with NAs ──────────────────────────
as.vector(re) not equivalent to as.vector(cp).
10/60 mismatches (average diff: NaN)
[51] NA - 1 == NA
[52] NA - 2 == NA
[53] NA - 3 == NA
[54] NA - 4 == NA
[55] NA - 5 == NA
[56] NA - 6 == NA
[57] NA - 7 == NA
[58] NA - 8 == NA
[59] NA - 9 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L, x) at test-cpp_io2.R:206:2
 2.   └─testthat::expect_equivalent(as.vector(re), as.vector(cp)) at test-cpp_io2.R:119:2
── Failure ('test-cpp_io2.R:206:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
882/1350 mismatches (average diff: NaN)
[1] NA - 12 == NA
[2] NA - 13 == NA
[3] NA - 14 == NA
[4] NA - 15 == NA
[5] NA - 16 == NA
[6] NA - 17 == NA
[7] NA - 18 == NA
[8] NA - 19 == NA
[9] NA - 20 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L, x) at test-cpp_io2.R:206:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:132:2
── Failure ('test-cpp_io2.R:206:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
960/1920 mismatches (average diff: NaN)
[2]  NA - 401 == NA
[4]  NA - 411 == NA
[6]  NA - 421 == NA
[8]  NA - 431 == NA
[10] NA - 441 == NA
[12] NA - 451 == NA
[14] NA - 461 == NA
[16] NA - 471 == NA
[18] NA - 481 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L, x) at test-cpp_io2.R:206:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:137:2
── Failure ('test-cpp_io2.R:212:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
10/60 mismatches (average diff: NaN)
[51] NA - 1 == NA
[52] NA - 2 == NA
[53] NA - 3 == NA
[54] NA - 4 == NA
[55] NA - 5 == NA
[56] NA - 6 == NA
[57] NA - 7 == NA
[58] NA - 8 == NA
[59] NA - 9 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1, x) at test-cpp_io2.R:212:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:88:2
── Failure ('test-cpp_io2.R:212:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
98/300 mismatches (average diff: NaN)
[2]  NA -   11 == NA
[6]  NA -    1 == NA
[14] NA -  411 == NA
[18] NA -  401 == NA
[20] NA -  611 == NA
[24] NA -  601 == NA
[26] NA -  811 == NA
[30] NA -  801 == NA
[32] NA - 1011 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1, x) at test-cpp_io2.R:212:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:93:2
── Failure ('test-cpp_io2.R:212:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
20/120 mismatches (average diff: NaN)
[82] NA -  1 == NA
[84] NA - 11 == NA
[86] NA - 21 == NA
[88] NA - 31 == NA
[90] NA - 41 == NA
[92] NA - 51 == NA
[94] NA - 61 == NA
[96] NA - 71 == NA
[98] NA - 81 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1, x) at test-cpp_io2.R:212:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:98:2
── Failure ('test-cpp_io2.R:212:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
10/60 mismatches (average diff: NaN)
[51] NA - 1 == NA
[52] NA - 2 == NA
[53] NA - 3 == NA
[54] NA - 4 == NA
[55] NA - 5 == NA
[56] NA - 6 == NA
[57] NA - 7 == NA
[58] NA - 8 == NA
[59] NA - 9 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1, x) at test-cpp_io2.R:212:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:109:2
── Failure ('test-cpp_io2.R:212:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
10/20 mismatches (average diff: NaN)
[11] NA - 401 == NA
[12] NA - 402 == NA
[13] NA - 403 == NA
[14] NA - 404 == NA
[15] NA - 405 == NA
[16] NA - 406 == NA
[17] NA - 407 == NA
[18] NA - 408 == NA
[19] NA - 409 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1, x) at test-cpp_io2.R:212:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:113:2
── Failure ('test-cpp_io2.R:212:3'): Loader2 with NAs ──────────────────────────
as.vector(re) not equivalent to as.vector(cp).
10/60 mismatches (average diff: NaN)
[51] NA - 1 == NA
[52] NA - 2 == NA
[53] NA - 3 == NA
[54] NA - 4 == NA
[55] NA - 5 == NA
[56] NA - 6 == NA
[57] NA - 7 == NA
[58] NA - 8 == NA
[59] NA - 9 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1, x) at test-cpp_io2.R:212:2
 2.   └─testthat::expect_equivalent(as.vector(re), as.vector(cp)) at test-cpp_io2.R:119:2
── Failure ('test-cpp_io2.R:212:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
882/1350 mismatches (average diff: NaN)
[1] NA - 12 == NA
[2] NA - 13 == NA
[3] NA - 14 == NA
[4] NA - 15 == NA
[5] NA - 16 == NA
[6] NA - 17 == NA
[7] NA - 18 == NA
[8] NA - 19 == NA
[9] NA - 20 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1, x) at test-cpp_io2.R:212:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:132:2
── Failure ('test-cpp_io2.R:212:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
960/1920 mismatches (average diff: NaN)
[2]  NA - 401 == NA
[4]  NA - 411 == NA
[6]  NA - 421 == NA
[8]  NA - 431 == NA
[10] NA - 441 == NA
[12] NA - 451 == NA
[14] NA - 461 == NA
[16] NA - 471 == NA
[18] NA - 481 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(0.1, x) at test-cpp_io2.R:212:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:137:2
── Failure ('test-cpp_io2.R:213:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
10/60 mismatches (average diff: NaN)
[51] NA - 1 == NA
[52] NA - 2 == NA
[53] NA - 3 == NA
[54] NA - 4 == NA
[55] NA - 5 == NA
[56] NA - 6 == NA
[57] NA - 7 == NA
[58] NA - 8 == NA
[59] NA - 9 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L, x) at test-cpp_io2.R:213:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:88:2
── Failure ('test-cpp_io2.R:213:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
98/300 mismatches (average diff: NaN)
[2]  NA -   11 == NA
[6]  NA -    1 == NA
[14] NA -  411 == NA
[18] NA -  401 == NA
[20] NA -  611 == NA
[24] NA -  601 == NA
[26] NA -  811 == NA
[30] NA -  801 == NA
[32] NA - 1011 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L, x) at test-cpp_io2.R:213:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:93:2
── Failure ('test-cpp_io2.R:213:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
20/120 mismatches (average diff: NaN)
[82] NA -  1 == NA
[84] NA - 11 == NA
[86] NA - 21 == NA
[88] NA - 31 == NA
[90] NA - 41 == NA
[92] NA - 51 == NA
[94] NA - 61 == NA
[96] NA - 71 == NA
[98] NA - 81 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L, x) at test-cpp_io2.R:213:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:98:2
── Failure ('test-cpp_io2.R:213:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
10/60 mismatches (average diff: NaN)
[51] NA - 1 == NA
[52] NA - 2 == NA
[53] NA - 3 == NA
[54] NA - 4 == NA
[55] NA - 5 == NA
[56] NA - 6 == NA
[57] NA - 7 == NA
[58] NA - 8 == NA
[59] NA - 9 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L, x) at test-cpp_io2.R:213:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:109:2
── Failure ('test-cpp_io2.R:213:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
10/20 mismatches (average diff: NaN)
[11] NA - 401 == NA
[12] NA - 402 == NA
[13] NA - 403 == NA
[14] NA - 404 == NA
[15] NA - 405 == NA
[16] NA - 406 == NA
[17] NA - 407 == NA
[18] NA - 408 == NA
[19] NA - 409 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L, x) at test-cpp_io2.R:213:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:113:2
── Failure ('test-cpp_io2.R:213:3'): Loader2 with NAs ──────────────────────────
as.vector(re) not equivalent to as.vector(cp).
10/60 mismatches (average diff: NaN)
[51] NA - 1 == NA
[52] NA - 2 == NA
[53] NA - 3 == NA
[54] NA - 4 == NA
[55] NA - 5 == NA
[56] NA - 6 == NA
[57] NA - 7 == NA
[58] NA - 8 == NA
[59] NA - 9 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L, x) at test-cpp_io2.R:213:2
 2.   └─testthat::expect_equivalent(as.vector(re), as.vector(cp)) at test-cpp_io2.R:119:2
── Failure ('test-cpp_io2.R:213:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
882/1350 mismatches (average diff: NaN)
[1] NA - 12 == NA
[2] NA - 13 == NA
[3] NA - 14 == NA
[4] NA - 15 == NA
[5] NA - 16 == NA
[6] NA - 17 == NA
[7] NA - 18 == NA
[8] NA - 19 == NA
[9] NA - 20 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L, x) at test-cpp_io2.R:213:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:132:2
── Failure ('test-cpp_io2.R:213:3'): Loader2 with NAs ──────────────────────────
`re` not equivalent to `cp`.
960/1920 mismatches (average diff: NaN)
[2]  NA - 401 == NA
[4]  NA - 411 == NA
[6]  NA - 421 == NA
[8]  NA - 431 == NA
[10] NA - 441 == NA
[12] NA - 451 == NA
[14] NA - 461 == NA
[16] NA - 471 == NA
[18] NA - 481 == NA
...
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(1L, x) at test-cpp_io2.R:213:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:137:2
── Failure ('test-cpp_io2.R:226:3'): Loader2 complex ───────────────────────────
`re` not equivalent to `cp`.
'is.NA' value mismatch: 40 in current 60 in target
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(x[[1]]) at test-cpp_io2.R:226:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:88:2
── Failure ('test-cpp_io2.R:226:3'): Loader2 complex ───────────────────────────
`re` not equivalent to `cp`.
'is.NA' value mismatch: 200 in current 300 in target
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(x[[1]]) at test-cpp_io2.R:226:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:93:2
── Failure ('test-cpp_io2.R:226:3'): Loader2 complex ───────────────────────────
`re` not equivalent to `cp`.
'is.NA' value mismatch: 80 in current 120 in target
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(x[[1]]) at test-cpp_io2.R:226:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:98:2
── Failure ('test-cpp_io2.R:226:3'): Loader2 complex ───────────────────────────
`re` not equivalent to `cp`.
'is.NA' value mismatch: 40 in current 60 in target
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(x[[1]]) at test-cpp_io2.R:226:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:109:2
── Failure ('test-cpp_io2.R:226:3'): Loader2 complex ───────────────────────────
`re` not equivalent to `cp`.
'is.NA' value mismatch: 10 in current 20 in target
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(x[[1]]) at test-cpp_io2.R:226:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:113:2
── Failure ('test-cpp_io2.R:226:3'): Loader2 complex ───────────────────────────
as.vector(re) not equivalent to as.vector(cp).
'is.NA' value mismatch: 40 in current 60 in target
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(x[[1]]) at test-cpp_io2.R:226:2
 2.   └─testthat::expect_equivalent(as.vector(re), as.vector(cp)) at test-cpp_io2.R:119:2
── Failure ('test-cpp_io2.R:226:3'): Loader2 complex ───────────────────────────
`re` not equivalent to `cp`.
'is.NA' value mismatch: 450 in current 1350 in target
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(x[[1]]) at test-cpp_io2.R:226:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:132:2
── Failure ('test-cpp_io2.R:226:3'): Loader2 complex ───────────────────────────
`re` not equivalent to `cp`.
'is.NA' value mismatch: 960 in current 1920 in target
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(x[[1]]) at test-cpp_io2.R:226:2
 2.   └─testthat::expect_equivalent(re, cp) at test-cpp_io2.R:137:2
── Error ('test-cpp_io2.R:229:3'): Loader2 complex ─────────────────────────────
Error in `lazyarray:::subsetFST(a$storage_path, environment(), dim, getSexpType(samp), 
    reshape, drop)`: VECTOR_ELT() can only be applied to a 'list', not a 'character'
Backtrace:
    ▆
 1. └─lazyarray (local) lazy_test_unit(x[[1]]) at test-cpp_io2.R:229:2
 2.   └─lazyarray (local) loader_double(, c(NA, 1:0), c(2, NA, 1)) at test-cpp_io2.R:86:2
 3.     └─lazyarray (local) loader_f(samp = samp_data, ..., reshape = reshape, drop = drop) at test-cpp_io2.R:22:63
 4.       └─lazyarray:::subsetFST(...) at test-cpp_io2.R:18:2
── Failure ('test-cpp_parseAndScheduleBlocks.R:122:3'): subset scheduler-NA & 0 cases ──
as.numeric(re$partition_index) not equal to `partition_index`.
2/9 mismatches (average diff: NaN)
[2] -9.22e+18 - NA == NA
[7] -9.22e+18 - NA == NA
Backtrace:
    ▆
 1. └─lazyarray (local) check_schedule(slice, dim) at test-cpp_parseAndScheduleBlocks.R:122:2
 2.   └─testthat::expect_equal(as.numeric(re$partition_index), partition_index) at test-cpp_parseAndScheduleBlocks.R:83:2
── Failure ('test-cpp_parseAndScheduleBlocks.R:124:3'): subset scheduler-NA & 0 cases ──
re$block_schedule_start not equal to min(block_schedule, na.rm = TRUE).
1/1 mismatches
[1] -9.22e+18 - 1 == -9.22e+18
Backtrace:
    ▆
 1. └─lazyarray (local) check_schedule(slice, dim) at test-cpp_parseAndScheduleBlocks.R:124:2
 2.   └─testthat::expect_equal(...) at test-cpp_parseAndScheduleBlocks.R:54:4
── Failure ('test-cpp_parseAndScheduleBlocks.R:124:3'): subset scheduler-NA & 0 cases ──
as.numeric(re$partition_index) not equal to `partition_index`.
2/9 mismatches (average diff: NaN)
[2] -9.22e+18 - NA == NA
[7] -9.22e+18 - NA == NA
Backtrace:
    ▆
 1. └─lazyarray (local) check_schedule(slice, dim) at test-cpp_parseAndScheduleBlocks.R:124:2
 2.   └─testthat::expect_equal(as.numeric(re$partition_index), partition_index) at test-cpp_parseAndScheduleBlocks.R:83:2
── Failure ('test-cpp_parseAndScheduleBlocks.R:126:3'): subset scheduler-NA & 0 cases ──
re$block_schedule_start not equal to min(block_schedule, na.rm = TRUE).
1/1 mismatches
[1] -9.22e+18 - 1 == -9.22e+18
Backtrace:
    ▆
 1. └─lazyarray (local) check_schedule(slice, dim) at test-cpp_parseAndScheduleBlocks.R:126:2
 2.   └─testthat::expect_equal(...) at test-cpp_parseAndScheduleBlocks.R:54:4
── Failure ('test-cpp_parseAndScheduleBlocks.R:126:3'): subset scheduler-NA & 0 cases ──
as.numeric(re$partition_index) not equal to `partition_index`.
2/9 mismatches (average diff: NaN)
[2] -9.22e+18 - NA == NA
[7] -9.22e+18 - NA == NA
Backtrace:
    ▆
 1. └─lazyarray (local) check_schedule(slice, dim) at test-cpp_parseAndScheduleBlocks.R:126:2
 2.   └─testthat::expect_equal(as.numeric(re$partition_index), partition_index) at test-cpp_parseAndScheduleBlocks.R:83:2
── Failure ('test-cpp_parseAndScheduleBlocks.R:128:3'): subset scheduler-NA & 0 cases ──
re$block_schedule_start not equal to min(block_schedule, na.rm = TRUE).
1/1 mismatches
[1] -9.22e+18 - 1 == -9.22e+18
Backtrace:
    ▆
 1. └─lazyarray (local) check_schedule(slice, dim) at test-cpp_parseAndScheduleBlocks.R:128:2
 2.   └─testthat::expect_equal(...) at test-cpp_parseAndScheduleBlocks.R:54:4
── Failure ('test-cpp_parseAndScheduleBlocks.R:128:3'): subset scheduler-NA & 0 cases ──
as.numeric(re$partition_index) not equal to `partition_index`.
2/9 mismatches (average diff: NaN)
[2] -9.22e+18 - NA == NA
[7] -9.22e+18 - NA == NA
Backtrace:
    ▆
 1. └─lazyarray (local) check_schedule(slice, dim) at test-cpp_parseAndScheduleBlocks.R:128:2
 2.   └─testthat::expect_equal(as.numeric(re$partition_index), partition_index) at test-cpp_parseAndScheduleBlocks.R:83:2
── Failure ('test-lazylm.R:47:3'): lazylm ──────────────────────────────────────
max(abs(coef(object) - coef(flm))) is not strictly less than 1e-07. Difference: NA
── Failure ('test-lazylm.R:48:3'): lazylm ──────────────────────────────────────
max(abs(resid(object) - resid(flm))) is not strictly less than 1e-07. Difference: NA
── Failure ('test-lazylm.R:49:3'): lazylm ──────────────────────────────────────
max(abs(fitted(object) - fitted(flm))) is not strictly less than 1e-07. Difference: NA
── Failure ('test-lazylm.R:54:3'): lazylm ──────────────────────────────────────
max(abs(s1$coefficients - s2$coefficients)) is not strictly less than 1e-07. Difference: NA
── Failure ('test-lazylm.R:56:3'): lazylm ──────────────────────────────────────
max(abs(s1$r.squared - s2$r.squared)) is not strictly less than 1e-07. Difference: NA
── Failure ('test-lazylm.R:57:3'): lazylm ──────────────────────────────────────
s1$df not equivalent to s2$df.
2/3 mismatches (average diff: 2.5)
[1]  2 -  4 == -2
[2] 16 - 13 ==  3
── Failure ('test-matmul.R:61:3'): multiplication works ────────────────────────
range(xy[] - xy0) not equal to c(0, 0).
2/2 mismatches (average diff: NaN)
[1] NaN - 0 == NaN
[2] NaN - 0 == NaN
── Failure ('test-subset.R:45:3'): Subset filearray ────────────────────────────
x[] not equal to `a`.
80/80 mismatches (average diff: 6.99e+303)
[1]  4.91e-283 -  0.8708 ==  -8.71e-01
[2] -6.78e+207 - -0.7020 == -6.78e+207
[3]   1.08e+21 - -0.0497 ==   1.08e+21
[4]  2.43e+183 -  0.1183 ==  2.43e+183
[5]  -4.92e-48 - -0.3946 ==   3.95e-01
[6] -2.63e+241 -  0.2961 == -2.63e+241
[7]  1.10e-281 -  0.5295 ==  -5.30e-01
[8]  5.70e-152 - -0.4267 ==   4.27e-01
[9]  -1.45e-06 -  0.7446 ==  -7.45e-01
...
── Failure ('test-subset.R:49:3'): Subset filearray ────────────────────────────
x[, i, , i] not equal to a[, i, , i].
16/64 mismatches (average diff: NaN)
[1]  NA - -0.168 == NA
[2]  NA - -0.819 == NA
[3]  NA - -0.378 == NA
[4]  NA - -0.754 == NA
[9]  NA -  1.522 == NA
[10] NA - -0.309 == NA
[11] NA - -1.188 == NA
[12] NA -  1.164 == NA
[17] NA -  0.530 == NA
...
── Failure ('test-subset.R:51:3'): Subset filearray ────────────────────────────
x[, , , -i] not equal to a[, , , -i[!is.na(i)]].
48/48 mismatches (average diff: 6.21e+302)
[1] -6.86e+219 -  0.10883 == -6.86e+219
[2]  -1.70e-51 -  1.54085 ==  -1.54e+00
[3] -2.12e-207 -  0.22926 ==  -2.29e-01
[4] -1.61e+219 -  0.00365 == -1.61e+219
[5]  3.03e+262 - -0.54863 ==  3.03e+262
[6]   6.78e-14 -  0.46139 ==  -4.61e-01
[7]  4.01e+208 -  0.52305 ==  4.01e+208
[8] -1.37e-104 -  1.86894 ==  -1.87e+00
[9]  3.13e+296 - -0.65207 ==  3.13e+296
...
── Failure ('test-subset.R:68:3'): Subset filearray ────────────────────────────
x[] not equal to `a`.
80/80 mismatches (average diff: 6.99e+303)
[1] -6.86e+219 -  0.10883 == -6.86e+219
[2]  -1.70e-51 -  1.54085 ==  -1.54e+00
[3] -2.12e-207 -  0.22926 ==  -2.29e-01
[4] -1.61e+219 -  0.00365 == -1.61e+219
[5]  3.03e+262 - -0.54863 ==  3.03e+262
[6]   6.78e-14 -  0.46139 ==  -4.61e-01
[7]  4.01e+208 -  0.52305 ==  4.01e+208
[8] -1.37e-104 -  1.86894 ==  -1.87e+00
[9]  3.13e+296 - -0.65207 ==  3.13e+296
...
── Failure ('test-subset.R:72:3'): Subset filearray ────────────────────────────
x[, , , i] not equal to a[, , , i].
48/80 mismatches (average diff: 1.17e+304)
[1] -6.86e+219 -  0.10883 == -6.86e+219
[2]  -1.70e-51 -  1.54085 ==  -1.54e+00
[3] -2.12e-207 -  0.22926 ==  -2.29e-01
[4] -1.61e+219 -  0.00365 == -1.61e+219
[5]  3.03e+262 - -0.54863 ==  3.03e+262
[6]   6.78e-14 -  0.46139 ==  -4.61e-01
[7]  4.01e+208 -  0.52305 ==  4.01e+208
[8] -1.37e-104 -  1.86894 ==  -1.87e+00
[9]  3.13e+296 - -0.65207 ==  3.13e+296
...
── Failure ('test-subset.R:74:3'): Subset filearray ────────────────────────────
x[, , , -i] not equal to a[, , , -i[!is.na(i)]].
32/32 mismatches (average diff: 9.79e+294)
[1] -6.86e+219 -  0.10883 == -6.86e+219
[2]  -1.70e-51 -  1.54085 ==  -1.54e+00
[3] -2.12e-207 -  0.22926 ==  -2.29e-01
[4] -1.61e+219 -  0.00365 == -1.61e+219
[5]  3.03e+262 - -0.54863 ==  3.03e+262
[6]   6.78e-14 -  0.46139 ==  -4.61e-01
[7]  4.01e+208 -  0.52305 ==  4.01e+208
[8] -1.37e-104 -  1.86894 ==  -1.87e+00
[9]  3.13e+296 - -0.65207 ==  3.13e+296
...
── Failure ('test-subset.R:78:3'): Subset filearray ────────────────────────────
x[, j, , -i] not equal to a[, j, , -i[!is.na(i)]].
16/16 mismatches (average diff: 3.91e+295)
[1] -6.86e+219 -  0.109 == -6.86e+219
[2]  -1.70e-51 -  1.541 ==  -1.54e+00
[3] -6.86e+219 -  0.109 == -6.86e+219
[4]  -1.70e-51 -  1.541 ==  -1.54e+00
[5]  3.13e+296 - -0.652 ==  3.13e+296
[6]  -5.13e-15 -  0.762 ==  -7.62e-01
[7]  3.13e+296 - -0.652 ==  3.13e+296
[8]  -5.13e-15 -  0.762 ==  -7.62e-01
[9]  2.87e-181 - -0.937 ==   9.37e-01
...
── Failure ('test-subset.R:79:3'): Subset filearray ────────────────────────────
x[j, j, j, -i] not equal to a[j, j, j, -i[!is.na(i)]].
16/16 mismatches (average diff: 3.43e+219)
[1] -6.86e+219 -  0.109 == -6.86e+219
[2] -6.86e+219 -  0.109 == -6.86e+219
[3] -6.86e+219 -  0.109 == -6.86e+219
[4] -6.86e+219 -  0.109 == -6.86e+219
[5] -6.86e+219 -  0.109 == -6.86e+219
[6] -6.86e+219 -  0.109 == -6.86e+219
[7] -6.86e+219 -  0.109 == -6.86e+219
[8] -6.86e+219 -  0.109 == -6.86e+219
[9]  2.87e-181 - -0.937 ==   9.37e-01
...
── Failure ('test-subset.R:83:3'): Subset filearray ────────────────────────────
x[, , , -6] not equal to `a`.
80/80 mismatches (average diff: 6.99e+303)
[1] -6.86e+219 -  0.10883 == -6.86e+219
[2]  -1.70e-51 -  1.54085 ==  -1.54e+00
[3] -2.12e-207 -  0.22926 ==  -2.29e-01
[4] -1.61e+219 -  0.00365 == -1.61e+219
[5]  3.03e+262 - -0.54863 ==  3.03e+262
[6]   6.78e-14 -  0.46139 ==  -4.61e-01
[7]  4.01e+208 -  0.52305 ==  4.01e+208
[8] -1.37e-104 -  1.86894 ==  -1.87e+00
[9]  3.13e+296 - -0.65207 ==  3.13e+296
...

[ FAIL 81 | WARN 2 | SKIP 2 | PASS 736 ]
Error: Test failures
Execution halted

P. S. I am aware that fst claims to support only Little-endian, but it is misleading, in fact both fstcore and fst build and pass 100% tests on Big-endian.

dipterix commented 1 year ago

Hi @barracuda156 ,

Thanks for showing interest in lazyarray. This package has lots of unfixed bugs and will be off CRAN soon. I'm really sorry for this. Please consider it's alternative filearray (https://cran.r-project.org/package=filearray) for storing out-of-memory tensors.

Best

barracuda156 commented 1 year ago

@dipterix Thank you! I will add filearray to Macports then. (I am a maintainer of R ecosystem there.)