Running ‘testthat.R’ [18s/21s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(pizzarr)
  pizzarr: running without zarrs backend (pure R).
  For parallel I/O and cloud storage, install from r-universe:
    install.packages("pizzarr", repos = "https://zarr-developers.r-universe.dev")
  > 
  > test_check("pizzarr")
  zarrs backend not available; http_batch_range_requests stored but not applied.
  zarrs backend not available; http_batch_range_requests stored but not applied.
  Saving _problems/test-utils-9.R
  Saving _problems/test-v3-15.R
  Saving _problems/test-v3-20.R
  Saving _problems/test-v3-31.R
  Saving _problems/test-v3-36.R
  Saving _problems/test-v3-185.R
  Saving _problems/test-v3-202.R
  Saving _problems/test-v3-214.R
  Saving _problems/test-v3-226.R
  Saving _problems/test-v3-238.R
  Install pizzarr with the zarrs backend from r-universe:
  
    install.packages("pizzarr", repos = "https://zarr-developers.r-universe.dev")
  
  [ FAIL 10 | WARN 7 | SKIP 78 | PASS 1249 ]
  
  ══ Skipped tests (78) ══════════════════════════════════════════════════════════
  • zarrs backend not available (73): 'test-config.R:16:3', 'test-config.R:25:3',
    'test-config.R:57:3', 'test-config.R:66:3', 'test-onload.R:26:3',
    'test-zarrs-bridge.R:8:3', 'test-zarrs-bridge.R:24:3',
    'test-zarrs-create.R:11:3', 'test-zarrs-create.R:30:3',
    'test-zarrs-create.R:45:3', 'test-zarrs-create.R:63:3',
    'test-zarrs-create.R:81:3', 'test-zarrs-create.R:95:3',
    'test-zarrs-create.R:110:3', 'test-zarrs-create.R:132:3',
    'test-zarrs-create.R:156:3', 'test-zarrs-create.R:169:3',
    'test-zarrs-create.R:190:3', 'test-zarrs-create.R:203:3',
    'test-zarrs-create.R:215:3', 'test-zarrs-create.R:229:3',
    'test-zarrs-create.R:249:3', 'test-zarrs-create.R:267:3',
    'test-zarrs-create.R:280:3', 'test-zarrs-dispatch.R:43:3',
    'test-zarrs-dispatch.R:53:3', 'test-zarrs-dispatch.R:63:3',
    'test-zarrs-dispatch.R:106:3', 'test-zarrs-gcs.R:8:3',
    'test-zarrs-gcs.R:16:3', 'test-zarrs-gcs.R:39:3', 'test-zarrs-gcs.R:70:3',
    'test-zarrs-http.R:6:3', 'test-zarrs-http.R:12:3', 'test-zarrs-http.R:36:3',
    'test-zarrs-http.R:62:3', 'test-zarrs-metadata.R:2:3',
    'test-zarrs-metadata.R:20:3', 'test-zarrs-metadata.R:39:3',
    'test-zarrs-metadata.R:54:3', 'test-zarrs-metadata.R:65:3',
    'test-zarrs-metadata.R:77:3', 'test-zarrs-metadata.R:83:3',
    'test-zarrs-retrieve.R:4:3', 'test-zarrs-retrieve.R:18:3',
    'test-zarrs-retrieve.R:34:3', 'test-zarrs-retrieve.R:50:3',
    'test-zarrs-retrieve.R:64:3', 'test-zarrs-retrieve.R:78:3',
    'test-zarrs-retrieve.R:91:3', 'test-zarrs-retrieve.R:104:3',
    'test-zarrs-retrieve.R:126:3', 'test-zarrs-retrieve.R:158:3',
    'test-zarrs-retrieve.R:192:3', 'test-zarrs-retrieve.R:216:3',
    'test-zarrs-retrieve.R:231:3', 'test-zarrs-retrieve.R:247:3',
    'test-zarrs-s3.R:6:3', 'test-zarrs-s3.R:14:3', 'test-zarrs-s3.R:30:3',
    'test-zarrs-s3.R:58:3', 'test-zarrs-store-cache.R:17:3',
    'test-zarrs-store-cache.R:32:3', 'test-zarrs-store-cache.R:46:3',
    'test-zarrs-store-cache.R:63:3', 'test-zarrs-store-cache.R:76:3',
    'test-zarrs-write.R:4:3', 'test-zarrs-write.R:20:3',
    'test-zarrs-write.R:39:3', 'test-zarrs-write.R:62:3',
    'test-zarrs-write.R:82:3', 'test-zarrs-write.R:98:3',
    'test-zarrs-write.R:132:3'
  • {qs} is not installed (5): 'test-compat.R:7:5', 'test-compat.R:18:5',
    'test-compat.R:29:5', 'test-compression.R:4:5', 'test-compression.R:71:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-utils.R:9:3'): demo data ───────────────────────────────────────
  Error in `utils::unzip(zarr_zips[z], exdir = file.path(tdir, dirname(avail[z])))`: cannot open file '/tmp/check-CRAN-regular-hornik/data/R/pizzarr/pizzarr_sample/fixtures/v3/zarr_python_v3.zarr/int16_2d/c/1/0': No such file or directory
  Backtrace:
      ▆
   1. └─pizzarr::pizzarr_sample() at test-utils.R:9:3
   2.   └─utils::unzip(zarr_zips[z], exdir = file.path(tdir, dirname(avail[z])))
  ── Failure ('test-v3.R:15:3'): detect_zarr_version returns 3 for V3 store ──────
  Expected `detect_zarr_version(store)` to equal 3L.
  Differences:
    `actual`: NA
  `expected`:  3
  
  ── Failure ('test-v3.R:20:3'): contains_group detects V3 root group ────────────
  Expected `contains_group(store)` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Error ('test-v3.R:31:3'): V3 group can be opened with zarr_open_group ───────
  Error in `zarr_open_group(v3_root, mode = "r")`: GroupNotFoundError(path)
  Backtrace:
      ▆
   1. └─pizzarr::zarr_open_group(v3_root, mode = "r") at test-v3.R:31:3
  ── Error ('test-v3.R:36:3'): V3 group can be opened with zarr_open ─────────────
  Error in `zarr_open(v3_root, mode = "r")`: PathNotFoundError(path)
  Backtrace:
      ▆
   1. └─pizzarr::zarr_open(v3_root, mode = "r") at test-v3.R:36:3
  ── Error ('test-v3.R:185:3'): V3 3d contiguous int16 ───────────────────────────
  Error in `private$store$get_item(mkey)`: KeyError: 3d.contiguous.i2/.zarray
  Backtrace:
      ▆
   1. └─ZarrArray$new(store, path = "3d.contiguous.i2", read_only = TRUE) at test-v3.R:185:3
   2.   └─pizzarr (local) initialize(...)
   3.     └─private$load_metadata()
   4.       └─private$load_metadata_nosync()
   5.         └─private$store$get_item(mkey)
  ── Error ('test-v3.R:202:3'): V3 3d chunked int16 ──────────────────────────────
  Error in `private$store$get_item(mkey)`: KeyError: 3d.chunked.i2/.zarray
  Backtrace:
      ▆
   1. └─ZarrArray$new(store, path = "3d.chunked.i2", read_only = TRUE) at test-v3.R:202:3
   2.   └─pizzarr (local) initialize(...)
   3.     └─private$load_metadata()
   4.       └─private$load_metadata_nosync()
   5.         └─private$store$get_item(mkey)
  ── Error ('test-v3.R:214:3'): V3 3d chunked mixed C-order int16 ────────────────
  Error in `private$store$get_item(mkey)`: KeyError: 3d.chunked.mixed.i2.C/.zarray
  Backtrace:
      ▆
   1. └─ZarrArray$new(store, path = "3d.chunked.mixed.i2.C", read_only = TRUE) at test-v3.R:214:3
   2.   └─pizzarr (local) initialize(...)
   3.     └─private$load_metadata()
   4.       └─private$load_metadata_nosync()
   5.         └─private$store$get_item(mkey)
  ── Error ('test-v3.R:226:3'): V3 3d chunked mixed F-order int16 ────────────────
  Error in `private$store$get_item(mkey)`: KeyError: 3d.chunked.mixed.i2.F/.zarray
  Backtrace:
      ▆
   1. └─ZarrArray$new(store, path = "3d.chunked.mixed.i2.F", read_only = TRUE) at test-v3.R:226:3
   2.   └─pizzarr (local) initialize(...)
   3.     └─private$load_metadata()
   4.       └─private$load_metadata_nosync()
   5.         └─private$store$get_item(mkey)
  ── Error ('test-v3.R:238:3'): zarr_open auto-detects V3 group and can read child array ──
  Error in `zarr_open(v3_root, mode = "r")`: PathNotFoundError(path)
  Backtrace:
      ▆
   1. └─pizzarr::zarr_open(v3_root, mode = "r") at test-v3.R:238:3
  
  [ FAIL 10 | WARN 7 | SKIP 78 | PASS 1249 ]
  Error:
  ! Test failures.
  Execution halted