test_that("get_store_identifier returns path for DirectoryStore", { d <- tempfile("zarrs_id_") dir.create(d) ds <- DirectoryStore$new(d) id <- ds$get_store_identifier() expect_type(id, "character") expect_equal(normalizePath(d, mustWork = FALSE), id) unlink(d, recursive = TRUE) }) test_that("get_store_identifier returns NULL for MemoryStore", { ms <- MemoryStore$new() expect_null(ms$get_store_identifier()) }) test_that("zarrs_node_exists detects V2 array at root", { skip_if(!.pizzarr_env$zarrs_available, "zarrs backend not available") d <- tempfile("zarrs_v2_arr_") z <- zarr_create(store = d, shape = 4L, dtype = "